CVE-2026-107806 Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite
An authenticated administrator can achieve remote code execution by uploading a malicious backup that overwrites application configuration files.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-107806?
CVE-2026-107806 is a critical code injection vulnerability in 0xJacky nginx-ui, published on 9 Oct 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
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.
Weakness: CWE-94
Which versions are affected by CVE-2026-107806?
3 open source packages ship an affected version, including github.com/0xJacky/Nginx-UI. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/0xJacky/Nginx-UI Go | From 1.9.10-0.20260421071512-7864e378f5cf | 1.9.10-0.20260728074146-a467ed652591 |
github.com/0xJacky/Nginx-UI Go | From 1.9.10-0.20260421071512-7864e378f5cf | 1.9.10-0.20260728074146-a467ed652591 |
github.com/0xJacky/Nginx-UI Go | From 1.9.10-0.20260421071512-7864e378f5cf | 1.9.10-0.20260728074146-a467ed652591 |
Products include Nginxui Nginx Ui.
How do I fix CVE-2026-107806?
Upgrade github.com/0xJacky/Nginx-UI to 1.9.10-0.20260728074146-a467ed652591 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-107806 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-107806 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in 0xJacky nginx-ui
- CVE-2026-33032 Nginx UI: Unauthenticated MCP Endpoint Allows Remote Nginx Takeover
- CVE-2026-27944 Nginx UI: Unauthenticated Backup Download with Encryption Key Disclosure
- CVE-2024-23827 Nginx-UI arbitrary file write through the Import Certificate feature
- CVE-2026-33026 nginx-ui Backup Restore Allows Tampering with Encrypted Backups
- CVE-2026-42238 Unauthenticated Remote Code Execution via Backup Restore in nginx-ui
Sources
Also known as GHSA-p393-cf76-4jmr, GO-2026-6741.