Code Injection in nginx-ui - #VU142594

 

Code Injection in nginx-ui - #VU142594

Published: August 14, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to improper control of code generation in the backup restore and nginx command execution functionality when restoring a forged encrypted backup and triggering nginx configuration testing. A remote attacker can upload a crafted backup that overwrites app.ini and then invoke the nginx test endpoint to execute arbitrary code.

The issue arises because the restore endpoint accepts attacker-supplied backup key material and restores protected application configuration that is normally not writable through the settings API.


Affected software

nginx-ui

Remediation

Install security update from vendor's website.

nginx-ui - update to 2.5.0

External References

Related Security Bulletins