Improper privilege management in nginx-ui - #VU157121

 

Improper privilege management in nginx-ui - #VU157121

Published: October 22, 2026


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

Vulnerability details

The vulnerability allows a remote user to escalate privileges from a write-scoped service token to a persistent interactive administrator and gain complete control over the Nginx UI instance.

The vulnerability exists due to improper privilege management in the POST /api/restore endpoint when authorizing restore requests made with service tokens: the interactive-user denylist omits the endpoint, and write scope satisfies its secure-session check. A remote user can upload a crafted portable backup containing an enabled administrator account with a known password hash in database.db to replace the live user database and sign in as that administrator after the service restarts.


Affected software

nginx-ui

Remediation

Install security update from vendor's website.

nginx-ui - update to 2.9.0

External References

Related Security Bulletins