CVE-2024-22197
CVE-2024-22197 is a high-severity vulnerability in Nginxui Nginx Ui with a CVSS 3.x base score of 7.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-77.
Key facts
- Severity: High (CVSS 3.x base score 7.7)
- EPSS exploit prediction: 2% (72nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-0396
- Weakness: CWE-77
- Affected product: Nginxui Nginx Ui
- Published:
- Last modified:
Description
Nginx-ui is online statistics for Server Indicators Monitor CPU usage, memory usage, load average, and disk usage in real-time. The `Home > Preference` page exposes a small list of nginx settings such as `Nginx Access Log Path` and `Nginx Error Log Path`. However, the API also exposes `test_config_cmd`, `reload_cmd` and `restart_cmd`. While the UI doesn't allow users to modify any of these settings, 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 issue has been patched in version 2.0.0.beta.9.
Frequently asked questions
- What is CVE-2024-22197?
- Nginx-ui is online statistics for Server Indicators Monitor CPU usage, memory usage, load average, and disk usage in real-time. The `Home > Preference` page exposes a small list of nginx settings such as `Nginx Access Log Path` and `Nginx Error Log Path`. However, the API also exposes `test_config_cmd`, `reload_cmd` and `restart_cmd`. While the UI doesn't allow users to modify any of these settings, 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 issue has been patched in version 2.0.0.beta.9.
- How severe is CVE-2024-22197?
- CVE-2024-22197 has a CVSS 3.x base score of 7.7, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability low.
- Is CVE-2024-22197 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (72nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-22197?
- CVE-2024-22197 primarily affects Nginxui Nginx Ui. In total, 14 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-22197?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-22197 have an EU (EUVD) identifier?
- Yes. CVE-2024-22197 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0396.
- When was CVE-2024-22197 published?
- CVE-2024-22197 was published on 2024-01-11 and last updated on 2026-06-17.
References
- https://github.com/0xJacky/nginx-ui/commit/827e76c46e63c52114a62a899f61313039c754e3
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-pxmr-q2x3-9x9m
Affected products (14)
- cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta1:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta2:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta3:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta4:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta4_patch:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta5:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta5_patch:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6_patch:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6_patch2:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta7:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta8:*:*:*:*:*:*
- cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta8_patch:*:*:*:*:*:*
More vulnerabilities in Nginxui Nginx Ui
- CVE-2026-42238 — Critical (CVSS 9.8): Nginx UI is a web user interface for the Nginx web server. Prior to version 2.3.8, nginx-ui exposes a backup restore…
- CVE-2026-33032 — Critical (CVSS 9.8): Nginx UI is a web user interface for the Nginx web server. In versions 2.3.5 and prior, the nginx-ui MCP (Model Context…
- CVE-2026-27944 — Critical (CVSS 9.8): Nginx UI is a web user interface for the Nginx web server. Prior to version 2.3.3, the /api/backup endpoint is…
- CVE-2024-49368 — Critical (CVSS 9.8): Nginx UI is a web user interface for the Nginx web server. Prior to version 2.0.0-beta.36, when Nginx UI configures…
- CVE-2024-23827 — Critical (CVSS 9.8): Nginx-UI is a web interface to manage Nginx configurations. The Import Certificate feature allows arbitrary write into…
- CVE-2026-33026 — Critical (CVSS 9.1): Nginx UI is a web user interface for the Nginx web server. Prior to version 2.3.4, the nginx-ui backup restore…
All CVEs affecting Nginxui Nginx Ui →
Other CWE-77 (Command Injection) vulnerabilities
- CVE-2026-23652 — Critical (CVSS 10.0): Improper neutralization of special elements used in a command ('command injection') in Microsoft Power Pages allows an…
- CVE-2025-59818 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute arbitrary commands on the underlying system using the file…
- CVE-2025-64093 — Critical (CVSS 10.0): Remote Code Execution vulnerability that allows unauthenticated attackers to inject arbitrary commands into the…
- CVE-2025-64090 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute commands via the hostname of the device.
- CVE-2025-61492 — Critical (CVSS 10.0): A command injection vulnerability in the execute_command function of terminal-controller-mcp 0.1.7 allows attackers to…
- CVE-2025-10035 — Critical (CVSS 10.0): A deserialization vulnerability in the License Servlet of Fortra's GoAnywhere MFT allows an actor with a validly forged…