{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:pi-hole:pi-hole:6.4:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "6.4"
              },
              {
                "fixed": "6.4.1"
              },
              {
                "last_affected": "6.4"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "a393dd83f3c2efb524683a5d893494a1d414a253"
            },
            {
              "fixed": "d3bbfea9c00523723dfee788280b69770bbcd8bd"
            }
          ],
          "repo": "https://github.com/pi-hole/pi-hole",
          "type": "GIT"
        }
      ],
      "versions": [
        "6.4"
      ]
    }
  ],
  "aliases": [
    "GHSA-c935-8g63-qp74"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-269"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33727.json"
  },
  "details": "Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Version 6.4 has a local privilege-escalation vulnerability allows code execution as root from the low-privilege pihole account. Important context: the pihole account uses nologin, so this is not a direct interactive-login issue. However, nologin does not prevent code from running as UID pihole if a Pi-hole component is compromised. In that realistic post-compromise scenario, attacker-controlled content in /etc/pihole/versions is sourced by root-run Pi-hole scripts, leading to root code execution. This vulnerability is fixed in 6.4.1.",
  "id": "CVE-2026-33727",
  "modified": "2026-07-15T01:49:21.102409892Z",
  "published": "2026-04-06T15:02:19.693Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33727.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/pi-hole/pi-hole/security/advisories/GHSA-c935-8g63-qp74"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-33727"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Pi-hole has a Local Privilege Escalation (post-compromise, pihole -\u003e root)."
}