Loading advisory.
Loading advisory.
Http4s: CookieJar middleware matches by substring, leaking cookies cross-origin
The CookieJar client middleware decides whether to attach a cookie to an outgoing request using an unanchored substring test on the host and path, instead of the domain match specified by RFC6265 5.1.3.
Published 2026-09-15 19:17 UTC · Modified 2026-09-16 18:36 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| org.http4s:http4s-client_2.12 | Maven | < 0.23.35 versions 0.10.0-M10, 0.15.0, 0.15.0a, 0.15.1, 0.15.10, 0.15.10a, 0.15.11, 0.15.11a, 0.15.12, 0.15.12a, 0.15.13, 0.15.13a, 0.15.14, 0.15.14a, 0.15.15, 0.15.15a, 0.15.16, 0.15.16a, 0.15.1a, 0.15.2 and 241 more | 0.23.35 | No single command for Maven. Update to 0.23.35 in your build file. |
| org.http4s:http4s-client_2.13 | Maven | < 0.23.35 >= 1.0.0-M1, < 1.0.0-M47 versions 0.10.0-M10, 0.21.0, 0.21.0-M1, 0.21.0-M2, 0.21.0-M3, 0.21.0-M4, 0.21.0-M5, 0.21.0-M6, 0.21.0-RC1, 0.21.0-RC2, 0.21.0-RC3, 0.21.0-RC4, 0.21.0-RC5, 0.21.1, 0.21.11, 0.21.12, 0.21.13, 0.21.14, 0.21.15, 0.21.16 and 138 more | 0.23.35, 1.0.0-M47 | No single command for Maven. Update to 0.23.35, 1.0.0-M47 in your build file. |
| org.http4s:http4s-client_3 | Maven | < 0.23.35 >= 1.0.0-M1, < 1.0.0-M47 versions 0.22.0, 0.22.0-M8, 0.22.0-RC1, 0.22.1, 0.22.10, 0.22.11, 0.22.12, 0.22.13, 0.22.14, 0.22.15, 0.22.2, 0.22.3, 0.22.4, 0.22.5, 0.22.6, 0.22.7, 0.22.8, 0.22.9, 0.23.0, 0.23.0-M1 and 62 more | 0.23.35, 1.0.0-M47 | No single command for Maven. Update to 0.23.35, 1.0.0-M47 in your build file. |
The CookieJar client middleware decides whether to attach a cookie to an outgoing request using an unanchored substring test on the host and path, instead of the domain match specified by RFC6265 5.1.3. A cookie stored for example.com is therefore sent to any host whose name merely contains example.com (e.g. evilexample.com), leaking potentially sensitive cookies to an attacker-chosen host.
Disclosure of session and authentication cookies to an attacker-controlled host, enabling session hijack of the application's outbound calls.
Application uses the CookieJar client middleware.
Application can be induced to make an outbound request to a host controlled by the attacker, where the hostname contains the targeted domain as a substring.
Do not use the CookieJar with clients that fetch attacker-influenced URLs
Apply a separate CookieJar per trusted origin.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.005 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.005 | first score | v2026.06.15 |