CVE-2026-69215

Http4s: CookieJar middleware matches by substring, leaking cookies cross-origin

State
Published
Severity
6.8 Medium
Published
Sep 15, 2026
Updated
Sep 16, 2026
Reserved
Aug 3, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.16.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-565 Reliance on Cookies without Validation and Integrity Checking
  • CWE-1275 Sensitive Cookie with Improper SameSite Attribute

Affected Products

ProductVersions
http4shttp4s
  • < 0.23.35Affected
  • >= 1.0.0-M1, < 1.0.0-M47Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.