CVE-2026-69215
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Summary
Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, The CookieJar client middleware uses unanchored substring checks instead of RFC 6265 domain and path matching when deciding whether to attach a stored cookie. A cookie for example.com can consequently be sent to an attacker-controlled hostname such as evilexample.com when an application using the same jar makes an attacker-influenced outbound request. This exposes session or authentication cookies and can enable hijacking of the application’s outbound sessions. This issue is fixed in versions 0.23.35 and 1.0.0-M47.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| http4s | http4s | < 0.23.35 | affected |
| http4s | http4s | >= 1.0.0-M1, < 1.0.0-M47 | affected |
Weaknesses
- CWE-565: CWE-565: Reliance on Cookies without Validation and Integrity Checking
- CWE-1275: CWE-1275: Sensitive Cookie with Improper SameSite Attribute
References
- https://github.com/http4s/http4s/security/advisories/GHSA-grh8-3p95-f9rr
- https://github.com/http4s/http4s/commit/c0a37f38d5ee2a568ba57bd9da62f8d79b8b1fcc
- https://github.com/http4s/http4s/releases/tag/v0.23.35
- https://github.com/http4s/http4s/releases/tag/v1.0.0-M47
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.