CVE-2026-33727

Source
https://cve.org/CVERecord?id=CVE-2026-33727
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33727.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-33727
Aliases
  • GHSA-c935-8g63-qp74
Published
2026-04-06T15:02:19.693Z
Modified
2026-07-15T01:49:21.102409892Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Pi-hole has a Local Privilege Escalation (post-compromise, pihole -> root).
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.

Database specific
{
    "cwe_ids": [
        "CWE-269"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33727.json"
}
References

Affected packages

Git / github.com/pi-hole/pi-hole

Affected ranges

Type
GIT
Repo
https://github.com/pi-hole/pi-hole
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_STRING"
    ],
    "cpe": "cpe:2.3:a:pi-hole:pi-hole:6.4:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "6.4"
        },
        {
            "fixed": "6.4.1"
        },
        {
            "last_affected": "6.4"
        }
    ]
}

Affected versions

6.*
6.4
v6.*
v6.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33727.json"