{"id":"CVE-2026-107806","published":"2026-10-09T15:00:55Z","modified":"2026-10-14T01:52:48Z","title":"Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite","vendor":"0xJacky","product":"nginx-ui","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00692,"percentile":0.48216,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-p393-cf76-4jmr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/0xJacky/nginx-ui/commit/a467ed652591fc0cd1b466a1ec751b493faef9f7","tags":["x_refsource_MISC"]},{"url":"https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.0","tags":["x_refsource_MISC"]}],"priority":{"score":21.2,"factors":[{"name":"EPSS percentile","points":9.64},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.58}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-10-10","earliestUrl":"https://github.com/murrez/CVE-2026-107806","repos":[{"name":"murrez/CVE-2026-107806","url":"https://github.com/murrez/CVE-2026-107806","stars":7,"created":"2026-10-10"}]},"first":{"date":"2026-10-10","source":"PoC-in-GitHub","url":"https://github.com/murrez/CVE-2026-107806"},"provenance":"source"},"vendorSlug":"0xjacky","affectedVersions":[{"vendor":"0xJacky","product":"nginx-ui","versions":[">= 2.3.8, < 2.5.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-14T01:52:14.582466Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/0xJacky/Nginx-UI","vulnerableRanges":[">=1.9.10-0.20260421071512-7864e378f5cf, <1.9.10-0.20260728074146-a467ed652591"],"patched":["1.9.10-0.20260728074146-a467ed652591"],"from":["GHSA-p393-cf76-4jmr","GO-2026-6741"],"provenance":"source"}],"summary":{"text":"Nginx UI, the web user interface for the Nginx web server, contains a code injection flaw in its backup restore flow, affecting versions from 2.3.8 through 2.5.0. An attacker holding an authenticated administrator session with an active secure session can submit crafted backup key material and a matching manifest to the restore endpoint, overwriting the live app.ini (including protected settings such as TestConfigCmd) and then triggering the nginx configuration test to run the injected command in the Nginx UI runtime context.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:00:22Z"},"euvd":{"id":"EUVD-2026-95822","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-0xjacky-nginx-ui-cve-2026-27944","parents":[{"from":"CVE-2026-33026","to":"CVE-2026-107806","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/backup/manifest.go","internal/backup/restore.go"],"commits":["https://github.com/0xJacky/nginx-ui/commit/a467ed652591fc0cd1b466a1ec751b493faef9f7","https://github.com/0xJacky/nginx-ui/commit/f61bcec547c0f305e35348d6440ef156c1d5c3cb"],"basis":"shared function","functions":["Restore"]}]}],"packageHistory":[{"cve":"CVE-2026-84321","published":"2026-10-12","fixed":"1.9.10-0.20260703131214-23d1934099b0","kev":false},{"cve":"CVE-2026-84360","published":"2026-10-12","fixed":"1.9.10-0.20260703131214-23d1934099b0","kev":false},{"cve":"CVE-2026-84320","published":"2026-10-12","fixed":"1.9.10-0.20260715121709-f92218e01054","kev":false,"link":{"from":"CVE-2026-84320","to":"CVE-2026-107806","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/0xJacky/Nginx-UI","fromFixed":"1.9.10-0.20260715121709-f92218e01054","toFixed":"1.9.10-0.20260728074146-a467ed652591","daysApart":-3}]}},{"cve":"CVE-2026-107806","published":"2026-10-09","fixed":"1.9.10-0.20260728074146-a467ed652591","kev":false},{"cve":"CVE-2026-107810","published":"2026-10-09","fixed":"1.9.10-0.20260728074146-a467ed652591","kev":false},{"cve":"CVE-2026-107807","published":"2026-10-09","fixed":"1.9.10-0.20260728074433-a3999bd78a3b","kev":false,"link":{"from":"CVE-2026-107806","to":"CVE-2026-107807","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/0xJacky/Nginx-UI","fromFixed":"1.9.10-0.20260728074146-a467ed652591","toFixed":"1.9.10-0.20260728074433-a3999bd78a3b","daysApart":0}]}},{"cve":"CVE-2026-107809","published":"2026-10-09","fixed":"1.9.10-0.20260728074433-a3999bd78a3b","kev":false,"link":{"from":"CVE-2026-107806","to":"CVE-2026-107809","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/0xJacky/Nginx-UI","fromFixed":"1.9.10-0.20260728074146-a467ed652591","toFixed":"1.9.10-0.20260728074433-a3999bd78a3b","daysApart":0}]}},{"cve":"CVE-2026-107813","published":"2026-10-09","fixed":"1.9.10-0.20260728074433-a3999bd78a3b","kev":false,"link":{"from":"CVE-2026-107806","to":"CVE-2026-107813","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/0xJacky/Nginx-UI","fromFixed":"1.9.10-0.20260728074146-a467ed652591","toFixed":"1.9.10-0.20260728074433-a3999bd78a3b","daysApart":0}]}}],"package":"Go:github.com/0xJacky/Nginx-UI"}}