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 upstream DNS servers configuration parameter (dns.upstreams). 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 engine versions 6.0 through 6.5 allows authenticated attackers with low privileges to execute arbitrary system commands by injecting newline-delimited dnsmasq configuration directives into the upstream DNS servers parameter (dns.upstreams). The vulnerability requires network access with authentication (CVSS:3.1 PR:L) but has low attack complexity and no user interaction required. No public exploit identified at time of analysis, though technical details are available in the GitHub Security Advisory.
Technical ContextAI
Pi-hole FTL (Faster Than Light DNS) is the core DNS engine and API server for Pi-hole network-wide ad blocking. The vulnerability stems from improper input neutralization (CWE-78: OS Command Injection) in the dns.upstreams configuration parameter processing. When administrators configure upstream DNS servers through the FTL API, the system fails to sanitize newline characters in the input. Since FTL passes this configuration to the underlying dnsmasq DNS forwarder, an attacker can inject additional dnsmasq configuration directives by embedding newline-separated commands. Dnsmasq's configuration format allows directives that can execute external programs (such as dhcp-script or script-arp), enabling attackers to escalate from configuration injection to arbitrary command execution on the host system running Pi-hole. This affects the cpe:2.3:a:pi-hole:ftl product across all 6.x versions prior to the patched release.
RemediationAI
Upgrade Pi-hole FTL to version 6.6 or later immediately to address this vulnerability. The vendor-released patch version 6.6 contains input validation fixes that prevent newline injection in the dns.upstreams parameter. Administrators can update by running the standard Pi-hole update command: 'pihole -up' or by manually updating the FTL component through the package manager on their distribution. Until patching is complete, implement the following temporary mitigations: restrict network access to the Pi-hole admin interface to trusted management networks only using firewall rules, enforce strong authentication credentials and enable two-factor authentication if available through reverse proxy configurations, audit all accounts with administrative access to Pi-hole and revoke unnecessary privileges, and monitor system logs for unexpected dnsmasq configuration changes or suspicious process execution. Review the complete remediation guidance and security advisory at https://github.com/pi-hole/FTL/security/advisories/GHSA-23w8-7333-p9fj for additional context on the vulnerability and patch details.
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-19684