CVE Catalog

CVE-2026-33727

MediumCVSS 6.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

17th percentile - higher than 17% of all known CVEs

Summary

Pi-hole version 6.4 has a local privilege-escalation vulnerability allowing code execution as root from the low-privilege pihole account. Although the pihole account uses nologin, this does not prevent code from running as UID pihole if a Pi-hole component is compromised; in such a scenario, attacker-controlled content in /etc/pihole/versions is sourced by root-run Pi-hole scripts, leading to root code execution.

Risk Assessment

An attacker who gains access to the pihole account can escalate privileges to root and take full control of the system, leading to a severe security breach.

Recommendation

Update Pi-hole to version 6.4.1 or later. Additionally, restrict permissions on /etc/pihole/versions files and regularly check system integrity.

Other vulnerabilities in Pi-hole

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS