{"id":"CVE-2026-50130","aliases":["CVE-2026-50130"],"related":[],"kind":"vulnerability","state":"published","title":"Pi-hole: Local privilege escalation from `pihole` user to root via `/etc/pihole/logrotate`","summary":"Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. From 6.0 to 6.4.2, a user with code execution as the unprivileged pihole user can escalate to root by replacing /etc/pihole/logrotate. The replacement is laundered to root:root ownership by pihole-FTL-prestart.sh and then parsed as root by the daily pihole flush cron, executing firstaction shell as uid 0. This issue is fixed in version 6.4.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. From 6.0 to 6.4.2, a user with code execution as the unprivileged pihole user can escalate to root by replacing /etc/pihole/logrotate. The replacement is laundered to root:root ownership by pihole-FTL-prestart.sh and then parsed as root by the daily pihole flush cron, executing firstaction shell as uid 0. This issue is fixed in version 6.4.3.","source":"cvelist"}],"published":"2026-07-14T21:35:00.813Z","modified":"2026-07-30T14:31:09.610Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-282"],"affected":[{"ranges":[{"version":">= 6.0.0, < 6.4.3","status":"affected"}],"vendor":"pi-hole","product":"pi-hole","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.0","fixed":"6.4.3"}],"vendor":"pi-hole","product":"pi-hole","cpe":"cpe:2.3:a:pi-hole:pi-hole:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pi-hole/pi-hole/security/advisories/GHSA-h8w9-qx2v-wrww","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pi-hole/pi-hole/commit/18002bf7c6bf382fe5861d01321f427019e1be89","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pi-hole/pi-hole/releases/tag/v6.4.3","tags":["product","release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-07-15T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-50130","url":"https://www.cve.org/CVERecord?id=CVE-2026-50130","licence":"CVE Terms of Use","modified":"2026-07-16T03:55:27.225Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-50130","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50130","licence":"Public domain","modified":"2026-07-30T14:31:09.610Z"}],"updatedAt":"2026-11-25T22:59:28.248Z","epss":{"score":0.00257,"percentile":0.10594,"date":"2026-11-30T12:00:22.000Z"}}