CVE-2026-65966
Pi-hole FTL is the core engine of the Pi-hole network-level advertisement and tracker blocker.
Impact
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.
An attacker can exploit this over the network, with an administrator account, but a user has to do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of data or systems being changed.
Affected products · Pi-hole
| Product | Affected versions |
|---|---|
| FTL | from 6.0, before 6.7 |
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/pi-hole/FTL/security/advisories/GHSA-r5vh-5q82-jg7q
- https://github.com/pi-hole/FTL/pull/2935
- https://github.com/pi-hole/FTL/pull/2936
- https://github.com/pi-hole/FTL/commit/6d7902302ca7b7fdfdc602898a8d393d449dd3fb
- https://github.com/pi-hole/FTL/releases/tag/v6.7