Skip to main content

Ftl CVE-2026-35517

| EUVDEUVD-2026-19684 HIGH
OS Command Injection (CWE-78)
2026-04-07 GitHub_M
8.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Pi-hole FTL API
  2. Exploit
    Inject newline characters in dns.upstreams parameter
  3. Execution
    Inject dnsmasq configuration directives
  4. Impact
    Execute arbitrary system commands

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Authenticated attacker with access to Pi-hole FTL API versions 6.0-6.5. Attacker must modify the dns.upstreams configuration parameter by injecting newline characters with dnsmasq directives to achieve command execution on the underlying system.

Impact

This vulnerability presents a significant risk to Pi-hole deployments despite requiring authenticated access. The CVSS score of 8.8 (High) reflects network-based attack vector (AV:N), low complexity (AC:L), and complete impact to confidentiality, integrity, and availability (C:H/I:H/A:H). However, the low-privilege authentication requirement (PR:L) substantially reduces real-world exploitability compared to unauthenticated RCE. The vulnerability requires an attacker to first compromise valid Pi-hole administrative credentials or exploit another authentication bypass. No confirmed active exploitation (not listed in CISA KEV) and no weaponized public exploit code has been identified, suggesting threat actors have not yet operationalized this attack path. The technical impact is severe-full system compromise-but the prerequisite of credential access limits mass exploitation scenarios. Organizations should prioritize this based on their Pi-hole exposure: internet-facing Pi-hole admin interfaces represent critical risk, while LAN-only deployments with strong credential hygiene face moderate risk. The availability of a vendor patch (version 6.6) and relatively narrow affected version range (6.0-6.5) make remediation straightforward for most deployments.

Exploit ScenarioDerived

An attacker who has obtained valid Pi-hole administrative credentials (through phishing, credential stuffing, or exploiting weak default passwords) authenticates to the Pi-hole web interface or API endpoint from a remote network location. The attacker navigates to the upstream DNS server configuration section and injects a malicious payload into the dns.upstreams parameter containing embedded newline characters followed by dnsmasq directives such as 'dhcp-script=/tmp/malicious.sh'. When FTL processes this configuration and regenerates the dnsmasq configuration file, the injected directive is written and activated. Upon the next DHCP event or DNS query triggering the injected hook, dnsmasq executes the attacker's script with the privileges of the FTL/dnsmasq process (typically root on Pi-hole systems), granting complete system compromise. The attacker can then establish persistence, exfiltrate DNS query data, pivot to other network systems, or use the compromised Pi-hole as a command-and-control node within the network.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 07, 2026

Remote code execution in Pi-hole FTL engine versions 6.0 through 6.5 allows authenticated attackers with low privileges to execute arbitrary system commands by injecting newline-delimited dnsmasq configuration directives into the upstream DNS servers parameter (dns.upstreams). The vulnerability requires network access with authentication (CVSS:3.1 PR:L) but has low attack complexity and no user interaction required. No public exploit identified at time of analysis, though technical details are available in the GitHub Security Advisory.

RemediationAI

Upgrade Pi-hole FTL to version 6.6 or later immediately to address this vulnerability. The vendor-released patch version 6.6 contains input validation fixes that prevent newline injection in the dns.upstreams parameter. Administrators can update by running the standard Pi-hole update command: 'pihole -up' or by manually updating the FTL component through the package manager on their distribution. Until patching is complete, implement the following temporary mitigations: restrict network access to the Pi-hole admin interface to trusted management networks only using firewall rules, enforce strong authentication credentials and enable two-factor authentication if available through reverse proxy configurations, audit all accounts with administrative access to Pi-hole and revoke unnecessary privileges, and monitor system logs for unexpected dnsmasq configuration changes or suspicious process execution. Review the complete remediation guidance and security advisory at https://github.com/pi-hole/FTL/security/advisories/GHSA-23w8-7333-p9fj for additional context on the vulnerability and patch details.

Affected VersionsENISA

FTL 6.0, < 6.6

Affected Packages

euvd ftl_6_0 fix: 6.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Pi-hole FTL (Faster Than Light DNS) is the core DNS engine and API server for Pi-hole network-wide ad blocking. The vulnerability stems from improper input neutralization (CWE-78: OS Command Injection) in the dns.upstreams configuration parameter processing. When administrators configure upstream DNS servers through the FTL API, the system fails to sanitize newline characters in the input. Since FTL passes this configuration to the underlying dnsmasq DNS forwarder, an attacker can inject additional dnsmasq configuration directives by embedding newline-separated commands. Dnsmasq's configuration format allows directives that can execute external programs (such as dhcp-script or script-arp), enabling attackers to escalate from configuration injection to arbitrary command execution on the host system running Pi-hole. This affects the cpe:2.3:a:pi-hole:ftl product across all 6.x versions prior to the patched release.

Know when Ftl gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 06:04 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
6.6
CVE Published
Apr 07, 2026 - 15:16 nvd
HIGH 8.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Pi-hole FTL versions 6.0-6.5 contain a remote code execution vulnerability affecting authenticated users with low privileges, enabling attackers to execute arbitrary system commands through DNS configuration injection. Organizations using Pi-hole for DNS filtering face direct risk to network infrastructure integrity and potential lateral movement opportunities if an authenticated account is compromised.

Business Impact: High
Compensating Controls

Apply vendor patch. Until patched: (1) Restrict network access to Pi-hole Admin UI to trusted administrative networks only via firewall rules; (2) disable or audit all low-privilege user accounts-disable accounts not actively required; (3) implement read-only API tokens where possible; (4) enable administrative audit logging for all configuration changes; (5) monitor DNS query logs and dnsmasq configuration file modifications for anomalies.

Threat Intelligence Overview

EPSS Score
0.2%
Top 58% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy