Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
7DescriptionGitHub Advisory
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.
AnalysisAI
Remote code execution in Pi-hole FTL DNS engine versions 6.0 through 6.5 allows authenticated attackers to execute arbitrary system commands by injecting malicious dnsmasq configuration directives through newline characters in the DNS CNAME records parameter (dns.cnameRecords). Authentication requirements confirmed (CVSS PR:L - low privileges required). Publicly available exploit code exists. CVSS 8.8 with network attack vector and low complexity indicates high exploitability once authenticated access is obtained.
Technical ContextAI
FTLDNS (pihole-FTL) is the core DNS resolver and API engine for Pi-hole network-wide ad blocking software. The vulnerability stems from improper neutralization of special elements used in OS commands (CWE-78: OS Command Injection). The dns.cnameRecords configuration parameter passes user-controlled input to dnsmasq, the underlying DNS forwarder, without adequately sanitizing newline characters. An attacker with authenticated access to the Pi-hole administrative interface can inject arbitrary dnsmasq configuration directives by embedding newline-separated commands within CNAME record definitions. Because dnsmasq configuration directives can include dhcp-script and other parameters that execute external programs, this injection vector escalates to full remote code execution with the privileges of the FTL process, typically running as the pihole user or root depending on installation configuration.
RemediationAI
Upgrade Pi-hole FTL to version 6.6 or later, which contains fixes for the command injection vulnerability in dns.cnameRecords processing. Users should run 'pihole -up' or manually update the FTL component following Pi-hole's standard upgrade procedures documented at the project's GitHub repository. As interim mitigation for environments unable to immediately upgrade, restrict administrative interface access to trusted networks only, enforce strong authentication credentials, implement network segmentation to prevent Pi-hole from accessing critical internal systems, and audit existing CNAME record configurations for suspicious entries. Monitor system logs for unexpected dnsmasq restarts or configuration changes. Complete remediation guidance is available in the vendor security advisory at https://github.com/pi-hole/FTL/security/advisories/GHSA-28g5-gg88-wh5m.
Pi-hole versions up to 3.3 contain an authenticated command injection via the domain allowlist functionality. When addin
The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files. Rated high sever
Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Rated medium severity (CVSS 6.
Pi-hole Web v4.3.2 (aka AdminLTE) allows Remote Code Execution by privileged dashboard users via a crafted DHCP static l
Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. Rated
Pi-hole®'s Web interface (based off of AdminLTE) provides a central location to manage your Pi-hole. Rated high severity
Pi-hole's Web interface provides a central location to manage a Pi-hole instance and review performance statistics. Rate
Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Rated high severity (CVSS 8.8)
An issue was discovered in Pi-Hole through 5.0. Rated high severity (CVSS 7.8), this vulnerability is low attack complex
Pi-hole 4.4 allows a user able to write to /etc/pihole/dns-servers.conf to escalate privileges through command injection
Pi-hole before 6 allows unauthenticated admin/api.php?setTempUnit= calls to change the temperature units of the web dash
adminlte is vulnerable to Sensitive Cookie Without 'HttpOnly' Flag. Rated high severity (CVSS 7.5), this vulnerability i
Same weakness CWE-78 – OS Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-19685