{"id":"CVE-2026-107806","state":"PUBLISHED","title":"Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite","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.","publishedAt":"2026-10-09T15:00:55.470Z","updatedAt":"2026-10-14T01:52:48.127Z","severity":{"score":9.4,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["0xJacky nginx-ui"],"affected":[{"vendor":"0xJacky","product":"nginx-ui","versions":[{"version":">= 2.3.8, < 2.5.0","status":"affected"}]}],"references":["https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-p393-cf76-4jmr","https://github.com/0xJacky/nginx-ui/commit/a467ed652591fc0cd1b466a1ec751b493faef9f7","https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.0"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/107xxx/CVE-2026-107806.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-107806","state":"PUBLISHED","datePublished":"2026-10-09T15:00:55.470Z","dateUpdated":"2026-10-14T01:52:48.127Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-08T21:23:59.820Z"},"containers":{"cna":{"title":"Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"0xJacky","product":"nginx-ui","versions":[{"version":">= 2.3.8, < 2.5.0","status":"affected"}]}],"references":[{"url":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-p393-cf76-4jmr","name":"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","name":"https://github.com/0xJacky/nginx-ui/commit/a467ed652591fc0cd1b466a1ec751b493faef9f7","tags":["x_refsource_MISC"]},{"url":"https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.0","name":"https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":9.4,"baseSeverity":"CRITICAL","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-09T15:00:55.470Z"},"source":{"advisory":"GHSA-p393-cf76-4jmr","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-p393-cf76-4jmr","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-14T01:52:14.582466Z","id":"CVE-2026-107806","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-14T01:52:48.127Z"}}]}}}