Pi-hole file:// adlist check can be bypassed to read other files
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-59 and the CVSS impact.
Summary
Pi-hole before 6.5 has a flaw in how gravity.sh checks file:// adlist URLs. The readability check runs as the pihole user, but curl may run as root and normalize URL dot segments to open a different file, which is improper link resolution (CWE-59). An administrator who can add adlists and place a symlink and a decoy file on the filesystem can make curl read a root-only file.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
Description from the CNA
Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. Prior to 6.5, gravity.sh checks file:// adlist readability with sudo -u pihole test -r but then allows curl, sometimes running as root, to normalize URL dot segments and open a different file. A pihole-readable decoy can therefore pass the check while curl reads a root-only target, and /proc/self paths can similarly resolve against different processes. Exploitation requires an administrator who can add adlists and can place a symlink and decoy on the filesystem. This issue is fixed in version 6.5.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Pi-hole to version 6.5, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
- Fix · CNA pi-hole (pi-hole) Fixed in 6.5
Timeline
- 2026-10-30 Threatist record created from CVE-2026-119334
- 2026-11-02 CISA SSVC decision points changed
References
More Pi-hole vulnerabilities
- TI-2020-07073 Pi-hole Web v4.3.2 (aka AdminLTE) allows Remote Code Execution by privileged dashboard… KEVCVSS 3.1HIGH 7.2
- TI-2020-08981 The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload… CVSS 3.1HIGH 8.8
- TI-2026-36901 Pi-hole: Local privilege escalation from `pihole` user to root via `/etc/pihole/logrotate` CVSS 3.1HIGH 8.8
- TI-2026-32584 Pi-hole FTL: Unauthenticated Session Hijacking via Race Condition on Global Session Buffer CVSS 3.1HIGH 8.8
- TI-2026-30076 Pi-hole: Local privilege escalation via config-controlled path in root-executed service hooks CVSS 3.1HIGH 8.8
- TI-2026-28731 Pi-hole FTL remote code execution via newline injection in dns.interface configuration CVSS 4.0HIGH 8.7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences