Skip to main content

Ftl CVE-2026-35520

| EUVDEUVD-2026-19713 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. Delivery
    Modify dhcp.leaseTime parameter with newline injection
  3. Exploit
    Inject dnsmasq configuration directives
  4. Execution
    Execute arbitrary system commands
  5. Impact
    Achieve remote code execution on host

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 or Web interface versions 6.0-6.5. Attacker must modify the dhcp.leaseTime configuration parameter by injecting newline characters to inject arbitrary dnsmasq directives, achieving command execution.

Impact

This vulnerability presents significant real-world risk despite requiring authentication. The CVSS 8.8 score accurately reflects the threat severity: network-accessible attack vector (AV:N), low complexity (AC:L), requires only low privileges (PR:L), no user interaction (UI:N), and achieves full system compromise across confidentiality, integrity, and availability (C:H/I:H/A:H). No public exploit code has been identified and the vulnerability is not listed in CISA KEV, indicating no confirmed active exploitation at this time. However, the low attack complexity and clear injection vector mean proof-of-concept development would be straightforward for skilled attackers. The requirement for authentication provides some defense-in-depth, but Pi-hole administrative interfaces are commonly exposed on home and small business networks where credential hygiene may be weak. Organizations using Pi-hole in production environments or with internet-exposed management interfaces should treat this as a critical priority for immediate patching. The command injection nature makes this vulnerability automatable once initial access is obtained, and the complete system compromise potential enables lateral movement, data exfiltration, or denial of service scenarios.

Exploit ScenarioDerived

An attacker who has obtained or brute-forced credentials for a low-privilege Pi-hole administrative account accesses the web interface from the internet or local network. The attacker navigates to the DHCP settings page and modifies the lease time parameter, injecting newline characters followed by malicious dnsmasq directives such as 'dhcp-script=/tmp/malicious.sh'. When the FTL engine processes this configuration, it writes the injected directives into the dnsmasq configuration file and triggers a configuration reload. The malicious dhcp-script directive causes dnsmasq to execute the attacker's payload script whenever DHCP events occur, granting the attacker persistent code execution with the privileges of the FTL process. From this foothold, the attacker can pivot to compromise the entire Pi-hole system, exfiltrate DNS query logs, modify DNS responses for phishing campaigns, or use the compromised system as a launching point for attacks against other network devices.

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 to inject arbitrary dnsmasq configuration directives via newline character injection in the DHCP lease time parameter (dhcp.leaseTime), leading to command execution on the underlying system. Affects the FTLDNS component that provides Pi-hole's interactive API and web statistics. No public exploit identified at time of analysis, though exploitation requires only low-complexity attack methods with network access and low-privilege authentication (CVSS 8.8).

RemediationAI

Upgrade Pi-hole FTL to version 6.6 or later, which contains fixes for the newline injection vulnerability in DHCP lease time configuration parsing. The vendor-released patch is available through standard Pi-hole update mechanisms or can be obtained directly from the Pi-hole GitHub repository. Follow the official update procedure documented at the vendor advisory https://github.com/pi-hole/FTL/security/advisories/GHSA-fqv2-qhfh-ghcj. As an interim mitigation if immediate patching is not feasible, restrict access to the Pi-hole administrative interface to trusted networks only using firewall rules, disable remote administrative access, and audit user accounts with DHCP configuration permissions. Review DHCP configuration for any suspicious entries that may indicate prior exploitation. After upgrading, verify the installed version is 6.6 or higher using the Pi-hole administrative interface or command-line tools.

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 engine powering Pi-hole's DNS and DHCP services, providing telemetry and configuration management. This vulnerability exploits insufficient input validation in the DHCP lease time configuration parameter, classified as CWE-78 (OS Command Injection). The attack leverages newline character injection to break out of the intended configuration context and inject arbitrary dnsmasq configuration directives. Since dnsmasq configuration files support various directives that can execute external programs (such as dhcp-script or dhcp-luascript options), an attacker can craft malicious input that ultimately results in arbitrary command execution with the privileges of the FTL process. The vulnerability exists in the configuration parsing layer where user-supplied DHCP lease time values are incorporated into dnsmasq configuration without proper sanitization of control characters.

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:19 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 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.

Executive ViewAI

Why It Matters

Pi-hole FTL engine versions 6.0-6.5 contain a remote code execution vulnerability in the DHCP lease time configuration parameter that allows authenticated users to execute arbitrary commands on affected DNS servers. Organizations operating Pi-hole for network-wide ad blocking and DNS filtering should prioritize patching to prevent attackers with basic network access and low-privilege credentials from gaining system-level control.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigation: restrict network access to Pi-hole's web interface and API (port 80/443) to trusted administrative networks only using firewall rules; disable or severely restrict low-privilege user accounts from accessing DHCP configuration settings.

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