Home / 0xJacky / nginx-ui / CVE-2024-22198
CVE-2024-22198: is it exploited, and which versions of 0xJacky nginx-ui are affected and fixed?
CVE-2024-22198 is a command injection vulnerability in 0xJacky nginx-ui. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: github.com/0xJacky/Nginx-UI before 1.9.10-0.20231219184941-827e76c46e63 (GitHub advisory GHSA-8r25-68wm-jw35). Fixed in 1.9.10-0.20231219184941-827e76c46e63 (GitHub advisory GHSA-8r25-68wm-jw35). Severity: High (7.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:33 UTC.
What is CVE-2024-22198?
Authenticated (user role) arbitrary command execution by modifying `start_cmd` setting (GHSL-2023-268)
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.
From the CVE record by GitHub_M, last updated August 1, 2024, 22:35 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| 0xJacky | nginx-ui | < 2.0.0.beta.9 |
As the CVE record by GitHub_M states it, last updated August 1, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/0xJacky/Nginx-UI | < 1.9.10-0.20231219184941-827e76c46e63 | 1.9.10-0.20231219184941-827e76c46e63 | GHSA-8r25-68wm-jw35 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 6, 2026. Summary: Authenticated (user role) arbitrary command execution by modifying `start_cmd` setting (GHSL-2023-268).
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| nginxui | nginx ui | before 2.0.0 | application |
| nginxui | nginx ui | 2.0.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 07:10 UTC.
How severe is CVE-2024-22198?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-22198 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, August 1, 2024)
- EPSS
- 4.06% probability of exploitation activity in the next 30 days, percentile 90.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-77 Improper Neutralization of Special Elements used in a Command
Where are the vendor advisories and references?
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-8r25-68wm-jw35 x_refsource_CONFIRM
- https://github.com/0xJacky/nginx-ui/commit/827e76c46e63c52114a62a899f61313039c754e3 x_refsource_MISC
- https://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/api/system/settings.go#L18 x_refsource_MISC
- https://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/api/terminal/pty.go#L11 x_refsource_MISC
- https://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/internal/pty/pipeline.go#L29 x_refsource_MISC
- https://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/router/middleware.go#L45 x_refsource_MISC
- https://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/settings/server.go#L12 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 8, 2024
- Published
- January 11, 2024, 19:38 UTC
- CVE record updated
- August 1, 2024, 22:35 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 07:10 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:33 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect nginx-ui?
- Oct 12, 2026CVE-2026-84312 0xJacky nginx-ui: authentication bypass (improper authentication)
- Oct 12, 2026CVE-2026-84360 0xJacky nginx-ui: authentication bypass through another path
- Oct 12, 2026CVE-2026-84316 0xJacky nginx-ui: improper input validation
- Oct 12, 2026CVE-2026-84319 0xJacky nginx-ui: protection mechanism failure
- Oct 12, 2026CVE-2026-84317 0xJacky nginx-ui: improper input validation
- Oct 12, 2026CVE-2026-84313 0xJacky nginx-ui: authentication bypass (improper authentication)
- Oct 12, 2026CVE-2026-84321 0xJacky nginx-ui: session does not expire
- Oct 12, 2026CVE-2026-84314 0xJacky nginx-ui: improper authorization
Questions about CVE-2024-22198
Is CVE-2024-22198 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 4.06% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of 0xJacky nginx-ui are affected by CVE-2024-22198?
github.com/0xJacky/Nginx-UI before 1.9.10-0.20231219184941-827e76c46e63, per the GitHub advisory GHSA-8r25-68wm-jw35. The tables above give every range the sources list.
Which version fixes CVE-2024-22198?
1.9.10-0.20231219184941-827e76c46e63, per the GitHub advisory GHSA-8r25-68wm-jw35. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-22198?
High (7.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-22198?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.