Cookie Scoping Bypass in http4k Affecting Client Security
CVE-2026-100725
8.3HIGH
What is CVE-2026-100725?
The BasicCookieStorage component in http4k exists without proper enforcement of RFC 6265 scoping rules for cookie domain, path, and Secure attributes. This issue arises when a single BasicCookieStorage instance is utilized across multiple origins or schemes, leading to the inadvertent sharing of cookies between different origins. This risk allows Secure cookies to be transmitted over non-secure HTTP connections, potentially exposing critical session information and sensitive data to unauthorized entities or network observers. Clients should ensure that cookie storage is scoped to a single origin to mitigate these risks.
Affected Version(s)
http4k 0 < 6.48.0.0
http4k 0 < 5.42.0.0
http4k 0 < 4.51.0.0
