---
id: "CVE-2026-119334"
kind: "vulnerability"
aliases: ["CVE-2026-119334"]
title: "Pi-hole: adlist file check lets a crafted path read root-only files"
severity: "low"
cvss: 2.2
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["dns", "package", "pi-hole", "self-hosted"]
not_affected_if: ["no-untrusted-adlist-admins", "version-6.5-or-later"]
published_at: "2026-10-30T20:17:07+00:00"
first_seen_at: "2026-10-30T20:25:38+00:00"
updated_at: "2026-10-30T20:26:57+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119334", "first_seen_at": "2026-10-30T20:25:38+00:00"}]
---

# Pi-hole: adlist file check lets a crafted path read root-only files

Pi-hole's gravity.sh checks that a file:// adlist is readable by the pihole user, but curl then opens a different file after URL dot-segment normalization, so a symlink and decoy can make it read a root-only file. An attacker who can add adlists and place files on the filesystem can read files they should not see.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed version with `pihole -v` and confirm it is below `6.5`.
- Review who can add adlists in the Pi-hole admin interface.

## Fix

- Pi-hole: `6.5`

## Timeline

- 2026-10-30T20:25:38+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-119334

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
