Link following in Pi-hole - CVE-2026-119334
Published: November 18, 2026
Vulnerability details
The vulnerability allows a remote privileged user to disclose domain-shaped lines from root-only files.
The vulnerability exists due to improper link resolution before file access in Pi-hole's gravity.sh when checking and reading file:// adlists using different path-resolution semantics and privileges. A remote privileged user can add a crafted adlist referencing a filesystem symlink and readable decoy, or a /proc/self/ path, to bypass the read check and disclose restricted file content when gravity runs as root.