CVE-2026-35519CWE-78CWE-93

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

High · published April 7, 2026

CVSS v3.1
8.8
EPSS
1%
Percentile
62.4
In the wild
Unconfirmed
What it is

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 DNS host record configuration parameter (dns.hostRecord). 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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00999 · 62.4th percentile
Weaknesses
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'); CWE-93 · Improper Neutralization of CRLF Sequences ('CRLF Injection')
Published
2026-04-07T15:18Z
EPSS history
Timeline
  • 07 APR 15:18Z
    Pi-hole FTL affected by Remote Code Execution (RCE) via dns.hostRecord Newline Injection
    cvelistv5