Live threats

All CVEs / Nginxui

CVE-2024-22198Nginxui Nginx Ui

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
4.7%
probability of exploitation in 30 days · percentile 93
Auth required
Yes
Published
Jan 11, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-77
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

Nginx-UI is a web interface to manage Nginx configurations. It is vulnerable to arbitrary command execution by abusing the configuration settings. The `Home > Preference` page exposes a list of system settings such as `Run Mode`, `Jwt Secret`, `Node Secret` and `Terminal Start Command`. While the UI doesn't allow users to modify the `Terminal Start Command` setting, it is possible to do so by sending a request to the API. This issue may lead to authenticated remote code execution, privilege escalation, and information disclosure. This vulnerability has been patched in version 2.0.0.beta.9.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nginx Ui.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/0xJacky/Nginx-UI < 1.9.10-0.20231219184941-827e76c46e63 1.9.10-0.20231219184941-827e76c46e63 go get github.com/0xJacky/Nginx-UI@v1.9.10-0.20231219184941-827e76c46e63
Go github.com/0xJacky/Nginx-UI < 1.9.10-0.20231219184941-827e76c46e63 1.9.10-0.20231219184941-827e76c46e63 go get github.com/0xJacky/Nginx-UI@v1.9.10-0.20231219184941-827e76c46e63

Per OSV / GitHub Advisories (GHSA-8r25-68wm-jw35, GO-2024-2462). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nginxuinginx_ui< 2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0
nginxuinginx_ui2.0.0

Official sources

References

Links published by the sources. Open them with care.