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

Published Apr 6, 2026
·
Updated

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.

Affected Software

1 affected component
Pi-hole Pi-hole=6.4

Event History

Apr 6, 2026
CVE Published
via MITRE·03:02 PM
Data Sourced
via MITRE·03:02 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-33727?

The severity of CVE-2026-33727 is classified as high due to its potential for local privilege escalation.

2

How do I fix CVE-2026-33727?

To fix CVE-2026-33727, upgrade Pi-hole to version 6.5 or later to close the vulnerability.

3

Who is affected by CVE-2026-33727?

CVE-2026-33727 affects users running Pi-hole version 6.4.

4

What is the nature of CVE-2026-33727?

CVE-2026-33727 is a local privilege escalation vulnerability that allows code execution as root.

5

Can CVE-2026-33727 be exploited remotely?

CVE-2026-33727 requires local access to the system, so it cannot be exploited remotely.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203