{"schemaVersion":4,"id":"CVE-2026-119336","aliases":[],"status":"published","duplicateOf":null,"title":"Pi-hole: arbitrary root file clobber / chmod / disclosure via updatecheck.sh cron following /etc/pihole/versions symlink","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.","dates":{"published":"2026-10-30T20:05:40.100Z","modified":"2026-10-30T22:14:23.468Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00247,"percentile":0.17069,"severity":"low","asOf":"2026-12-05T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-05T00:00:00.000Z","baselineScore":0.00247},"history":[{"date":"2026-10-31T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00181,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00181,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00181,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00181,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00181,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00181,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00247,"percentile":0.17069}],"last30":[{"date":"2026-11-05T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00181,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00181,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00181,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00181,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00181,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00181,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00247,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00247,"percentile":0.17069}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"},{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following","description":"The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.","type":"weakness","status":"Incomplete","abstraction":"Compound","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/61.html"}],"affected":[{"vendor":"pi-hole","product":"pi-hole","name":"pi-hole","label":"pi-hole","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.4.2, < 6.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.4.2","startInclusive":true,"end":"6.5","endInclusive":false}}],"versionsText":"≥ 6.4.2, < 6.5","eol":null,"hubHref":"/vendor/pi-hole/pi-hole"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/pi-hole/pi-hole/security/advisories/GHSA-xch2-4qxw-g5vj","label":"github.com/pi-hole/pi-hole/security/advisories/GHSA-xch2-4qxw-g5vj","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/pi-hole/pi-hole/pull/6719","label":"github.com/pi-hole/pi-hole/pull/6719","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/pi-hole/pi-hole/commit/85de82dd2b63bf71ecb936177dfb82421d9d2f25","label":"github.com/pi-hole/pi-hole/commit/85de82dd2b63bf71ecb936177dfb82421d9d2f25","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/pi-hole/pi-hole/commit/c1062f43b0de1876321bafac58fba862406366cb","label":"github.com/pi-hole/pi-hole/commit/c1062f43b0de1876321bafac58fba862406366cb","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/pi-hole/pi-hole/commit/e05dc3f139206fd8d0e4a052dceefb9056533517","label":"github.com/pi-hole/pi-hole/commit/e05dc3f139206fd8d0e4a052dceefb9056533517","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/pi-hole/pi-hole/releases/tag/v6.5","label":"github.com/pi-hole/pi-hole/releases/tag/v6.5","hostname":"github.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-30T20:05:40.100Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-30T22:14:23.468Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,78],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-05T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00247,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-10-30T22:14:23.468Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-10-30T22:14:23.468Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-10-30T21:21:13.368Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00247,"date":"2026-12-05T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-06T07:01:31.856Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-06T07:01:32.379Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-06T07:01:32.559Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-06T07:00:59.160Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-06T07:01:30.342Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-06T07:01:29.365Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-06T07:23:02.898Z","stale":false,"partial":false}}