Improper access control in nginx-ui - #VU142600
Published: August 14, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary OS commands.
The vulnerability exists due to improper access control in the POST /api/restore endpoint and backup restore flow when restoring a crafted backup file. A remote privileged user can upload a crafted backup that overwrites app.ini and then trigger nginx control functionality to execute arbitrary OS commands.
The issue bypasses protected settings controls by writing configuration directly to disk, and the restored application configuration is loaded after an automatic restart.