CVE-2026-100725

http4k before 6.48.0.0 Cookie Scoping Bypass via BasicCookieStorage

Published Sep 27, 2026 CVSS 4.0 · 8.3 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerable http4k BasicCookieStorage does not enforce RFC 6265 scoping rules for domain, path, and Secure attributes. When a single storage instance is used to interact with multiple origins or schemes, cookies set for one origin can be transmitted to others, and cookies marked Secure can be sent over plain HTTP. This flaw can leak session identifiers or other sensitive data to unauthorized hosts or eavesdroppers. The weakness is a classic information disclosure (CWE‑200) and improper access control (CWE‑201).

Affected Systems

This issue affects all versions of the http4k core library released before 6.48.0.0, 5.42.0.0, and 4.51.0.0. Upgrade to any newer version to receive the patch.

Risk and Exploitability

Based on the description, it is inferred that the attack vector is client‑side: an application that incorporates the affected http4k library and mistakenly reuses a single BasicCookieStorage instance across multiple domains or schemes. An attacker who controls the application code can redirect cookies or observe network traffic to capture credentials. The CVSS score of 8.3 indicates high severity. While the EPSS score is 0.00239 (0.24%), the vulnerability is not listed in CISA KEV, suggesting no known active exploit campaigns. Mitigation is straightforward but requires proper library usage; the risk is highest when the library is used in cross‑origin contexts.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest released version of http4k that includes the fix.
  • If upgrading is not possible, do not share a BasicCookieStorage instance across multiple origins; create separate storage instances per origin.
  • Implement or configure a custom CookieStorage that validates RFC 6265 cookie scoping rules to replace BasicCookieStorage.

Generated by OpenCVE AI on October 7, 2026 at 08:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Http4k
Http4k http4k
Vendors & Products Http4k
Http4k http4k
Type Values Removed Values Added
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.
Title http4k before 6.48.0.0 Cookie Scoping Bypass via BasicCookieStorage
Weaknesses CWE-200
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N'}

cvssV4_0

{'score': 8.3, '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'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-201

    Insertion of Sensitive Information Into Sent Data

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 9:15 PM
Reserved
Sep 26, 2026, 2:40 AM
Status
Deferred
Published
Sep 27, 2026, 2:17 AM
Modified
Oct 29, 2026, 9:17 PM
Severity
Moderate
Public date
Sep 27, 2026, 1:28 AM