Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Pi-hole FTL API
-
DeliveryModify dhcp.leaseTime parameter with newline injection
-
ExploitInject dnsmasq configuration directives
-
ExecutionExecute arbitrary system commands
-
ImpactAchieve 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
3DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Related Vulnerabilities in FTLDNS Pi-hole FTL Remote Code Execution
View all 5Session hijacking in Pi-hole FTL versions prior to 6.6.1 stems from a race condition in the CivetWeb-based HTTP session
The ftlserver component of TIBCO Software Inc.'s TIBCO FTL - Community Edition, TIBCO FTL - Developer Edition, TIBCO FTL
The realm configuration component of TIBCO Software Inc.'s TIBCO FTL Community Edition, TIBCO FTL Developer Edition, TIB
The realm server (tibrealmserver) component of TIBCO Software Inc. Rated high severity (CVSS 8.8), this vulnerability is
The ftlserver component of TIBCO Software Inc.'s TIBCO FTL - Community Edition, TIBCO FTL - Developer Edition, TIBCO FTL
The FTL Server (tibftlserver), FTL C API, FTL Golang API, FTL Java API, and FTL .Net API components of TIBCO Software In
The Windows Installation component of TIBCO Software Inc.'s TIBCO FTL - Community Edition, TIBCO FTL - Developer Edition
The FTL Server (tibftlserver) and Docker images containing tibftlserver components of TIBCO Software Inc.'s TIBCO Active
EUVD-2026-19713
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB