Execution with unnecessary privileges in Pi-hole - #VU166832

 

Execution with unnecessary privileges in Pi-hole - #VU166832

Published: November 18, 2026


Vulnerability identifier: #VU166832
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-250
Exploitation vector: Local access
Exploit availability: No public exploit available

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.


Affected software

Pi-hole

Remediation

Install security update from vendor's website.

Pi-hole - update to 6.5

External References

Related Security Bulletins