← Back to search

CVE-2026-119336

7.8 HIGHpublic exploit available

Published 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.
privilege-escalationrace-conditionsymlinkcron-joblocal-exploit

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

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.