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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-04-07 · Modified: 2026-04-08
- Record: https://cvemate.com/vulnerability/CVE-2026-35518 · JSON: https://cvemate.com/vulnerability/CVE-2026-35518/json

## Description

```text
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 CNAME records configuration parameter (dns.cnameRecords). 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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.797%, percentile 57.864%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- pi-hole ftl: ≥ 6.0, \< 6.6
- pi-hole ftldns: ≥ 6.0, ≤ 6.5

## References

- <https://github.com/pi-hole/FTL/security/advisories/GHSA-28g5-gg88-wh5m>

---

Data as of 2026-12-06T07:23:03.080Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
