CVE Explore

Privilege escalation in Pi-Hole

CVE-2026-33727

CVSS v3
6.4 Medium
Public exploits
None known
EPSS
0.002 · 13.3th percentile
Published
2026-04-06

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.

Vulnerability class: Privilege Escalation

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H.

Attack Vector
Local AV:L
Attack Complexity
High AC:H
Privileges Required
High PR:H
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
High C:H
Integrity
High I:H
Availability
High A:H

EPSS exploit prediction

EPSS 0.002, 13.3th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Pi-Hole — versions >= 6.4, < 6.4.1, 6.4

Weakness classification (CWE)

References