{"api_version":"1","generated_at":"2026-07-23T13:00:47+00:00","cve":"CVE-2026-50130","urls":{"html":"https://cve.report/CVE-2026-50130","api":"https://cve.report/api/cve/CVE-2026-50130.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-50130","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-50130"},"summary":{"title":"Pi-hole: Local privilege escalation from `pihole` user to root via `/etc/pihole/logrotate`","description":"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-07-14 22:17:13","updated_at":"2026-07-16 05:16:22"},"problem_types":["CWE-282","CWE-282 CWE-282: Improper Ownership Management"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","data":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/pi-hole/pi-hole/commit/18002bf7c6bf382fe5861d01321f427019e1be89","name":"https://github.com/pi-hole/pi-hole/commit/18002bf7c6bf382fe5861d01321f427019e1be89","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/pi-hole/pi-hole/releases/tag/v6.4.3","name":"https://github.com/pi-hole/pi-hole/releases/tag/v6.4.3","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/pi-hole/pi-hole/security/advisories/GHSA-h8w9-qx2v-wrww","name":"https://github.com/pi-hole/pi-hole/security/advisories/GHSA-h8w9-qx2v-wrww","refsource":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-50130","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50130","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"pi-hole","product":"pi-hole","version":"affected >= 6.0.0, < 6.4.3","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"50130","cve":"CVE-2026-50130","epss":"0.002250000","percentile":"0.132710000","score_date":"2026-07-20","updated_at":"2026-07-21 00:13:15"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-50130","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-07-15T00:00:00+00:00","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-07-16T03:55:27.225Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"references":[{"tags":["exploit"],"url":"https://github.com/pi-hole/pi-hole/security/advisories/GHSA-h8w9-qx2v-wrww"}],"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"pi-hole","vendor":"pi-hole","versions":[{"status":"affected","version":">= 6.0.0, < 6.4.3"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-282","description":"CWE-282: Improper Ownership Management","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-14T21:35:00.813Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/pi-hole/pi-hole/security/advisories/GHSA-h8w9-qx2v-wrww","tags":["x_refsource_CONFIRM"],"url":"https://github.com/pi-hole/pi-hole/security/advisories/GHSA-h8w9-qx2v-wrww"},{"name":"https://github.com/pi-hole/pi-hole/commit/18002bf7c6bf382fe5861d01321f427019e1be89","tags":["x_refsource_MISC"],"url":"https://github.com/pi-hole/pi-hole/commit/18002bf7c6bf382fe5861d01321f427019e1be89"},{"name":"https://github.com/pi-hole/pi-hole/releases/tag/v6.4.3","tags":["x_refsource_MISC"],"url":"https://github.com/pi-hole/pi-hole/releases/tag/v6.4.3"}],"source":{"advisory":"GHSA-h8w9-qx2v-wrww","discovery":"UNKNOWN"},"title":"Pi-hole: Local privilege escalation from `pihole` user to root via `/etc/pihole/logrotate`"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-50130","datePublished":"2026-07-14T21:35:00.813Z","dateReserved":"2026-06-03T18:49:32.275Z","dateUpdated":"2026-07-16T03:55:27.225Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-14 22:17:13","lastModifiedDate":"2026-07-16 05:16:22","problem_types":["CWE-282","CWE-282 CWE-282: Improper Ownership Management"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2,"impactScore":6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-15T00:00:00+00:00","id":"CVE-2026-50130","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"50130","Ordinal":"1","Title":"Pi-hole: Local privilege escalation from `pihole` user to root v","CVE":"CVE-2026-50130","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"50130","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Pi-hole: Local privilege escalation from `pihole` user to root v"}]}}}