RCE in Pi-Hole Ftl

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.009 (56.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2026-35517?
CVE-2026-35517 is a high-severity vulnerability in Pi-Hole Ftl, classified under OS Command Injection. CVSS score: 8.8/10. Published 2026-04-07.
How severe is CVE-2026-35517?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2026-35517 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.