Skip to content

CVE-2026-119336 Pi-hole: arbitrary root file clobber / chmod / disclosure via updatecheck.sh cron following /etc/pihole/versions symlink

HighCVSS 7.8 EPSS 0.25%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pi-hole = >= 6.4.2, < 6.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pi-hole = >= 6.4.2, < 6.5 No fix listed

References