OS Command Injection in nginx-ui - #VU142596

 

OS Command Injection in nginx-ui - #VU142596

Published: August 14, 2026


Vulnerability identifier: #VU142596
CSH Severity: Low
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper neutralization of special elements used in an OS command in the /api/restore restore flow and nginx reload command handling when restoring a crafted backup and triggering a reload. A remote privileged user can overwrite the app.ini configuration with an attacker-controlled ReloadCmd and trigger /api/nginx/reload to execute arbitrary code.

The issue is reachable because the secure-session check early-returns for users without TOTP enrolled, and exploitation can persist across container restart.


Affected software

nginx-ui

Remediation

Install security update from vendor's website.

nginx-ui - update to 2.5.0

External References

Related Security Bulletins