Skip to content

CVE-2026-35517 Pi-hole FTL affected by Remote Code Execution (RCE) via dns.upstreams Newline Injection

HighCVSS 8.8 EPSS 0.89%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

FTLDNS (pihole-FTL) provides an interactive API and also generates statistics for Pi-hole's Web interface. From 6.0 to before 6.6, the Pi-hole FTL engine contains a Remote Code Execution (RCE) vulnerability in the upstream DNS servers configuration parameter (dns.upstreams). This vulnerability allows an authenticated attacker to inject arbitrary dnsmasq configuration directives through newline characters, ultimately achieving command execution on the underlying system. This vulnerability is fixed in 6.6.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pi-hole ftldns >= 6.0, <= 6.5 after 6.5 Fixed
pi-hole FTL = >= 6.0, < 6.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pi-hole FTL = >= 6.0, < 6.6 No fix listed
pi-hole ftldns >= 6.0, <= 6.5 No fix listed

References