CVE-2026-35517

HIGH

Pi-hole FTL affected by Remote Code Execution (RCE) via dns.upstreams Newline Injection

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-35517. PoCs published by keraattin.

AI-analyzed exploit summary This repository contains a Python script that detects Pi-hole instances vulnerable to CVE-2026-35517, a newline injection flaw in FTLDNS (CWE-93) leading to RCE. The script checks for vulnerable versions (6.0-6.5) but does not include exploit code.

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

Exploits (1)

nomisec SCANNER
by keraattin · poc
https://github.com/keraattin/CVE-2026-35517

This repository contains a Python script that detects Pi-hole instances vulnerable to CVE-2026-35517, a newline injection flaw in FTLDNS (CWE-93) leading to RCE. The script checks for vulnerable versions (6.0-6.5) but does not include exploit code.

Classification
Scanner 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Pi-hole FTLDNS 6.0 to 6.5
Auth required
Prerequisites: Network access to Pi-hole admin interface · Valid credentials for API access
devstral-2 · analyzed Apr 14, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 8.8
EPSS 0.0086
EPSS Percentile 53.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-78 CWE-93
Status published
Products (2)
pi-hole/FTL >= 6.0, < 6.6
pi-hole/ftldns 6.0 - 6.5
Published Apr 07, 2026
Tracked Since Apr 07, 2026