{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:nginxui:nginx_ui:2.3.5:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "= 2.3.5"
              },
              {
                "last_affected": "= 2.3.5"
              },
              {
                "introduced": "2.3.5"
              },
              {
                "last_affected": "2.3.5"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "1a9cd29a308278173aa0f16234cb78061dd2bd42"
            },
            {
              "last_affected": "1a9cd29a308278173aa0f16234cb78061dd2bd42"
            }
          ],
          "repo": "https://github.com/0xjacky/nginx-ui",
          "type": "GIT"
        }
      ],
      "versions": [
        "2.3.5",
        "= 2.3.5"
      ]
    }
  ],
  "aliases": [
    "GHSA-mxqh-q9h6-v8pq"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-284",
      "CWE-306"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42222.json"
  },
  "details": "Nginx UI is a web user interface for the Nginx web server. In version 2.3.5, an unauthenticated bootstrap takeover exists in nginx-ui during the initial installation window exposed by POST /api/install. At time of publication no public patches are available.",
  "id": "CVE-2026-42222",
  "modified": "2026-07-08T05:39:07.761716996Z",
  "published": "2026-05-04T20:11:11.049Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-mxqh-q9h6-v8pq"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42222.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42222"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "nginx-ui: Unauthenticated first-boot instance claim via POST /api/install allows remote bootstrap takeover"
}