Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid admin SID and CSRF token
-
DeliveryPOST /api/groups with CRLF in group name
-
ExploitBypass GRAVITY_GROUPS space/CRLF validation
-
ExecutionCivetWeb emits injected Set-Cookie header
-
ImpactVictim browser adopts attacker session cookie
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTTP response header sanitization
|
| Exploitation Conditions | Requires an authenticated Pi-hole administrator session - a valid SID and matching X-CSRF-TOKEN - to reach POST /api/groups (PR:H). The flaw triggers only for the GRAVITY_GROUPS list type, where the code sets spaces_allowed=true and therefore skips the block at list.c:387-410 that would otherwise reject spaces, tabs and newlines; the attacker places a literal CR/LF in the group's 'name' field, which is then written unsanitized into the Location header via snprintf at list.c:509 and split into independent headers by CivetWeb. Impact additionally depends on a browser processing the crafted response (UI:R) for session fixation, redirect, or cache effects to take hold. Limiting factors: administrative authentication is mandatory (an attacker with admin rights already controls the appliance, sharply reducing real-world severity), the behavior is specific to the groups endpoint, and affected versions are FTL 6.0 through before 6.7 - the only complete fix per the vendor is updating to v6.7. |
| Impact | This is a low-urgency, defense-in-depth issue rather than a frontline priority, and the signals agree on that. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N, base 3.5) encodes the core limiter: PR:H means exploitation requires an already-authenticated Pi-hole administrator, and an admin already holds full control of the appliance - so the CRLF/header-injection primitive mostly lets an attacker who has admin rights pivot to session fixation or client-side effects rather than cross a trust boundary. UI:R confirms a victim browser must process the crafted response for impact to land. The vuln.today Decision label is 'monitor', consistent with the low CVSS and the high-privilege precondition. No EPSS score and no CISA KEV entry are present in the input, so exploitation status is: no confirmed active exploitation. A detailed, working proof-of-concept (authenticate, then POST a group name containing CRLF) is published in the vendor GHSA advisory; this is exploit guidance, not a signal of in-the-wild use - do not conflate the two. The main caveat is a modeling question on scope: because the injected headers (e.g. Set-Cookie) act on the administrator's browser, an argument exists for S:C, which would raise the score slightly; the input uses S:U and so do I, but the real-world impact is bounded far more by the PR:H requirement than by the scope choice. Net: a real but minor hardening fix, correctly rated low priority. |
| Exploit ScenarioDerived | An authenticated Pi-hole administrator (or an attacker who has already obtained a valid SID and CSRF token) sends POST /api/groups with a group name containing a CRLF sequence followed by 'Set-Cookie: sid=ATTACKER_SID'. Because GRAVITY_GROUPS names allow spaces, the CRLF validation block is skipped and the name is copied verbatim into the Location header buffer, which CivetWeb splits into separate response headers. When a browser processes the response it overwrites the admin session cookie with the attacker-controlled value (session fixation); a full working PoC with curl commands is published in the vendor GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
CRLF injection in the HTTP response headers of Pi-hole FTL 6.0 through 6.7 lets an authenticated administrator plant arbitrary headers, including Set-Cookie and Location, by creating a group whose name contains a literal carriage-return/line-feed sequence. The unsanitized group name is written into the Location value by snprintf and CivetWeb then splits the buffer on CRLF, emitting each line as an independent response header, so a browser that processes the response can be subjected to session fixation, attacker-controlled redirects or cache manipulation. Reaching POST /api/groups requires a valid SID plus a matching X-CSRF-TOKEN (PR:H) and impact further depends on a browser handling the crafted response (UI:R); the vendor advisory publishes a step-by-step proof-of-concept reproduction, and no active exploitation has been confirmed. The vendor's complete fix is FTL v6.7, and the vulnerability is assessed as a low-urgency, defense-in-depth issue rather than a frontline priority.
RemediationAI
Upgrade Pi-hole FTL to v6.7, which the vendor identifies as the only complete fix; the release at https://github.com/pi-hole/FTL/releases/tag/v6.7 incorporates the corrections from pull requests https://github.com/pi-hole/FTL/pull/2935 and https://github.com/pi-hole/FTL/pull/2936 and commit https://github.com/pi-hole/FTL/commit/6d7902302ca7b7fdfdc602898a8d393d449dd3fb, and full details are in advisory https://github.com/pi-hole/FTL/security/advisories/GHSA-r5vh-5q82-jg7q. No separate vendor workaround is documented, so interim risk reduction means narrowing exposure of the admin API: because the flaw can only be reached with a valid SID and matching X-CSRF-TOKEN, limiting who holds Pi-hole administrator credentials and restricting network access to the web interface and /api endpoints to trusted management networks reduces the attack surface, though this does not remove the underlying header-injection flaw and adds operational friction for legitimate administrators. Post-upgrade, review existing groups for names containing control characters and rotate admin session cookies in case a crafted response was ever delivered to a browser.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-113 (improper neutralization of CRLF sequences in HTTP headers), located in Pi-hole FTL's API list handler written in C against the embedded CivetWeb web server. In src/api/list.c the input validator at lines 387-410 rejects spaces, tabs and newlines only when the spaces_allowed flag is false; the flag is set as spaces_allowed = (listtype == GRAVITY_GROUPS), so for group objects created via POST /api/groups the entire validation block is skipped and a name containing \r\n passes untouched. The name is then formatted with snprintf into the process-wide pi_hole_extra_headers buffer as a Location header (list.c:509), from which civetweb.c (lines 4229-4232) calls mg_response_header_add_lines; that helper invokes parse_http_headers, which splits on CRLF and registers every line as a separate header in the outgoing response. The result is classic response-splitting: Set-Cookie, Location or Cache-Control supplied by the attacker arrive as fully formed headers. The CPE cpe:2.3:a:pi-hole:ftl:*:*:*:*:*:*:*:* identifies FTL as the affected component, and the fix landed through pull requests 2935 and 2936 plus commit 6d7902302ca7b7fdfdc602898a8d393d449dd3fb.
Know when Ftl gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
Admin authentication is required (PR:H) and a victim browser must process the injected headers (UI:R); header injection yields limited confidentiality/integrity impact (C:L/I:L) with no availability effect.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Pi-hole FTL 6.0 through 6.6 bundles CivetWeb without connection or request-rate limits, so remote unauthenticated client
Session expiration bypass in Pi-hole FTL 6.0 through 6.6 lets an attacker who possesses a previously issued session iden
Remote code execution in Pi-hole FTL engine versions 6.0 through 6.5 allows authenticated attackers to execute arbitrary
Remote code execution in Pi-hole FTL engine versions 6.0 through 6.5 allows authenticated attackers to inject arbitrary
Remote code execution in Pi-hole FTL 6.0 through 6.5 allows authenticated attackers to execute arbitrary commands via ne
Remote code execution in Pi-hole FTL DNS engine versions 6.0 through 6.5 allows authenticated attackers to execute arbit
Remote code execution in Pi-hole FTL engine versions 6.0 through 6.5 allows authenticated attackers with low privileges
Session hijacking in Pi-hole FTL versions prior to 6.6.1 stems from a race condition in the CivetWeb-based HTTP session
The ftlserver component of TIBCO Software Inc.'s TIBCO FTL - Community Edition, TIBCO FTL - Developer Edition, TIBCO FTL
The realm configuration component of TIBCO Software Inc.'s TIBCO FTL Community Edition, TIBCO FTL Developer Edition, TIB
The realm server (tibrealmserver) component of TIBCO Software Inc. Rated high severity (CVSS 8.8), this vulnerability is
The ftlserver component of TIBCO Software Inc.'s TIBCO FTL - Community Edition, TIBCO FTL - Developer Edition, TIBCO FTL
EUVD-2026-127549
NVD
CVE.org
EPSS
GitHub
Exploit-DB