Skip to main content

http4k CVE-2026-100725

| EUVDEUVD-2026-87854 HIGH
Information Exposure (CWE-200)
2026-09-27 VulnCheck GHSA-jggj-q26h-3m3c
8.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Client configured with one shared cookie store
  2. Delivery
    App authenticates and stores Secure/session cookie
  3. Exploit
    Client makes request to different origin or HTTP scheme
  4. Execution
    Cookie sent outside its intended scope
  5. Impact
    Session cookie disclosed to unauthorized host or network observer

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the application reuse a SINGLE BasicCookieStorage instance (the client-side store used by ClientFilters.Cookies) to talk to MORE THAN ONE origin or scheme; clients that dedicate a storage instance per origin are explicitly not affected. The concrete failure is that BasicCookieStorage does not enforce RFC 6265 §5.3/§5.4 scoping for cookie Domain, Path, and the Secure attribute, so stored cookies are returned for every outgoing request regardless of host or scheme. Realistic impact further requires an attacker-controlled or attacker-observable second destination (another origin the client contacts, or a plain-HTTP path over which a Secure cookie is transmitted) to capture the leaked value. Limiting factors: it is a client library flaw (not a server-side remote exploit), affects only versions before 6.48.0.0 / 5.42.0.0 / 4.51.0.0, and depends on the developer's non-single-origin storage configuration.

Impact

This is a moderate, conditional client-side confidentiality flaw - not a high-urgency issue despite the vendor's 8.3 CVSS 4.0. The vendor vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L) is internally contradictory: it uses AC:L yet also sets AT:P (attack requirements present), and the AT:P correctly reflects the core limiting condition - a single BasicCookieStorage instance must be shared across more than one origin or scheme, which is a specific (non-single-origin) usage pattern the developer must have adopted. Realistic complexity is therefore higher than AC:L implies. VI:L (integrity) is generous for what is fundamentally a disclosure-only weakness (CWE-200); leaked cookies could indirectly enable request forgery, but the direct impact is confidentiality. There is NO EPSS score, NO CISA KEV listing, and NO public POC in the provided data, so exploitation is theoretical. SSVC framing: exploitation status is 'none', automatable is unlikely (requires attacker to control/observe a second origin the vulnerable client also talks to), technical impact partial. This is best treated as a hygiene/dependency-upgrade item rather than an emergency patch, prioritized higher only for clients demonstrably using one shared cookie store across multiple hosts/schemes.

Exploit ScenarioDerived

An http4k-based client uses a single BasicCookieStorage instance (via ClientFilters.Cookies) to communicate with multiple backends - e.g., an internal auth service over HTTPS and a separate reporting API. Because the store ignores RFC 6265 domain/path/Secure scoping, a session cookie set by the auth origin is attached to requests sent to the other origin (or over plain HTTP), disclosing it to an unintended host or an on-path network observer. No public exploit code is identified; exploitation depends on the victim application's own multi-origin storage configuration.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 27, 2026

Cookie scoping bypass in the http4k client-side cookie jar (Maven org.http4k:http4k-core) causes cookies stored by BasicCookieStorage to be replayed to origins and schemes they were never scoped to, potentially exposing session cookies or other sensitive values. Only applications that reuse a single storage instance across more than one origin or scheme are affected; per-origin instances are explicitly unaffected, and no public exploit identified at time of analysis. The vendor rates this 8.3 (CVSS 4.0) while an independent assessment scores it CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N, reflecting a conditional client-side confidentiality flaw that additionally requires an attacker-controlled or attacker-observable second destination before leaked cookies can be captured, making it moderate rather than high-urgency. Fixes ship in 6.48.0.0, 5.42.0.0, and 4.51.0.0; authentication is not required to trigger the flawed behavior (CVSS PR:N), but exploitation depends on the developer's multi-origin storage configuration rather than on attacker-supplied input reaching a server.

RemediationAI

Upgrade org.http4k:http4k-core to the fixed release for your line: 6.48.0.0 for Community, 5.42.0.0 for Enterprise v5.x LTS, and 4.51.0.0 for Enterprise v4.x LTS, the latter two obtained by contacting enterprise@http4k.org; the patch is the upstream commit 6a9b44d743 and the v6.48.0.0 release tag, and the fix makes DefaultCookieStorage - an RFC 6265-compliant, domain/path/scheme-scoped store - the default for ClientFilters.Cookies. If immediate upgrade is impossible, replace BasicCookieStorage with a separate RFC 6265-compliant cookie store implementation, or instantiate one dedicated BasicCookieStorage per origin and scheme; note the trade-off that per-origin instances stop sharing cookies across subdomains, which can break cross-subdomain single sign-on and OAuth flows that relied on the shared jar, and that BasicCookieStorage now exists only as a deprecated alias of InsecureCookieStorage so any lingering reference will emit deprecation warnings and should be treated as an intentional, high-risk choice. As an interim compensating control, broker all egress through an https-only proxy that refuses plain-HTTP destinations, which prevents Secure cookies from being transmitted in cleartext but does nothing about cross-host replay to other HTTPS origins. Full advisories and workaround text are at https://github.com/http4k/http4k/security/advisories/GHSA-pr33-38xx-6r26 and https://www.vulncheck.com/advisories/http4k-before-6.48.0.0-cookie-scoping-bypass-via-basiccookiestorage.

Affected VersionsENISA

http4k 0 <6.48.0.0
http4k 0 <5.42.0.0
http4k 0 <4.51.0.0

Affected Packages

maven org.http4k:http4k-core fix: 4.51.0.0, 5.42.0.0, 6.48.0.0
euvd http4k fix: 4.51.0.0, 5.42.0.0, 6.48.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

http4k is a Kotlin HTTP toolkit whose ClientFilters.Cookies filter provides a client-side cookie jar through the CookieStorage interface. The legacy BasicCookieStorage kept cookies in an unscoped map and its retrieve() method took no Uri argument, returning every stored cookie for every outgoing request; the commit diff shows retrieve/store being re-signatured to accept a Uri and a new LocalCookie field recording the origin. Because no RFC 6265 §5.3/§5.4 evaluation of the Domain, Path, and Secure attributes was performed, host-only cookies could be forwarded to unrelated hosts and Secure-flagged cookies could be transmitted over plain HTTP. The underlying weakness is CWE-200 information exposure through improper scoping/insufficiently protected credentials rather than a memory-safety or injection bug, so there is no server-side attack surface - the leak only materializes when the same storage instance talks to multiple origins or schemes and a hostile or observable destination exists. The fix introduces DefaultCookieStorage, a ConcurrentHashMap keyed by domain, path, cookie name, and a hostOnly flag, implementing host-only versus domain-and-subdomain matching, path-prefix matching, and https-only delivery for Secure cookies; ClientFilters.Cookies now defaults to it, and BasicCookieStorage is retained as a deprecated typealias to the newly named InsecureCookieStorage for callers with a deliberate need for the old global-jar behavior. The affected artifact is identified generically by CPE cpe:2.3:a:http4k:http4k for the 4.x, 5.x, and 6.x lines.

Know when Http4K gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.3 HIGH
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
vuln.today AI 5.9 MEDIUM

AC:H because exploitation needs a shared multi-origin storage configuration plus an attacker-controlled/observable second destination; C:H for session-cookie disclosure, no integrity/availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 177 maven packages depend on org.http4k:http4k-core (144 direct, 33 indirect)

Ecosystem-wide dependent count for version 6.0.0.0.

Technical POC Analysis

CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

The http4k client-side cookie jar library (org.http4k:http4k-core) contains a cookie scoping flaw that can replay session cookies to unintended origins or schemes, potentially exposing user sessions for applications that reuse a single cookie storage instance across multiple services. This affects development teams using http4k in multi-origin or multi-scheme architectures, and while no public exploit code has been identified, a successful leak could enable unauthorized account access and data exposure. Leadership should prioritize patching because session token compromise directly threatens customer trust and may trigger regulatory or contractual obligations.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche Kotlin/JVM HTTP toolkit; only the client cookie-filter subset affected
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Related Vulnerabilities in http4k Cookie, Host Matching, and Auth Flaws

View all 3

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy