CVE-2026-100725
Description
A flaw was found in http4k-core. The client-side cookie storage mechanism fails to enforce standard scoping rules for domain, path, and secure transmission attributes. When an application communicates with multiple destinations using a single cookie store, cookies intended for one server can be mistakenly sent to other servers, or cookies designated for secure connections can be sent over unencrypted connections. An unauthorized host or network observer could exploit this behavior to intercept sensitive session tokens and authentication credentials.
Statement
http4k-core versions before 4.51.0.0, 5.42.0.0, and 6.48.0.0 do not enforce cookie domain, path, and Secure scoping. Applications sharing cookie storage across origins or schemes may disclose session tokens or credentials; single-origin storage is unaffected.
Mitigation
Upgrade to http4k-core 4.51.0.0, 5.42.0.0, 6.48.0.0, or later on the corresponding release branch. If upgrading is not possible, do not share BasicCookieStorage across origins or HTTP/HTTPS schemes; use separate storage per origin.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 6.5 | N/A | 6.5 |
| Attack Vector | Network | N/A | Network |
| Attack Complexity | High | N/A | High |
| Privileges Required | None | N/A | None |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | High | N/A | High |
| Integrity Impact | Low | N/A | Low |
| Availability Impact | None | N/A | None |
Vector
Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
cve.org: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
Understanding the Weakness (CWE)
Confidentiality
Technical Impact: Read Files or Directories; Read Memory; Read Application Data
Sensitive data may be exposed to attackers.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.