Vulnerability · Published Sep 15, 2026 · Assigned by GitHub_M
CVE-2026-69214Http4s: CookieJar middleware accepts arbitrary Set-Cookie domain
Medium 6.8
In plain English
A medium-severity session fixation in http4s from http4s. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.http4s:http4s-client_2.12 | 0.23.35 | GHSA-wv64-j4fq-5f9x |
| Maven | org.http4s:http4s-client_2.13 | 0.23.35 | GHSA-wv64-j4fq-5f9x |
| Maven | org.http4s:http4s-client_2.13 | 1.0.0-M47 | GHSA-wv64-j4fq-5f9x |
| Maven | org.http4s:http4s-client_3 | 1.0.0-M47 | GHSA-wv64-j4fq-5f9x |
| Maven | org.http4s:http4s-client_3 | 0.23.35 | GHSA-wv64-j4fq-5f9x |
Affected products (as reported)
Weakness: CWE-384, CWE-565 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
References
- https://github.com/http4s/http4s/security/advisories/GHSA-wv64-j4fq-5f9x x_refsource_CONFIRM
- https://github.com/http4s/http4s/commit/87535f7288f3baaf6736e2735087e473762b5b2f x_refsource_MISC
- https://github.com/http4s/http4s/releases/tag/v0.23.35 x_refsource_MISC
- https://github.com/http4s/http4s/releases/tag/v1.0.0-M47 x_refsource_MISC