CVE-2026-50130

Pi-hole: Local privilege escalation from `pihole` user to root via `/etc/pihole/logrotate`

HIGH
8.8
CVSS Score
Published: July 14, 2026 at 09:35 PM UTC
Updated: July 30, 2026 at 06:22 PM UTC
1 product affected across 1 vendorPi Hole

Using pi-hole by pi-hole?

Get instant alerts when new vulnerabilities affect pi-hole - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.3%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.4.36.0 ≤ v < 6.4.3
Affected range stops below 6.4.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_CONFIRMExploitMitigationVendor Advisory
Source: cverecord
https://github.com/pi-hole/pi-hole/security/advisories/GHSA-h8w9-qx2v-wrww
x_refsource_MISCProductRelease Notes
Source: cverecord
https://github.com/pi-hole/pi-hole/releases/tag/v6.4.3

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.8HIGHGitHub_M
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-282

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card