CVE-2026-35520: Pi-hole FTL affected by Remote Code Execution (RCE) via dhcp.leaseTime Newline Injection

Published Apr 7, 2026
·
Updated

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.

Affected Software

2 affected components
Pi-hole FTLDNS (pihole-FTL)>=6.0<6.6
Pi-hole FTLDNS>=6.0<=6.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Pi-hole FTL (pihole-FTL) to a version that resolves this vulnerability.

    Fixed in 6.6

Event History

Apr 7, 2026
CVE Published
via MITRE·03:19 PM
Data Sourced
via MITRE·03:19 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-35520?

CVE-2026-35520 is classified as a critical severity vulnerability due to its potential for Remote Code Execution.

2

How does CVE-2026-35520 affect Pi-hole FTLDNS?

CVE-2026-35520 allows an attacker to execute arbitrary code on the Pi-hole FTLDNS server via newline injection in DHCP lease time.

3

What versions of Pi-hole FTLDNS are impacted by CVE-2026-35520?

Pi-hole FTLDNS versions from 6.0 up to but not including 6.6 are affected by CVE-2026-35520.

4

How do I fix CVE-2026-35520?

To remediate CVE-2026-35520, upgrade your Pi-hole FTLDNS to version 6.6 or later.

5

What actions should I take if I am using an affected version of Pi-hole?

If you are using an affected version of Pi-hole, it is critical to update to a non-vulnerable version immediately to mitigate the risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203