6.4Medium

CVE-2026-33727Pi-hole has a Local Privilege Escalation (post-compromise, pihole -> root).

pi-hole pi-hole Published: (7 months ago)

Description

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.

Weakness (CWE): CWE-269

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
pi-hole pi-hole >= 6.4, < 6.4.1

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:pi-hole:pi-hole:6.4:*:*:*:*:*:*:*