Skip to main content
← All vulnerabilities
CVE-2026-69215GHSA-GRH8-3P95-F9RR

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.23.35, 1.0.0-M47
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • http4s http4s

    fixed in 0.23.35; From 1.0.0-M1 · fixed in 1.0.0-M47

  • org.http4s:http4s-client_2.12Maven

    fixed in 0.23.35

  • org.http4s:http4s-client_2.13Maven

    fixed in 0.23.35

  • org.http4s:http4s-client_3Maven

    fixed in 0.23.35

  • org.http4s:http4s-client_2.13Maven

    From 1.0.0-M1 · fixed in 1.0.0-M47

  • org.http4s:http4s-client_3Maven

    From 1.0.0-M1 · fixed in 1.0.0-M47

References 4

GitHub · http4s/http4s