Code Injection in nginx-ui - #VU142594
Published: August 14, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to improper control of code generation in the backup restore and nginx command execution functionality when restoring a forged encrypted backup and triggering nginx configuration testing. A remote attacker can upload a crafted backup that overwrites app.ini and then invoke the nginx test endpoint to execute arbitrary code.
The issue arises because the restore endpoint accepts attacker-supplied backup key material and restores protected application configuration that is normally not writable through the settings API.