CVE-2026-50130
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.
Severity
HIGH
CVSS v3
8.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
0.257%
chance of exploitation in the next 30 days
higher than 17.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-282: Improper Ownership Management
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-07-15 |
Timeline
- 2026-07-14Published by the CNA21:35 UTC
- 2026-07-15CISA SSVC decision recorded1 day after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| pi-hole pi-hole | from 6.0 before 6.4.3fixed in 6.4.3 | 6.4.3 |
References
- https://github.com/pi-hole/pi-hole/commit/18002bf7c6bf382fe5861d01321f427019e1be89
- https://github.com/pi-hole/pi-hole/security/advisories/GHSA-h8w9-qx2v-wrww
- https://github.com/pi-hole/pi-hole/releases/tag/v6.4.3
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-50130'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-50130'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-50130'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-50130'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).