Input validation error in nginx-ui - #VU138335
Published: July 17, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper input validation in config.ValidateConfigFile when processing nginx configuration content. A remote user can place a benign directive before a semicolon-separated restricted directive on the same line to execute arbitrary code.
Exploitation requires authentication such as a node secret or user JWT. On deployments without the required modules, the issue can cause a failed reload instead of code execution.