{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-22198","published":"2024-01-11T20:15:45.120000Z","last_modified":"2026-06-17T07:10:55.317000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-77"],"cpes":[{"criteria":"cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:*","part":"a","vendor":"nginxui","product":"nginx_ui","version_end_excluding":"2.0.0"},{"criteria":"cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta1:*:*:*:*:*:*","part":"a","vendor":"nginxui","product":"nginx_ui","version":"2.0.0"},{"criteria":"cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta2:*:*:*:*:*:*","part":"a","vendor":"nginxui","product":"nginx_ui","version":"2.0.0"},{"criteria":"cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta3:*:*:*:*:*:*","part":"a","vendor":"nginxui","product":"nginx_ui","version":"2.0.0"},{"criteria":"cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta4:*:*:*:*:*:*","part":"a","vendor":"nginxui","product":"nginx_ui","version":"2.0.0"},{"criteria":"cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta4_patch:*:*:*:*:*:*","part":"a","vendor":"nginxui","product":"nginx_ui","version":"2.0.0"},{"criteria":"cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta5:*:*:*:*:*:*","part":"a","vendor":"nginxui","product":"nginx_ui","version":"2.0.0"},{"criteria":"cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta5_patch:*:*:*:*:*:*","part":"a","vendor":"nginxui","product":"nginx_ui","version":"2.0.0"},{"criteria":"cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6:*:*:*:*:*:*","part":"a","vendor":"nginxui","product":"nginx_ui","version":"2.0.0"},{"criteria":"cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6_patch:*:*:*:*:*:*","part":"a","vendor":"nginxui","product":"nginx_ui","version":"2.0.0"},{"criteria":"cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta6_patch2:*:*:*:*:*:*","part":"a","vendor":"nginxui","product":"nginx_ui","version":"2.0.0"},{"criteria":"cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta7:*:*:*:*:*:*","part":"a","vendor":"nginxui","product":"nginx_ui","version":"2.0.0"},{"criteria":"cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta8:*:*:*:*:*:*","part":"a","vendor":"nginxui","product":"nginx_ui","version":"2.0.0"},{"criteria":"cpe:2.3:a:nginxui:nginx_ui:2.0.0:beta8_patch:*:*:*:*:*:*","part":"a","vendor":"nginxui","product":"nginx_ui","version":"2.0.0"}],"cpes_truncated":false,"vendors":["nginxui"],"products":["nginxui/nginx_ui"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"epss":{"score":0.0469,"percentile":0.92572,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8r25-68wm-jw35","ecosystem":"Go","name":"github.com/0xJacky/Nginx-UI","purl":"pkg:golang/github.com/0xJacky/Nginx-UI","ranges":[{"introduced":"0","fixed":"1.9.10-0.20231219184941-827e76c46e63"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2024-2462","ecosystem":"Go","name":"github.com/0xJacky/Nginx-UI","purl":"pkg:golang/github.com/0xJacky/Nginx-UI","ranges":[{"introduced":"0","fixed":"1.9.10-0.20231219184941-827e76c46e63"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2024-22198/","html_en":"/en/cve/CVE-2024-22198/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-22198","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-22198"},"untrusted":{"vendor_name":"Nginxui","product_name":"Nginx Ui","desc_en":"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.","affected":[{"untrusted_vendor":"0xJacky","untrusted_product":"nginx-ui","versions":[]},{"untrusted_vendor":"nginxui","untrusted_product":"nginx_ui","versions":[]}],"references":[{"url":"https://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/api/system/settings.go#L18","tags":["Product"]},{"url":"https://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/api/terminal/pty.go#L11","tags":["Product"]},{"url":"https://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/internal/pty/pipeline.go#L29","tags":["Product"]},{"url":"https://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/router/middleware.go#L45","tags":["Product"]},{"url":"https://github.com/0xJacky/nginx-ui/blob/04bf8ec487f06ab17a9fb7f34a28766e5f53885e/settings/server.go#L12","tags":["Product"]},{"url":"https://github.com/0xJacky/nginx-ui/commit/827e76c46e63c52114a62a899f61313039c754e3","tags":["Patch"]},{"url":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-8r25-68wm-jw35","tags":["Exploit","Vendor Advisory"]}]}}