Pi-hole FTL HTTP response header injection in group names
pi-hole FTL
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pi-hole FTL |
| No fix yet |
Original description
Pi-hole FTL is the core engine of the Pi-hole network-level advertisement and tracker blocker. From 6.0 until 6.7, validation in src/api/list.c permits spaces for GRAVITY_GROUPS and consequently skips carriage-return and line-feed validation for group names submitted through POST /api/groups. The unsanitized name is copied into the Location value in pi_hole_extra_headers, and CivetWeb interprets embedded CR/LF sequences as separate HTTP response headers. An authenticated administrator can therefore inject headers such as Set-Cookie, Location, or Cache-Control; when a browser processes the response, this can cause session fixation, attacker-controlled redirects, or cache behavior changes. This issue is fixed in version 6.7.
From the CVE record · GitHub_M
References
- github.com/pi-hole/FTL/security/advisories/GHSA-r5vh-5q82-jg7q
- github.com/pi-hole/FTL/pull/2935
- github.com/pi-hole/FTL/pull/2936
- github.com/pi-hole/FTL/commit/6d7902302ca7b7fdfdc602898a8d393d449dd3fb
- github.com/pi-hole/FTL/releases/tag/v6.7
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65966.json
- nvd.nist.gov/vuln/detail/CVE-2026-65966