CVE-2026-69211 — http4s: Set-Cookie rendering does not escape attribute delimiters
One of 2 maven:org.http4s:http4s-core 2.12 vulnerabilities published together by GitHub Advisory.
JavaWebVulnerabilitiesSeverity breakdown
Medium · 4.8
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- low on confidentiality and integrity, none on availability
Weakness
- CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')
- CWE-1286: Improper Validation of Syntactic Correctness of Input
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| org.http4s:http4s-core_2.12 (Maven) | < 0.23.35 | 0.23.35 |
| org.http4s:http4s-core_2.13 (Maven) | < 0.23.35 | 0.23.35 |
| ≥ 1.0.0-M2, < 1.0.0-M47 | 1.0.0-M47 | |
| org.http4s:http4s-core_3 (Maven) | < 0.23.35 | 0.23.35 |
| ≥ 1.0.0-M2, < 1.0.0-M47 | 1.0.0-M47 | |
| http4s | < 0.23.35, >= 1.0.0-M1, < 1.0.0-M47 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/http4s/http4s/commit/5c8e69ac0f4a2fe03c3481dccd74101cd2e2a890
- github.com/http4s/http4s/releases/tag/v0.23.35
- github.com/http4s/http4s/releases/tag/v1.0.0-M47
Other references
Details
Summary
ResponseCookie.render writes the cookie name, content, domain, path, and extension fields verbatim, with no sanitization of ; or control characters. An application that places attacker-controlled data into any of these fields lets the attacker inject additional cookie attributes (Domain=, Path=, SameSite=None, etc.) by embedding ; , widening a cookie's scope or downgrading its protections.
Impact
Cookie attribute injection: scope widening (Domain), SameSite downgrade, or overriding security-relevant attributes for applications that render attacker-influenced data in a ResponseCookie field. CR/LF in a field also threatens header splitting on backends that do not strip them.
Preconditions
- Application constructs a
ResponseCookiewith attacker-influencedcontent,name,path,domain, orextension. - The application does not independently validate the value.
Workarounds
Validate cookie field values against the RFC6265 grammar before constructing ResponseCookie, rejecting ; and control characters.
Patch
- Control characters are stripped from
content,name,path,domain, andextension. - Semi-colons are stripped from
content,name,path, anddomain. Becauseextensionis a single value, the semi-colon must be allowed as a delimiter, and sanitizing untrusted values remains the caller's responsibility.
Resources
- RFC6265 §4.1: Set-Cookie syntax
Affected
- maven:org.http4s:http4s-core 2.12
- maven:org.http4s:http4s-core 2.13
- maven:org.http4s:http4s-core 3
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-69211?
ResponseCookie.render writes the cookie name, content, domain, path, and extension fields verbatim, with no sanitization of ; or control characters. An application that places attacker-controlled data into any of these fields lets the attacker inject additional cookie attributes (Domain=, Path=, SameSite=None, etc.) by embedding ; , widening a cookie's scope or downgrading its protections. Weakness type: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') (CWE-113).
How severe is CVE-2026-69211?
CVE-2026-69211 has a CVSS 3.1 base score of 4.8 (medium), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-69211 being exploited?
Not as far as is known: CVE-2026-69211 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-69211?
org.http4s:http4s-core_2.12 (Maven) < 0.23.35 (fixed in 0.23.35); org.http4s:http4s-core_2.13 (Maven) < 0.23.35 (fixed in 0.23.35); org.http4s:http4s-core_2.13 (Maven) ≥ 1.0.0-M2, < 1.0.0-M47 (fixed in 1.0.0-M47); org.http4s:http4s-core_3 (Maven) < 0.23.35 (fixed in 0.23.35); and more, listed on this page.
How do I fix CVE-2026-69211?
Update to a fixed release: org.http4s:http4s-core_2.12 (Maven) 0.23.35; org.http4s:http4s-core_2.13 (Maven) 0.23.35; org.http4s:http4s-core_2.13 (Maven) 1.0.0-M47.
Timeline & sources
References
Related vulnerabilities & news
- http4s Ember Server Accepts Duplicate Content-Length Headers, Enabling Request Smuggling (CVE-2026-69217)
- http4s-core WebSocket decoder accepts negative frame length, enabling infinite-loop denial of service
- CVE-2026-135203 — Eclipse Foundation Eclipse Ditto
- EUSurvey 1.6 Path Traversal Vulnerability Enables Remote Code Execution
- Gradle CVE-2026-22865: a failing earlier repository can let a later one serve malicious build artifacts