Cyber Posture

CVE-2026-35517

High

Published: 07 April 2026

Published
07 April 2026
Modified
08 April 2026
KEV Added
Patch
CVSS Score 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0011 29.0th percentile
Risk Priority 18 60% EPSS · 20% KEV · 20% CVSS

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 upstream DNS servers configuration parameter (dns.upstreams). This vulnerability…

more

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.

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly mitigates the RCE vulnerability by requiring timely installation of the fix in Pi-hole FTL version 6.6.

prevent

Prevents exploitation by validating and sanitizing the dns.upstreams input parameter to block newline injection and arbitrary dnsmasq directives.

prevent

Limits the attack surface by restricting and documenting authorized changes to critical configuration settings like dns.upstreams.

Security SummaryAI

CVE-2026-35517 is a remote code execution (RCE) vulnerability in the Pi-hole FTL engine, also known as FTLDNS, which provides an interactive API and generates statistics for Pi-hole's web interface. Affecting versions from 6.0 up to but not including 6.6, the flaw resides in the upstream DNS servers configuration parameter (dns.upstreams). It enables injection of arbitrary dnsmasq configuration directives via newline characters, leading to command execution on the underlying system. The vulnerability is associated with CWE-78 (OS Command Injection) and CWE-93 (Improper Neutralization of CRLF Sequences), and carries a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

An authenticated attacker with low privileges (PR:L) can exploit this vulnerability remotely over the network with low complexity and no user interaction required. By crafting a malicious payload in the dns.upstreams parameter, the attacker injects dnsmasq directives that execute arbitrary commands on the host system, potentially granting full control including high confidentiality, integrity, and availability impacts.

The official advisory on GitHub (GHSA-23w8-7333-p9fj) confirms the issue is resolved in Pi-hole FTL version 6.6, recommending immediate upgrades to mitigate the risk. No additional workarounds are specified in the provided details.

Details

CWE(s)

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1059.004 Unix Shell Execution
Adversaries may abuse Unix shell commands and scripts for execution.
Why these techniques?

RCE via authenticated remote command injection in Pi-hole FTL API enables exploitation of public-facing web application (T1190), remote services (T1210), privilege escalation (T1068), and Unix shell execution (T1059.004).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

References