Skip to main content

Pi-hole FTL CVE-2026-65966

| EUVDEUVD-2026-127549 LOW
HTTP Response Splitting (CWE-113)
2026-11-17 GitHub_M
3.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid admin SID and CSRF token
  2. Delivery
    POST /api/groups with CRLF in group name
  3. Exploit
    Bypass GRAVITY_GROUPS space/CRLF validation
  4. Execution
    CivetWeb emits injected Set-Cookie header
  5. Impact
    Victim 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FTL 6.0, < 6.7

Affected Packages

euvd ftl fix: 6.7

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

Vendor (GitHub_M) PRIMARY 3.5 LOW
AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
vuln.today AI 3.5 LOW

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.

3.1 AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Nov 17, 2026 - 22:04 EUVD

DescriptionCVE.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

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Medium
popular self-hosted DNS ad-blocker, mostly home and lab deployments
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in Ftl

View all
CVE-2025-62165 CRITICAL
9.2 Nov 17

Pi-hole FTL 6.0 through 6.6 bundles CivetWeb without connection or request-rate limits, so remote unauthenticated client

CVE-2026-71304 HIGH
8.8 Nov 17

Session expiration bypass in Pi-hole FTL 6.0 through 6.6 lets an attacker who possesses a previously issued session iden

CVE-2026-35521 HIGH
8.8 Apr 07

Remote code execution in Pi-hole FTL engine versions 6.0 through 6.5 allows authenticated attackers to execute arbitrary

CVE-2026-35520 HIGH
8.8 Apr 07

Remote code execution in Pi-hole FTL engine versions 6.0 through 6.5 allows authenticated attackers to inject arbitrary

CVE-2026-35519 HIGH
8.8 Apr 07

Remote code execution in Pi-hole FTL 6.0 through 6.5 allows authenticated attackers to execute arbitrary commands via ne

CVE-2026-35518 HIGH
8.8 Apr 07

Remote code execution in Pi-hole FTL DNS engine versions 6.0 through 6.5 allows authenticated attackers to execute arbit

CVE-2026-35517 HIGH
8.8 Apr 07

Remote code execution in Pi-hole FTL engine versions 6.0 through 6.5 allows authenticated attackers with low privileges

CVE-2026-44693 HIGH
8.8 Jun 10

Session hijacking in Pi-hole FTL versions prior to 6.6.1 stems from a race condition in the CivetWeb-based HTTP session

CVE-2022-30573 HIGH
8.8 Aug 09

The ftlserver component of TIBCO Software Inc.'s TIBCO FTL - Community Edition, TIBCO FTL - Developer Edition, TIBCO FTL

CVE-2019-11209 HIGH
8.8 Aug 20

The realm configuration component of TIBCO Software Inc.'s TIBCO FTL Community Edition, TIBCO FTL Developer Edition, TIB

CVE-2018-12412 HIGH
8.8 Nov 06

The realm server (tibrealmserver) component of TIBCO Software Inc. Rated high severity (CVSS 8.8), this vulnerability is

CVE-2022-30574 HIGH
7.8 Aug 09

The ftlserver component of TIBCO Software Inc.'s TIBCO FTL - Community Edition, TIBCO FTL - Developer Edition, TIBCO FTL

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy