Input validation error in nginx-ui - #VU157111

 

Input validation error in nginx-ui - #VU157111

Published: October 22, 2026


Vulnerability identifier: #VU157111
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-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to create or overwrite files within the Nginx configuration tree, disrupt served sites, and potentially execute arbitrary code in Nginx workers.

The vulnerability exists due to improper input validation in the nginx-ui certificate synchronization endpoint when handling certificate synchronization requests. A remote user can send a crafted PUT /api/cert_sync request specifying file paths within the Nginx configuration tree and arbitrary certificate or key content to overwrite configuration files or private keys and trigger an unconditional reload without content validation or an nginx -t syntax check, potentially disrupting services or executing arbitrary code.

Code execution requires an Nginx image that includes the perl, njs, or lua module.


Affected software

nginx-ui

Remediation

Install security update from vendor's website.

nginx-ui - update to 2.9.0

External References

Related Security Bulletins