Skip to content
OpenAdvisories
High · 8.8 CVE-2026-35518 EUVD-2026-19685

Pi-hole FTL affected by Remote Code Execution (RCE) via dns.cnameRecords Newline Injection

Published Apr 7, 2026 · Updated Apr 8, 2026 · Assigned by GitHub_M

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 DNS CNAME records configuration parameter (dns.cnameRecords). 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.

Affected products

VendorProductAffectedFixed
pi-hole FTL >= 6.0, < 6.6 —

References