CVE-2026-35518

published 7 Apr 2026 · updated 8 Apr 2026

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

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Pi-holeFTL>=6.0 <6.6

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Pi-hole, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-35518 severity on Zeptric[![CVE-2026-35518](https://zeptric.io/badge/cve/CVE-2026-35518.svg)](https://zeptric.io/cve/CVE-2026-35518)