NetSight
critical9.0

CVE-2026-107806

Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite

Impact

Nginx UI is a web user interface for the Nginx web server. From 2.3.8 until 2.5.0, an authenticated administrator with an active secure session can submit attacker-controlled portable backup key material and a matching manifest to POST /api/restore. The restore flow trusts the supplied key, decrypts attacker-controlled contents, and replaces the live app.ini, including protected nginx command settings such as TestConfigCmd. Triggering POST /api/nginx/test then executes the restored command in the Nginx UI runtime context, affecting confidentiality, integrity, and availability. This issue is fixed in version 2.5.0.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/0xJacky/Nginx-UI>= 1.9.10-0.20260421071512-7864e378f5cf, < 1.9.10-0.20260728074146-a467ed6525911.9.10-0.20260728074146-a467ed652591

Affected products

VendorProductAffected versions
NginxuiNginx Ui
from 2.3.8 before 2.5.0

Weakness classification

References