Skip to content
Heist/ feed
Back to feed
Critical

Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-107806
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 18:04 UTC · Revision 1

Source evidence

Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite

core-osv · Original source

Published 9 Oct 2026, 15:00 UTC

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.

osv:CVE-2026-107806
Complete source record
{
  "id": "8508b7864e4043299d069c2268bec6dcf2721761290542edc86197db78b835ba",
  "url": "https://osv.dev/vulnerability/CVE-2026-107806",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite",
    "summary": "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.",
    "evidence": "osv:CVE-2026-107806",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-107806",
      "aliases": [
        "CVE-2026-107806",
        "GHSA-p393-cf76-4jmr",
        "GO-2026-6741"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/0xjacky/nginx-ui",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7864e378f5cf8013c4df38c15e57480f5c2db1d7"
                },
                {
                  "fixed": "acb59fdd81dbdd60abd0004e9ade573186a3be43"
                },
                {
                  "fixed": "a467ed652591fc0cd1b466a1ec751b493faef9f7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.8"
                      },
                      {
                        "fixed": "2.5.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a467ed652591fc0cd1b466a1ec751b493faef9f7"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "acb59fdd81dbdd60abd0004e9ade573186a3be43"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.5.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.4.3",
            "v2.4.2",
            "v2.4.1",
            "v2.4.0",
            "v2.3.11",
            "v2.3.10",
            "v2.3.9",
            "v2.3.8"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107806.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.974677981Z",
      "provider": "osv",
      "references": [
        "https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.0",
        "https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-p393-cf76-4jmr",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107806.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-107806",
        "https://github.com/0xJacky/nginx-ui/commit/a467ed652591fc0cd1b466a1ec751b493faef9f7"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107806.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-107806",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498167,
  "published_at": "2026-10-09T15:00:55.47+00:00"
}