CVE-2026-35517

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

Configuration 1 (hide)

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

History

No history.

Information

Published : 2026-04-07 16:16

Updated : 2026-06-17 10:40


NVD link : CVE-2026-35517

Mitre link : CVE-2026-35517

CVE.ORG link : CVE-2026-35517


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')