CVE-2026-50130

HIGH

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

CVSS v3

8.8

HIGH

EPSS Score

0.2%

exploit probability

CISA KEV

No

known exploited

Exploitation

SSVC status

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.

Technical Details

CVSS v3 Vector
3.1
Published
7/14/2026
Last Modified
7/15/2026

Frequently Asked Questions

What is 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.

Is CVE-2026-50130 actively exploited?

Active exploitation of CVE-2026-50130 has not been confirmed. The EPSS score is 0.2%, indicating the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-50130?

CVE-2026-50130 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string 3.1.

Is CVE-2026-50130 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.