{"answers":{"affected":"3 open source packages ship an affected version, including github.com/0xJacky/Nginx-UI. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-107806 exists.","fix":"Upgrade github.com/0xJacky/Nginx-UI to 1.9.10-0.20260728074146-a467ed652591 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-107806 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-107806 exists.\n\nAffected packages and fixed versions:\n- github.com/0xJacky/Nginx-UI (Go): affected from 1.9.10-0.20260421071512-7864e378f5cf; fixed in 1.9.10-0.20260728074146-a467ed652591\n- github.com/0xJacky/Nginx-UI (Go): affected from 1.9.10-0.20260421071512-7864e378f5cf; fixed in 1.9.10-0.20260728074146-a467ed652591\n- github.com/0xJacky/Nginx-UI (Go): affected from 1.9.10-0.20260421071512-7864e378f5cf; fixed in 1.9.10-0.20260728074146-a467ed652591\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-107806/ (Markdown: https://insights.sbomify.com/CVE-2026-107806/index.md)","id":"CVE-2026-107806","markdown":"https://insights.sbomify.com/CVE-2026-107806/index.md","name":"CVE-2026-107806","record":{"aliases":["GHSA-p393-cf76-4jmr","GO-2026-6741"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Nginx web UI","requires_auth":"high_privilege","summary":"An authenticated administrator can achieve remote code execution by uploading a malicious backup that overwrites application configuration files.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nginx_ui","vendor":"nginxui"}],"cvss":{"score":9.4,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2026-10-10","github_poc":1,"max_poc_stars":7,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-10T08:17:07Z","kind":"github_poc","ref":"https://github.com/murrez/CVE-2026-107806","stars":7,"title":"CVE-2026-107806 — nginx-ui 2.3.8–2.4.x auth RCE via forged backup restore (TestConfigCmd). PoCbit PoC: GET /api/backup, tamper app.ini, POST /api/restore, POST /api/nginx/test. check/exploit, batch url|JWT. Fixed 2.5.0. https://pocbit.org/pocs/cve-2026-107806"}],"tier":"weaponised"},"has_fix":true,"headline":"Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite","id":"CVE-2026-107806","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Nginx UI: Node Secret Credential Exposure via URL Query Parameter","id":"CVE-2026-107807"},"packages":[{"ecosystem":"Go","fixed":["1.9.10-0.20260728074146-a467ed652591"],"introduced":["1.9.10-0.20260421071512-7864e378f5cf"],"last_affected":[],"package":"github.com/0xJacky/Nginx-UI","purl":null,"source":"GHSA-p393-cf76-4jmr"},{"ecosystem":"Go","fixed":["1.9.10-0.20260728074146-a467ed652591"],"introduced":["1.9.10-0.20260421071512-7864e378f5cf"],"last_affected":[],"package":"github.com/0xJacky/Nginx-UI","purl":"pkg:golang/github.com/0xJacky/Nginx-UI","source":"GHSA-p393-cf76-4jmr"},{"ecosystem":"Go","fixed":["1.9.10-0.20260728074146-a467ed652591"],"introduced":["1.9.10-0.20260421071512-7864e378f5cf"],"last_affected":[],"package":"github.com/0xJacky/Nginx-UI","purl":"pkg:golang/github.com/0xJacky/Nginx-UI","source":"GO-2026-6741"}],"prev":{"headline":"Nginx UI: Unauthenticated signed-request body staging can exhaust temporary storage","id":"CVE-2026-107805"},"products":["nginx-ui"],"published":"2026-10-09","related":[{"cvss_score":9.8,"headline":"Nginx UI: Unauthenticated MCP Endpoint Allows Remote Nginx Takeover","id":"CVE-2026-33032","kev_date_added":null,"published":"2026-03-30"},{"cvss_score":9.8,"headline":"Nginx UI: Unauthenticated Backup Download with Encryption Key Disclosure","id":"CVE-2026-27944","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":9.8,"headline":"Nginx-UI arbitrary file write through the Import Certificate feature","id":"CVE-2024-23827","kev_date_added":null,"published":"2024-01-29"},{"cvss_score":9.4,"headline":"nginx-ui Backup Restore Allows Tampering with Encrypted Backups","id":"CVE-2026-33026","kev_date_added":null,"published":"2026-03-30"},{"cvss_score":9,"headline":"Unauthenticated Remote Code Execution via Backup Restore in nginx-ui","id":"CVE-2026-42238","kev_date_added":null,"published":"2026-05-04"},{"cvss_score":8.9,"headline":"Unchecked logrotate settings lead to arbitrary command execution","id":"CVE-2024-49368","kev_date_added":null,"published":"2024-10-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["0xJacky"]},"summary":"An authenticated administrator can achieve remote code execution by uploading a malicious backup that overwrites application configuration files.","url":"https://insights.sbomify.com/CVE-2026-107806/"}