CVE-2026-119335: Pi-hole: Local privilege escalation from `pihole` user to root via CVE-2026-41489 fix bypass
Vulnerability summary
CVE-2026-119335 is a high (CVSS 7.8) vulnerability in pi-hole. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 19.3% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 30-10-2026PublishedVulnerability first disclosed.
- 05-11-2026Last modifiedVulnerability information updated.
Description
Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. Prior to 6.5, advanced/Scripts/utils.sh getFTLPID() attempts to validate the pihole-owned /run/pihole-FTL.pid file with expr "${FTL_PID}" : "[^[:digit:]]", but this rejects only values whose first character is not a digit. An attacker with code execution as the pihole user can write a digit-prefixed arithmetic expression to the pihole-owned PID file. Root-run pihole subcommands then evaluate [[ "$pid" -eq "-1" ]], causing Bash to recursively evaluate array subscripts and execute command substitution as root. This bypasses the content-validation portion of the CVE-2026-41489 remediation while leaving its hardcoded PID-file path protection intact. This issue is fixed in version 6.5.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 0.23% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Pi-hole1 product
- pi-hole< 6.5
1 vendor · 1 product
References
4 links- github.com/pi-hole/pi-hole/security/advisories/GHSA-cf36-4hhc-8398X Refsource CONFIRM
- github.com/pi-hole/pi-hole/pull/6719X Refsource MISC
- github.com/pi-hole/pi-hole/releases/tag/v6.5X Refsource MISC