Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.8
CVE-2026-35520: Pi-hole FTL allows attacker to run commands via DHCP setting
CVE-2026-35520 · published 7 months ago
Summary
Versions of Pi-hole's FTL component from 6.0 up to before 6.6 let a logged‑in user change the DHCP lease time field and insert line breaks. Those line breaks can add extra configuration that the system will execute, giving the attacker the ability to run commands on the server. Upgrade to version 6.6 or later to close this risk.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| pi-hole | ftldns |
>= 6.0, <= 6.5 cpe:2.3:a:pi-hole:ftldns:*:*:*:*:*:*:*:* |
Original advisory text
Pi-hole FTL affected by Remote Code Execution (RCE) via dhcp.leaseTime Newline Injection
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 lease time configuration parameter (dhcp.leaseTime). 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.
References
- https://github.com/pi-hole/FTL/security/advisories/GHSA-fqv2-qhfh-ghcj Exploit Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35520... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-35520 Vendor Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Type
CWE-78OS Command Injection
CWE-93Improper Neutralization of CRLF Sequences ('CRLF Injection')
Timeline
Published7 Apr 2026
Updated4 Nov 2026
First seen7 Apr 2026
Track software like this
Free during beta