CVE-2026-35518

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:pi-hole:ftldns:*:*:*:*:*:*:*:*

History

28 Apr 2026, 20:35

Type Values Removed Values Added
CPE cpe:2.3:a:pi-hole:ftldns:*:*:*:*:*:*:*:*
References () https://github.com/pi-hole/FTL/security/advisories/GHSA-28g5-gg88-wh5m - () https://github.com/pi-hole/FTL/security/advisories/GHSA-28g5-gg88-wh5m - Exploit, Vendor Advisory
First Time Pi-hole
Pi-hole ftldns

07 Apr 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-07 16:16

Updated : 2026-04-28 20:35


NVD link : CVE-2026-35518

Mitre link : CVE-2026-35518

CVE.ORG link : CVE-2026-35518


JSON object : View

Products Affected

pi-hole

  • ftldns
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-93

Improper Neutralization of CRLF Sequences ('CRLF Injection')