CVE Explorer
CVE-2026-50130
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"pi-hole","vendor":"pi-hole","versions":[{"status":"affected","version":">= 6.0.0, < 6.4.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:c11aa7ff1d00a2df2fc17b6c5e788266a1d322373ed9cf9d0f7dceaf7d8b0d1c · sha256:a20b90a35d715d29… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"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"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:c11aa7ff1d00a2df2fc17b6c5e788266a1d322373ed9cf9d0f7dceaf7d8b0d1c · sha256:a20b90a35d715d29… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-282","description":"CWE-282: Improper Ownership Management","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c11aa7ff1d00a2df2fc17b6c5e788266a1d322373ed9cf9d0f7dceaf7d8b0d1c · sha256:a20b90a35d715d29… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/pi-hole/pi-hole/commit/18002bf7c6bf382fe5861d01321f427019e1be89","tags":["x_refsource_MISC"],"url":"https://github.com/pi-hole/pi-hole/commit/18002bf7c6bf382fe5861d01321f427019e1be89"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c11aa7ff1d00a2df2fc17b6c5e788266a1d322373ed9cf9d0f7dceaf7d8b0d1c · sha256:a20b90a35d715d29… · /containers/cna/references/1
{"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"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c11aa7ff1d00a2df2fc17b6c5e788266a1d322373ed9cf9d0f7dceaf7d8b0d1c · sha256:a20b90a35d715d29… · /containers/cna/references/2
{"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"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c11aa7ff1d00a2df2fc17b6c5e788266a1d322373ed9cf9d0f7dceaf7d8b0d1c · sha256:a20b90a35d715d29… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/pi-hole/pi-hole/security/advisories/GHSA-h8w9-qx2v-wrww"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c11aa7ff1d00a2df2fc17b6c5e788266a1d322373ed9cf9d0f7dceaf7d8b0d1c · sha256:a20b90a35d715d29… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.