Input validation error in nginx-ui - #VU157108
Published: October 22, 2026
Vulnerability details
The vulnerability allows a remote user to bypass configuration directive restrictions and potentially execute arbitrary code.
The vulnerability exists due to improper input validation in internal/config/validation.go when processing configuration editor API requests for files with data extensions. A remote user can write blocked directives into evil.pem through /api/configs and reference that file from a .conf file using include evil.pem; to bypass directive validation and potentially execute arbitrary code when nginx loads the configuration.