Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-35518: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in pi-hole FTL

0
High
VulnerabilityCVE-2026-35518cvecve-2026-35518cwe-78cwe-93
Published: Tue Apr 07 2026 (04/07/2026, 15:17:39 UTC)
Source: CVE Database V5
Vendor/Project: pi-hole
Product: 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 CNAME records configuration parameter (dns.cnameRecords). 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

AILast updated: 04/07/2026, 15:46:13 UTC

Technical Analysis

Pi-hole FTL versions from 6.0 to before 6.6 contain an OS command injection vulnerability (CWE-78) in the dns.cnameRecords parameter. Authenticated users can exploit improper input sanitization to inject newline characters, enabling arbitrary dnsmasq configuration directives to be executed. This ultimately allows remote code execution on the host system. The vulnerability has a CVSS 3.1 score of 8.8, indicating high impact on confidentiality, integrity, and availability. The issue is resolved in Pi-hole FTL version 6.6.

Potential Impact

Successful exploitation allows an authenticated attacker to execute arbitrary commands on the underlying system hosting Pi-hole FTL. This can lead to full system compromise, affecting confidentiality, integrity, and availability of the affected system. The vulnerability affects all Pi-hole FTL versions starting from 6.0 up to but not including 6.6. There are no reports of active exploitation in the wild.

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 fixed in version 6.6; no other remediation or temporary fixes are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 69d52344aaed68159a2ec624

Added to database: 4/7/2026, 3:31:16 PM

Last enriched: 4/7/2026, 3:46:13 PM

Last updated: 4/8/2026, 12:46:27 AM

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses