#VU127231 Command injection in nginx-ui - CVE-2024-49368
Published: October 21, 2024 / Updated: April 23, 2026
nginx-ui
Nginx UI
Description
The vulnerability allows a remote user to execute arbitrary commands.
The vulnerability exists due to command injection in logrotate configuration handling in api/settings/settings.go and internal/logrotate/logrotate.go when processing user-supplied settings. A remote user can send a specially crafted settings update request to execute arbitrary commands.
The issue can be triggered through the /api/settings endpoint by controlling the logrotate.cmd value.