Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.http4k/http4k-core
  4. ›
  5. GHSA-pr33-38xx-6r26

GHSA-pr33-38xx-6r26: http4k: BasicCookieStorage` (renamed `InsecureCookieStorage`) did not enforce RFC 6265 cookie scoping; new `DefaultCookieStorage` is now the default

June 19, 2026

The previous BasicCookieStorage did not enforce RFC 6265 scoping rules around cookie domain, path, and Secure attribute. A client using a single storage instance to talk to multiple origins could have cookies leak across domains, or have Secure cookies sent over plain HTTP — the deprecation message states it bluntly: “BasicCookieStorage has no domain/path/scheme scoping and leaks cookies across origins. Use DefaultCookieStorage instead.”

Who is affected: any client using BasicCookieStorage directly with cookies for more than one origin or scheme. Single-origin uses are unaffected.

References

  • datatracker.ietf.org/doc/html/rfc6265
  • github.com/advisories/GHSA-pr33-38xx-6r26
  • github.com/http4k/http4k/commit/6a9b44d743
  • github.com/http4k/http4k/releases/tag/6.48.0.0
  • github.com/http4k/http4k/security/advisories/GHSA-pr33-38xx-6r26

Code Behaviors & Features

Detect and mitigate GHSA-pr33-38xx-6r26 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.51.0, all versions starting from 5.0.0 before 5.42.0, all versions starting from 6.0.0 before 6.48.0

Fixed versions

  • 4.51.0
  • 5.42.0
  • 6.48.0

Solution

Upgrade to versions 4.51.0, 5.42.0, 6.48.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

maven/org.http4k/http4k-core/GHSA-pr33-38xx-6r26.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:08 +0000.