External Control of System or Configuration Setting in Pi-hole - CVE-2026-41489
Published: April 25, 2026
Pi-hole
Detailed vulnerability description
The vulnerability allows a local user to escalate privileges.
The vulnerability exists due to external control of a configuration setting in root-executed service hook scripts when reading the files.pid path from /etc/pihole/pihole.toml. A local user can write an arbitrary path into the configuration and trigger a service restart to escalate privileges.
The issue can be exploited through the pihole-FTL-prestart.sh and pihole-FTL-poststop.sh hooks, which run as root via systemd and perform privileged file operations on the configured path.