CVE-2026-119336
7.8 HIGHpublic exploit availablePublished 2026-10-30 · Updated 2026-11-02
AI risk analysis
- Summary
- A race condition and symlink following flaw in Pi-hole's root-run updatecheck.sh cron job allows a local pihole user to manipulate /etc/pihole/versions into pointing to arbitrary files via symlinks, enabling privilege escalation by truncating or changing permissions of root-owned files.
- Exploitability
- Exploitation requires local access as the pihole user and precise timing to race the cron job, making it moderately difficult but feasible in a compromised environment where the attacker already controls the pihole account.
- Blast radius
- Successful exploitation grants full root-level file system manipulation capabilities, enabling complete system compromise including data theft, destruction, or persistence.
- Detection
- Monitor for unexpected changes to /etc/pihole/versions or its target file ownership/permissions via auditd logs (e.g., auditctl rules tracking chmod/truncate on that path), or watch for symlinks pointing outside expected directories in /etc/pihole. No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to Pi-hole version 6.5 or later, which fixes the symlink following and race condition in the updatecheck.sh script.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-59, CWE-61
Public exploit & PoC references
- https://github.com/pi-hole/pi-hole/commit/85de82dd2b63bf71ecb936177dfb82421d9d2f25
- https://github.com/pi-hole/pi-hole/commit/c1062f43b0de1876321bafac58fba862406366cb
- https://github.com/pi-hole/pi-hole/commit/e05dc3f139206fd8d0e4a052dceefb9056533517
- https://github.com/pi-hole/pi-hole/pull/6719
- https://github.com/pi-hole/pi-hole/releases/tag/v6.5
- https://github.com/pi-hole/pi-hole/security/advisories/GHSA-xch2-4qxw-g5vj
All references
- https://github.com/pi-hole/pi-hole/commit/85de82dd2b63bf71ecb936177dfb82421d9d2f25
- https://github.com/pi-hole/pi-hole/commit/c1062f43b0de1876321bafac58fba862406366cb
- https://github.com/pi-hole/pi-hole/commit/e05dc3f139206fd8d0e4a052dceefb9056533517
- https://github.com/pi-hole/pi-hole/pull/6719
- https://github.com/pi-hole/pi-hole/releases/tag/v6.5
- https://github.com/pi-hole/pi-hole/security/advisories/GHSA-xch2-4qxw-g5vj
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-96225
- HIGHCVE-2026-103568
- HIGHCVE-2026-58828
- HIGHCVE-2026-99238
- HIGHCVE-2026-102202
- HIGHCVE-2026-102204
- CRITICALCVE-2026-113678PoC
- HIGHCVE-2026-123962
Related by shared AI tags and CWE weakness class. Browse the full archive.