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

- Severity: Critical 9.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-09T15:00:55.470Z
- Modified: 2026-10-20T20:44:42.417Z
- Also known as: GHSA-p393-cf76-4jmr, GO-2026-6741
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- 0xJacky nginx-ui: >= 2.3.8, < 2.5.0
- github.com/0xJacky/Nginx-UI (Go): from 1.9.10-0.20260421071512-7864e378f5cf before 1.9.10-0.20260728074146-a467ed652591
- nginxui nginx_ui: from 2.3.8 before 2.5.0

## Every score

- GitHub_M: CVSS:4.0 9.4 Critical `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`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-p393-cf76-4jmr> (exploit, advisory, vendor-advisory, web)
- <https://github.com/0xJacky/nginx-ui/commit/a467ed652591fc0cd1b466a1ec751b493faef9f7> (patch, web)
- <https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-107806> (advisory)
- <https://github.com/0xJacky/nginx-ui> (package)

## Sources

- CVE List: [CVE-2026-107806](https://www.cve.org/CVERecord?id=CVE-2026-107806), CVE Terms of Use, modified 2026-10-14
- GitHub Advisory Database: [GHSA-p393-cf76-4jmr](https://github.com/advisories/GHSA-p393-cf76-4jmr), CC-BY-4.0, modified 2026-10-19
- Go Vulnerability Database: [GO-2026-6741](https://pkg.go.dev/vuln/GO-2026-6741), CC-BY-4.0, modified 2026-10-19
- NVD: [CVE-2026-107806](https://nvd.nist.gov/vuln/detail/CVE-2026-107806), Public domain, modified 2026-10-20

---

Page: https://cve.day/CVE-2026-107806 · Whole record: https://cve.day/CVE-2026-107806.json · Rebuilt by cve.day 2026-11-25T22:59:43.321Z
