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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-59",
"CWE-61"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119336.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "6.4.2"
},
{
"fixed": "6.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "85de82dd2b63bf71ecb936177dfb82421d9d2f25"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "c1062f43b0de1876321bafac58fba862406366cb"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "e05dc3f139206fd8d0e4a052dceefb9056533517"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v6.5",
"range": [
{
"fixed": "f503a65d3a07cb71fd931389f1d3babf718249aa"
}
],
"source": "REFERENCES_TAG"
}
]
}