CVE-2026-35519: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in pi-hole FTL
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 DNS host record configuration parameter (dns.hostRecord). 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.
AI Analysis
Technical Summary
Pi-hole FTL (FTLDNS) versions from 6.0 to before 6.6 contain an OS command injection vulnerability in the dns.hostRecord parameter. This parameter is used in DNS host record configuration and is vulnerable because it does not properly neutralize special characters, specifically newline characters, allowing injection of arbitrary dnsmasq directives. An authenticated attacker can exploit this to execute arbitrary commands on the host system. The vulnerability is classified under CWE-78 (Improper Neutralization of Special Elements used in an OS Command) and CWE-93 (Improper Neutralization of CRLF Sequences). The vulnerability has a CVSS 3.1 base score of 8.8, indicating high severity. The vulnerability is resolved in Pi-hole FTL version 6.6.
Potential Impact
Successful exploitation allows an authenticated attacker to achieve remote code execution on the underlying system running Pi-hole FTL. This can lead to full compromise of the affected system, including confidentiality, integrity, and availability impacts. The vulnerability affects all versions from 6.0 up to but not including 6.6. No public exploits are currently known.
Mitigation Recommendations
Upgrade Pi-hole FTL to version 6.6 or later, where this vulnerability is fixed. Since the vulnerability requires authentication, ensure that access to the Pi-hole administrative interface is properly restricted. Patch status is confirmed by the vendor's versioning information indicating the fix in 6.6. No other mitigations are specified.
CVE-2026-35519: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in pi-hole FTL
Description
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 DNS host record configuration parameter (dns.hostRecord). 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Pi-hole FTL (FTLDNS) versions from 6.0 to before 6.6 contain an OS command injection vulnerability in the dns.hostRecord parameter. This parameter is used in DNS host record configuration and is vulnerable because it does not properly neutralize special characters, specifically newline characters, allowing injection of arbitrary dnsmasq directives. An authenticated attacker can exploit this to execute arbitrary commands on the host system. The vulnerability is classified under CWE-78 (Improper Neutralization of Special Elements used in an OS Command) and CWE-93 (Improper Neutralization of CRLF Sequences). The vulnerability has a CVSS 3.1 base score of 8.8, indicating high severity. The vulnerability is resolved in Pi-hole FTL version 6.6.
Potential Impact
Successful exploitation allows an authenticated attacker to achieve remote code execution on the underlying system running Pi-hole FTL. This can lead to full compromise of the affected system, including confidentiality, integrity, and availability impacts. The vulnerability affects all versions from 6.0 up to but not including 6.6. No public exploits are currently known.
Mitigation Recommendations
Upgrade Pi-hole FTL to version 6.6 or later, where this vulnerability is fixed. Since the vulnerability requires authentication, ensure that access to the Pi-hole administrative interface is properly restricted. Patch status is confirmed by the vendor's versioning information indicating the fix in 6.6. No other mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-03T02:15:39.280Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d52a46aaed68159a30f89e
Added to database: 4/7/2026, 4:01:10 PM
Last enriched: 4/15/2026, 12:24:28 PM
Last updated: 5/23/2026, 3:45:10 AM
Views: 34
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.