CVE-2026-35517

HIGH

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

Title source: cna

Description

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.

Exploits (1)

nomisec SCANNER
by keraattin · poc
https://github.com/keraattin/CVE-2026-35517

Scores

CVSS v3 8.8
EPSS 0.0008
EPSS Percentile 23.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-78 CWE-93
Status published
Products (1)
pi-hole/FTL >= 6.0, < 6.6
Published Apr 07, 2026
Tracked Since Apr 07, 2026