CVE-2026-35517: Pi-hole FTL affected by Remote Code Execution (RCE) via dns.upstreams 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 upstream DNS servers configuration parameter (dns.upstreams). 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 pihole-FTL to a version that resolves this vulnerability.

    Fixed in 6.6

Event History

Apr 7, 2026
CVE Published
via MITRE·03:16 PM
Data Sourced
via MITRE·03:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeaknessAffected Software
Apr 14, 2026
Exploit Published
via GitHub·06:26 AM

Frequently Asked Questions

1

What is the severity of CVE-2026-35517?

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

2

How do I fix CVE-2026-35517?

To fix CVE-2026-35517, upgrade Pi-hole FTL to version 6.6 or higher.

3

What versions are affected by CVE-2026-35517?

CVE-2026-35517 affects Pi-hole FTL versions from 6.0 to before 6.6.

4

What can an attacker achieve with CVE-2026-35517?

An attacker can execute arbitrary code on the system by exploiting the Remote Code Execution vulnerability in CVE-2026-35517.

5

Is there a workaround for CVE-2026-35517 before upgrading?

There is no official workaround for CVE-2026-35517, so upgrading to a patched version is recommended.

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