Improper Ownership Management in Pi-hole - CVE-2026-50130

 

Improper Ownership Management in Pi-hole - CVE-2026-50130

Published: November 18, 2026


Vulnerability identifier: #VU166827
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: CVE-2026-50130
CWE-ID: CWE-282
Exploitation vector: Local access
Exploit availability: No public exploit available

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.


Affected software

Pi-hole

How to mitigate CVE-2026-50130

Install security update from vendor's website.

Pi-hole - update to 6.4.3

External References

Related Security Bulletins