{"id":"CVE-2026-65966","summary":"Pi-hole FTL: CRLF Injection / HTTP Header Injection via Group Name","details":"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.","aliases":["GHSA-r5vh-5q82-jg7q"],"modified":"2026-11-17T21:46:19.242371110Z","published":"2026-11-17T20:47:36.667Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-113"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65966.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65966.json"},{"type":"FIX","url":"https://github.com/pi-hole/FTL/commit/6d7902302ca7b7fdfdc602898a8d393d449dd3fb"},{"type":"FIX","url":"https://github.com/pi-hole/FTL/pull/2935"},{"type":"FIX","url":"https://github.com/pi-hole/FTL/pull/2936"},{"type":"WEB","url":"https://github.com/pi-hole/FTL/releases/tag/v6.7"},{"type":"ADVISORY","url":"https://github.com/pi-hole/FTL/security/advisories/GHSA-r5vh-5q82-jg7q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65966"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pi-hole/ftl","events":[{"introduced":"eaa7dbb4cf4316413558c9d4b4e3f2a44f8e8203"},{"fixed":"fa65a88f8cdef1013594d4de14108077954faea4"},{"fixed":"6d7902302ca7b7fdfdc602898a8d393d449dd3fb"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"6.0"},{"fixed":"6.7"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"6d7902302ca7b7fdfdc602898a8d393d449dd3fb"}]},{"original_tag":"v6.7","range":[{"fixed":"fa65a88f8cdef1013594d4de14108077954faea4"}],"source":"REFERENCES_TAG"}]}}],"versions":["v6.6.2","v6.6.1","v6.6","v6.5","v6.4.1","v6.3.3","v6.3.2","v6.3.1","v6.3","v6.2.3","v6.2.2","v6.2.1","v6.2","v6.1","v6.0.4","v6.0.3","v6.0.2","v6.0.1","v6.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-65966.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N"}]}