Live threats

All CVEs / Nginxui

CVE-2026-107806Nginxui Nginx Ui

Remote Code Execution in Nginx UI via Malicious Configuration Restore

Critical 9.4

Priority
56
CVSS 4.0
9.4
EPSS
—
Auth required
Yes
Published
Oct 9, 2026
Updated
Oct 20, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Nginx UI versions 2.3.8 through 2.4.x allows an authenticated administrator to restore malicious configurations via POST /api/restore. The system trusts the supplied decryption key and executes arbitrary commands when testing the configuration, compromising confidentiality, integrity, and availability of the server.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 2.5.0

Update Nginx UI to version 2.5.0 or later. Restrict administrative access to trusted users only.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for Nginx Ui.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/0xJacky/Nginx-UI ≥ 1.9.10-0.20260421071512-7864e378f5cf < 1.9.10-0.20260728074146-a467ed652591 1.9.10-0.20260728074146-a467ed652591 go get github.com/0xJacky/Nginx-UI@v1.9.10-0.20260728074146-a467ed652591
Go github.com/0xJacky/Nginx-UI ≥ 1.9.10-0.20260421071512-7864e378f5cf < 1.9.10-0.20260728074146-a467ed652591 1.9.10-0.20260728074146-a467ed652591 go get github.com/0xJacky/Nginx-UI@v1.9.10-0.20260728074146-a467ed652591

Per OSV / GitHub Advisories (GHSA-p393-cf76-4jmr, GO-2026-6741). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nginxuinginx_ui≥ 2.3.8 < 2.5.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.