CVE-2026-119336
Pi-hole: arbitrary root file clobber / chmod / disclosure via updatecheck.sh cron following /etc/pihole/versions symlink
CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th
Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. From 6.4.2 until 6.5, the root-run advanced/Scripts/updatecheck.sh cron job applies truncate -s 0 and chmod 644 to /etc/pihole/versions while following symbolic links in a directory owned by the pihole user. An attacker executing as pihole can replace that path with a symlink so the scheduled root operations truncate or create an arbitrary root-owned file, or race the operations so chmod makes a sensitive target world-readable without truncating it. This issue is fixed in version 6.5.
| CWE | CWE-59 CWE-61 |
| Vendor | pi-hole |
| Product | pi-hole |
| Published | Oct 30, 2026 |
Stay Ahead of the Next One
Get instant alerts for pi-hole pi-hole
Be the first to know when new high vulnerabilities affecting pi-hole pi-hole are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
pi-hole / pi-hole
>= 6.4.2, < 6.5
References
github.com: https://github.com/pi-hole/pi-hole/security/advisories/GHSA-xch2-4qxw-g5vj github.com: https://github.com/pi-hole/pi-hole/pull/6719 github.com: https://github.com/pi-hole/pi-hole/commit/85de82dd2b63bf71ecb936177dfb82421d9d2f25 github.com: https://github.com/pi-hole/pi-hole/commit/c1062f43b0de1876321bafac58fba862406366cb github.com: https://github.com/pi-hole/pi-hole/commit/e05dc3f139206fd8d0e4a052dceefb9056533517 github.com: https://github.com/pi-hole/pi-hole/releases/tag/v6.5