CVE-2026-50130
published high CVSS 3.1 · 8.8Pi-hole: Local privilege escalation from `pihole` user to root via `/etc/pihole/logrotate`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pi-hole | — | pi-hole>= 6.0.0, < 6.4.3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pi-hole | pi-hole | >= 6.0.0, < 6.4.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-282 CWE-282: Improper Ownership Management
References
3Provider assertions
2GitHub_M · cna
Pi-hole: Local privilege escalation from `pihole` user to root via `/etc/pihole/logrotate`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c4108fae3c7dea8a3f6137c93166e4e2ff8645a856ebbee9539be794ef424b6f
- Ingested
- 23 Sep 2026, 09:18:37 UTC
- Source record
- Official CVE record