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

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-09-15T19:17:12.429Z
- Modified: 2026-09-16T20:39:16.610Z
- Also known as: GHSA-grh8-3p95-f9rr
- Weaknesses: CWE-565, CWE-1275
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- http4s http4s: < 0.23.35; >= 1.0.0-M1, < 1.0.0-M47
- org.http4s:http4s-client_2.12 (Maven): before 0.23.35
- org.http4s:http4s-client_2.13 (Maven): before 0.23.35; from 1.0.0-M1 before 1.0.0-M47
- org.http4s:http4s-client_3 (Maven): before 0.23.35; from 1.0.0-M1 before 1.0.0-M47

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/http4s/http4s/security/advisories/GHSA-grh8-3p95-f9rr> (web)
- <https://github.com/http4s/http4s/commit/c0a37f38d5ee2a568ba57bd9da62f8d79b8b1fcc> (web)
- <https://github.com/http4s/http4s/releases/tag/v0.23.35> (web)
- <https://github.com/http4s/http4s/releases/tag/v1.0.0-M47> (web)
- <https://github.com/http4s/http4s> (package)

## Sources

- CVE List: [CVE-2026-69215](https://www.cve.org/CVERecord?id=CVE-2026-69215), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-grh8-3p95-f9rr](https://github.com/advisories/GHSA-grh8-3p95-f9rr), CC-BY-4.0, modified 2026-09-15
- NVD: [CVE-2026-69215](https://nvd.nist.gov/vuln/detail/CVE-2026-69215), Public domain, modified 2026-09-16

---

Page: https://cve.day/CVE-2026-69215 · Whole record: https://cve.day/CVE-2026-69215.json · Rebuilt by cve.day 2026-11-25T22:59:38.674Z
