Http4s: CookieJar middleware accepts arbitrary Set-Cookie domain
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-384.
Summary
Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, The CookieJar client middleware stores a response cookie’s Domain attribute without checking that it domain-matches the host that supplied the cookie or rejecting public suffixes. A malicious or compromised server contacted through the same CookieJar can plant a cookie for another domain, and the jar later sends that cookie to the victim domain, enabling session fixation or overwriting security-sensitive cookies. The patch validates the Set-Cookie domain against the response origin, although public-suffix rejection remains unimplemented. This issue is fixed in versions 0.23.35 and 1.0.0-M47.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| http4s | http4s | before 0.23.35; 1.0.0-M1 to before 1.0.0-M47 | 0.23.35, 1.0.0-M47 | Patch available | CNA |
| — | org.http4s:http4s-client_2.12 (Maven) | before 0.23.35 | 0.23.35 | Patch available | GHSA-wv64-j4fq-5f9x |
| — | org.http4s:http4s-client_2.13 (Maven) | before 0.23.35 | 0.23.35 | Patch available | GHSA-wv64-j4fq-5f9x |
| — | org.http4s:http4s-client_2.13 (Maven) | 1.0.0-M1 to before 1.0.0-M47 | 1.0.0-M47 | Patch available | GHSA-wv64-j4fq-5f9x |
| — | org.http4s:http4s-client_3 (Maven) | 1.0.0-M1 to before 1.0.0-M47 | 1.0.0-M47 | Patch available | GHSA-wv64-j4fq-5f9x |
| — | org.http4s:http4s-client_3 (Maven) | before 0.23.35 | 0.23.35 | Patch available | GHSA-wv64-j4fq-5f9x |
- http4s Vendorhttp4s Affected before 0.23.35; 1.0.0-M1 to before 1.0.0-M47 Fixed in 0.23.35, 1.0.0-M47 Patch available CNA
- org.http4s:http4s-client_2.12 (Maven) Vendor— Affected before 0.23.35 Fixed in 0.23.35 Patch available GHSA-wv64-j4fq-5f9x
- org.http4s:http4s-client_2.13 (Maven) Vendor— Affected before 0.23.35 Fixed in 0.23.35 Patch available GHSA-wv64-j4fq-5f9x
- org.http4s:http4s-client_2.13 (Maven) Vendor— Affected 1.0.0-M1 to before 1.0.0-M47 Fixed in 1.0.0-M47 Patch available GHSA-wv64-j4fq-5f9x
- org.http4s:http4s-client_3 (Maven) Vendor— Affected 1.0.0-M1 to before 1.0.0-M47 Fixed in 1.0.0-M47 Patch available GHSA-wv64-j4fq-5f9x
- org.http4s:http4s-client_3 (Maven) Vendor— Affected before 0.23.35 Fixed in 0.23.35 Patch available GHSA-wv64-j4fq-5f9x
Remediation
- Fix · CNA http4s (http4s) Fixed in 0.23.35, 1.0.0-M47
- Fix · GHSA-wv64-j4fq-5f9x org.http4s:http4s-client_2.12 (Maven) Fixed in 0.23.35 Advisory →
- Fix · GHSA-wv64-j4fq-5f9x org.http4s:http4s-client_2.13 (Maven) Fixed in 0.23.35 Advisory →
- Fix · GHSA-wv64-j4fq-5f9x org.http4s:http4s-client_2.13 (Maven) Fixed in 1.0.0-M47 Advisory →
- Fix · GHSA-wv64-j4fq-5f9x org.http4s:http4s-client_3 (Maven) Fixed in 1.0.0-M47 Advisory →
- Fix · GHSA-wv64-j4fq-5f9x org.http4s:http4s-client_3 (Maven) Fixed in 0.23.35 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-69214
- 2026-10-03 Alias added: GHSA-wv64-j4fq-5f9x
References
Other 5
More http4s vulnerabilities
- TI-2022-13223 mTLS client verification is skipped in fs2 on Node.js CVSS 3.1CRITICAL 9.8
- TI-2023-08714 Http4s has fatal error parsing User-Agent and Server headers CVSS 3.1HIGH 7.5
- TI-2022-06031 Hash collision in typelevel jawn CVSS 3.1HIGH 7.5
- TI-2025-37261 Http4s vulnerable to HTTP Request Smuggling due to improper handling of HTTP trailer section CVSS 4.0MEDIUM 6.3
- TI-2026-44185 http4s-scala-xml has an XML External Entity (XXE) processing issue CVSS 3.1CRITICAL 9.3
- TI-2020-04336 Local file inclusion vulnerability in http4s CVSS 3.1HIGH 7.6
Sources
- CVE-2026-69214 · CVE Program
- CVE-2026-69214 · NVD
- FIRST EPSS
- GHSA-wv64-j4fq-5f9x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences