CVE-2026-35521
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by GitHub_M
Exploit likelihood
0.73% (higher than 55% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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 DHCP hosts configuration parameter (dhcp.hosts). 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

Product or packageVersionsReported by
pi-hole FTL>= 6.0, < 6.6CVE List
pi-hole ftldnsfrom 6.0 up to 6.5NVD

Classification

CWE-78CWE-93

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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 DHCP hosts configuration parameter (dhcp.hosts). 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.

NVD (es)

FTLDNS (pihole-FTL) proporciona una API interactiva y también genera estadísticas para la interfaz web de Pi-hole. Desde la versión 6.0 hasta antes de la 6.6, el motor FTL de Pi-hole contiene una vulnerabilidad de ejecución remota de código (RCE) en el parámetro de configuración de hosts DHCP (dhcp.hosts). Esta vulnerabilidad permite a un atacante autenticado inyectar directivas de configuración arbitrarias de dnsmasq a través de caracteres de nueva línea, logrando finalmente la ejecución de comandos en el sistema subyacente. Esta vulnerabilidad está corregida en la 6.6.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-35521 changed 2026-04-07CVE Terms of Use
NVDCVE-2026-35521 changed 2026-10-26Public domain