Skip to content

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

MediumCVSS 6.8 EPSS 0.51%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
org.http4s/http4s-client_2.12(Maven) < 0.23.35; <= 0.23.34; = 0.10.0-M10; = 0.15.0 +259 more 0.23.35 Fixed
org.http4s/http4s-client_2.13(Maven) < 0.23.35; <= 0.23.34; = 0.10.0-M10; = 0.21.0 +158 more 0.23.35, 1.0.0-M47 Fixed
org.http4s/http4s-client_3(Maven) < 0.23.35; <= 0.23.34; = 0.22.0; = 0.22.0-M8 +82 more 0.23.35, 1.0.0-M47 Fixed
http4s = < 0.23.35; = >= 1.0.0-M1, < 1.0.0-M47 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.http4s/http4s-client_2.12(Maven) < 0.23.35 0.23.35
org.http4s/http4s-client_2.12(Maven) = 0.10.0-M10 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.0a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.10 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.10a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.11 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.11a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.12 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.12a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.13 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.13a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.14 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.14a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.15 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.15a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.16 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.16a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.1a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.2a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.3a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.4 No fix listed
Show 175 more
ProductAffected versionsFixed in
org.http4s/http4s-client_2.12(Maven) = 0.15.4a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.5a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.6a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.7 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.7a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.8 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.8a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.9 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.9a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0-M1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0-M2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0-M3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0-RC1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0-RC2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0-RC3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0a-M1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0a-M2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0a-M3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0a-RC1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0a-RC2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0a-RC3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.1a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.2a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.3a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.4a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.5a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.6a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.0-M1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.0-M2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.0-M3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.0-RC1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.0-RC2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.0-RC3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M7 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M8 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M9 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.10 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.11 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.12 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.13 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.14 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.15 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.16 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.17 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.18 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.19 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.20 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.21 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.22 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.23 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.24 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.25 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.26 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.7 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.8 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.9 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.19.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.19.0-M1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.19.0-M2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.19.0-M3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.19.0-M4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-M1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-M2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-M3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-M4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-M5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-M6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-M7 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-RC1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.10 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.11 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.12 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.13 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.14 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.15 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.16 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.17 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.18 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.19 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.20 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.21 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.22 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.23 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.7 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.8 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.9 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-M1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-M2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-M3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-M4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-M5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-M6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-RC1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-RC2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-RC3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-RC4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-RC5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.11 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.12 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.13 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.14 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.15 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.16 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.17 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.18 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.19 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.20 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.21 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.22 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.23 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.24 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.25 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.26 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.27 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.28 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.29 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.30 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.31 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.32 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.33 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.34 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.7 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.8 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.9 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.22-129-24d065b No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.22-143-49b5a8d No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.22-53-01128f5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.22-96-55d3184 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.22.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.22.0-M1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.22.0-M2 No fix listed

References