Pi-hole: file:// adlist read check and curl can resolve different files
Impact
Pi-hole versions before 6.5 have a weakness where an administrator can create a decoy file and symlink to read a different file, potentially a root-only file. The issue arises from a discrepancy between the file readability check and curl's file resolution. Exploitation requires administrator access to add adlists and create files on the filesystem.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Exploitation requires an administrator who can add adlists and can place a symlink and decoy on the filesystem.
Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
pi-hole · GitHub_M
pi-hole
1 range
pi-hole · GitHub_M
pi-hole
Compare with this publisher’s ranges. This does not inspect your installation.
affected
< 6.5
Other versions: unknown
Original source description
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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-119334View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 1
Assigning organization
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.