Link following in Pi-hole - #VU166833
Published: November 18, 2026
Vulnerability details
The vulnerability allows a local user to overwrite, truncate, expose, or delete arbitrary files and delete directory trees with root privileges.
The vulnerability exists due to improper symbolic link resolution and trust in user-controlled paths in Pi-hole installation, checkout, and uninstallation scripts when performing file operations as root. A local user can plant symlinks at /etc/pihole/macvendor.db or /etc/pihole/ftlbranch, or modify deletion paths in pihole.toml, while running as the pihole user to trigger these operations when an administrator subsequently runs an affected command.