Skip to main content

Pi Hole CVE-2026-35519

| EUVDEUVD-2026-19711 HIGH
OS Command Injection (CWE-78)
2026-04-07 GitHub_M
8.8
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
8.8 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

7
Re-analysis Queued
Apr 28, 2026 - 20:38 vuln.today
cvss_changed
Analysis Updated
Apr 16, 2026 - 06:04 EUVD-patch-fix
executive_summary
Re-analysis Queued
Apr 16, 2026 - 05:29 backfill_euvd_patch
patch_released
Patch available
Apr 16, 2026 - 05:29 EUVD
6.6
EUVD ID Assigned
Apr 07, 2026 - 16:00 euvd
EUVD-2026-19711
Analysis Generated
Apr 07, 2026 - 16:00 vuln.today
CVE Published
Apr 07, 2026 - 15:18 nvd
HIGH 8.8

DescriptionGitHub 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 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.

AnalysisAI

Remote code execution in Pi-hole FTL 6.0 through 6.5 allows authenticated attackers to execute arbitrary commands via newline injection in DNS host record configuration. The vulnerability exploits improper input sanitization in the dns.hostRecord parameter, enabling injection of malicious dnsmasq directives that execute at the system level. With CVSS 8.8 (network-accessible, low complexity, requires low-privilege authentication), this represents a critical risk for Pi-hole deployments where administrative access controls are weak. No public exploit identified at time of analysis, though the attack vector is straightforward for authenticated users.

Technical ContextAI

Pi-hole FTL (Faster Than Light DNS) is the core DNS and DHCP engine powering Pi-hole network-wide ad blocking systems. The vulnerability stems from CWE-78 (OS Command Injection) in the DNS host record configuration interface. When authenticated users configure custom DNS host records through the dns.hostRecord parameter, FTL passes these values to the underlying dnsmasq daemon without proper sanitization of newline characters. An attacker can inject newline-delimited dnsmasq configuration directives, including exec statements or conf-file directives pointing to attacker-controlled configuration files. Since dnsmasq runs with elevated privileges to bind to port 53 and manage system DNS, any injected commands execute with the same privilege level as the FTL service. The affected product CPE cpe:2.3:a:pi-hole:ftl:*:*:*:*:*:*:*:* confirms this impacts the FTL component specifically across the 6.0-6.5 version range.

RemediationAI

Upgrade Pi-hole FTL to version 6.6 or later, which contains the complete fix for the newline injection vulnerability in DNS host record configuration. The vendor-released patch is available through standard Pi-hole update mechanisms using 'pihole -up' command or manual installation from the official Pi-hole repository. Organizations unable to immediately upgrade should implement compensating controls including restricting administrative access to the Pi-hole web interface to trusted networks only, enforcing strong authentication credentials for admin accounts, monitoring FTL logs for suspicious dnsmasq configuration changes, and implementing network segmentation to limit the blast radius of potential compromise. Complete remediation guidance and update procedures are documented in the GitHub Security Advisory at https://github.com/pi-hole/FTL/security/advisories/GHSA-wxhv-w77q-6qwp. No workarounds exist to fully mitigate the vulnerability without upgrading, as the flaw is architectural in the configuration parsing logic.

CVE-2025-34087 HIGH POC
8.8 Jul 03

Pi-hole versions up to 3.3 contain an authenticated command injection via the domain allowlist functionality. When addin

CVE-2020-11108 HIGH POC
8.8 May 11

The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files. Rated high sever

CVE-2021-29449 MEDIUM POC
6.3 Apr 14

Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Rated medium severity (CVSS 6.

CVE-2020-8816 HIGH POC
7.2 May 29

Pi-hole Web v4.3.2 (aka AdminLTE) allows Remote Code Execution by privileged dashboard users via a crafted DHCP static l

CVE-2024-34361 HIGH POC
8.8 Jul 05

Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. Rated

CVE-2023-23614 HIGH POC
8.8 Jan 26

Pi-hole®'s Web interface (based off of AdminLTE) provides a central location to manage your Pi-hole. Rated high severity

CVE-2021-32706 HIGH POC
8.8 Aug 04

Pi-hole's Web interface provides a central location to manage a Pi-hole instance and review performance statistics. Rate

CVE-2021-29448 HIGH POC
8.8 Apr 15

Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Rated high severity (CVSS 8.8)

CVE-2020-14162 HIGH POC
7.8 Jul 30

An issue was discovered in Pi-Hole through 5.0. Rated high severity (CVSS 7.8), this vulnerability is low attack complex

CVE-2020-12620 HIGH POC
7.8 Jul 30

Pi-hole 4.4 allows a user able to write to /etc/pihole/dns-servers.conf to escalate privileges through command injection

CVE-2024-44069 HIGH POC
7.5 Aug 19

Pi-hole before 6 allows unauthenticated admin/api.php?setTempUnit= calls to change the temperature units of the web dash

CVE-2021-3706 HIGH POC
7.5 Sep 15

adminlte is vulnerable to Sensitive Cookie Without 'HttpOnly' Flag. Rated high severity (CVSS 7.5), this vulnerability i

Share

CVE-2026-35519 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy