Execution with unnecessary privileges in Pi-hole - #VU166832
Published: November 18, 2026
Vulnerability details
The vulnerability allows a local user to escalate privileges to root.
The vulnerability exists due to unnecessary CAP_CHOWN privileges in the Pi-hole pihole-FTL service when running as the pihole user and spawning child processes. A local user can leverage code execution within that service context to change ownership of /etc/pihole/logrotate, insert a malicious postrotate script, and restore root ownership to execute arbitrary commands as root during daily or reboot-triggered log rotation.