CVE-2026-107806 Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite

Critical 9.4 Published Updated

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.

PackageAffectedFixed in
github.com/0xJacky/Nginx-UI GoFrom 1.9.10-0.20260421071512-7864e378f5cf1.9.10-0.20260728074146-a467ed652591
github.com/0xJacky/Nginx-UI GoFrom 1.9.10-0.20260421071512-7864e378f5cf1.9.10-0.20260728074146-a467ed652591
github.com/0xJacky/Nginx-UI GoFrom 1.9.10-0.20260421071512-7864e378f5cf1.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.

Sources

Also known as GHSA-p393-cf76-4jmr, GO-2026-6741.

Is CVE-2026-107806 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free