← CVE Intelligence

CVE-2026-35518

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

Description (CNA)

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 (CNA)

Vendor / productVersions
pi-hole / FTLaffected >= 6.0, < 6.6

CWE

CWE-78, CWE-93

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.