{"id":"CVE-2026-33727","state":"PUBLISHED","title":"Pi-hole has a Local Privilege Escalation (post-compromise, pihole -> root).","description":"Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Version 6.4 has a local privilege-escalation vulnerability allows code execution as root from the low-privilege pihole account. Important context: the pihole account uses nologin, so this is not a direct interactive-login issue. However, nologin does not prevent code from running as UID pihole if a Pi-hole component is compromised. In that realistic post-compromise scenario, attacker-controlled content in /etc/pihole/versions is sourced by root-run Pi-hole scripts, leading to root code execution. This vulnerability is fixed in 6.4.1.","publishedAt":"2026-04-06T15:02:19.693Z","updatedAt":"2026-04-07T13:06:34.177Z","severity":{"score":6.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["pi-hole pi-hole"],"affected":[{"vendor":"pi-hole","product":"pi-hole","versions":[{"version":">= 6.4, < 6.4.1","status":"affected"}]}],"references":["https://github.com/pi-hole/pi-hole/security/advisories/GHSA-c935-8g63-qp74"],"weaknesses":["CWE-269"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/33xxx/CVE-2026-33727.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-33727","state":"PUBLISHED","datePublished":"2026-04-06T15:02:19.693Z","dateUpdated":"2026-04-07T13:06:34.177Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-23T17:34:57.560Z"},"containers":{"cna":{"title":"Pi-hole has a Local Privilege Escalation (post-compromise, pihole -> root).","descriptions":[{"lang":"en","value":"Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Version 6.4 has a local privilege-escalation vulnerability allows code execution as root from the low-privilege pihole account. Important context: the pihole account uses nologin, so this is not a direct interactive-login issue. However, nologin does not prevent code from running as UID pihole if a Pi-hole component is compromised. In that realistic post-compromise scenario, attacker-controlled content in /etc/pihole/versions is sourced by root-run Pi-hole scripts, leading to root code execution. This vulnerability is fixed in 6.4.1."}],"affected":[{"vendor":"pi-hole","product":"pi-hole","versions":[{"version":">= 6.4, < 6.4.1","status":"affected"}]}],"references":[{"url":"https://github.com/pi-hole/pi-hole/security/advisories/GHSA-c935-8g63-qp74","name":"https://github.com/pi-hole/pi-hole/security/advisories/GHSA-c935-8g63-qp74","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.4,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-269","lang":"en","description":"CWE-269: Improper Privilege Management","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-06T15:02:19.693Z"},"source":{"advisory":"GHSA-c935-8g63-qp74","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-07T03:56:01.049919Z","id":"CVE-2026-33727","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-07T13:06:34.177Z"}}]}}}