Improper access control in nginx-ui - #VU142586
Published: August 14, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to improper access control in the AuthRequired() middleware when handling requests with a valid X-Node-Secret header or node_secret query parameter. A remote attacker can send a specially crafted request carrying the node secret to execute arbitrary code.
Requests authenticated in this way are processed as the initial administrator account, and the issue can be used to create an admin user and access the built-in web terminal.