OS Command Injection in Pi-hole - CVE-2026-119335
Published: November 18, 2026
Vulnerability details
The vulnerability allows a local user to escalate privileges and execute arbitrary commands as root.
The vulnerability exists due to improper neutralization of command substitutions in Pi-hole's getFTLPID() and command wrapper when PID-file values beginning with a digit pass validation and undergo Bash arithmetic evaluation. A local user can write 1+a[$(id > /tmp/PWNED-ROOT-PROOF)] to /run/pihole-FTL.pid as the pihole user and wait for a root-run command such as pihole reloaddns to execute commands as root.