#VU127229 Path traversal in nginx-ui - CVE-2024-49366
Published: October 21, 2024 / Updated: April 23, 2026
nginx-ui
Nginx UI
Description
The vulnerability allows a remote user to write arbitrary files.
The vulnerability exists due to path traversal in internal/nginx/config_args.go GetConfPath() when handling user-supplied json.name values in site and stream management requests. A remote user can send a specially crafted request to write arbitrary files.
The issue can also be exploited through duplicate and copy operations, and nginx configuration content is controllable because the application does not check the nginx configuration file by default.