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.
Published: 2026-09-27
Score: 8.3 High
EPSS: n/a
KEV: No
Impact: Information Disclosure via Cookie Scoping Bypass
Action: Immediate Patch
AI Analysis

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).

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 not available, 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.

Generated by OpenCVE AI on September 27, 2026 at 03:59 UTC.

Remediation

No vendor fix or workaround currently provided.

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 September 27, 2026 at 03:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 27 Sep 2026 04:45:00 +0000

Type Values Removed Values Added
First Time appeared Http4k
Http4k http4k
Vendors & Products Http4k
Http4k http4k

Sun, 27 Sep 2026 02:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-27T01:28:31.397Z

Reserved: 2026-09-26T02:40:56.226Z

Link: CVE-2026-100725

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-27T02:17:20.760

Modified: 2026-09-27T02:17:20.760

Link: CVE-2026-100725

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-27T04:30:18Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor