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 package | Versions | Reported by |
|---|---|---|
| pi-hole FTL | >= 6.0, < 6.6 | CVE List |
| pi-hole ftldns | from 6.0 up to 6.5 | NVD |
Classification
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
| https://github.com/pi-hole/FTL/security/advisories/GHSA-vfmq-jrx3-wv3c | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-35521 changed 2026-04-07 | CVE Terms of Use |
| NVD | CVE-2026-35521 changed 2026-10-26 | Public domain |