# CVE-2026-35517: Pi-hole FTL affected by Remote Code Execution (RCE) via dns.upstreams Newline Injection

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.89%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-07T15:16:02.955Z
- Modified: 2026-10-26T22:10:00.163Z
- Weaknesses: CWE-78, CWE-93
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- pi-hole FTL: >= 6.0, < 6.6
- pi-hole ftldns: from 6.0 up to 6.5

## References

- <https://github.com/pi-hole/FTL/security/advisories/GHSA-23w8-7333-p9fj> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-35517](https://www.cve.org/CVERecord?id=CVE-2026-35517), CVE Terms of Use, modified 2026-04-07
- NVD: [CVE-2026-35517](https://nvd.nist.gov/vuln/detail/CVE-2026-35517), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-35517 · Whole record: https://cve.day/CVE-2026-35517.json · Rebuilt by cve.day 2026-11-25T22:59:18.122Z
