Improper Ownership Management in Pi-hole - CVE-2026-50130
Published: November 18, 2026
Vulnerability details
The vulnerability allows a local user to escalate from the pihole account to root and execute arbitrary commands.
The vulnerability exists due to improper ownership management in Pi-hole's pihole-FTL-prestart.sh when service startup assigns root ownership to an attacker-replaceable /etc/pihole/logrotate configuration without validating its contents. A local user can replace this configuration with malicious firstaction commands as the pihole user and kill pihole-FTL to trigger automatic restart and ownership reassignment, causing subsequent daily or reboot logrotate execution to run those commands as root.