Description
Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, The CookieJar client middleware stores a response cookie’s Domain attribute without checking that it domain-matches the host that supplied the cookie or rejecting public suffixes. A malicious or compromised server contacted through the same CookieJar can plant a cookie for another domain, and the jar later sends that cookie to the victim domain, enabling session fixation or overwriting security-sensitive cookies. The patch validates the Set-Cookie domain against the response origin, although public-suffix rejection remains unimplemented. This issue is fixed in versions 0.23.35 and 1.0.0-M47.
Published: 2026-09-15
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Session fixation and cookie hijacking via mis‑validated Set‑Cookie domains
Action: Apply Patch
AI Analysis

Impact

Based on the description, the vulnerability resides in the CookieJar middleware of the Http4s HTTP library, which accepts a Set‑Cookie header without validating that its Domain attribute matches the origin of the response or rejecting public suffixes. This flaw allows a malicious or compromised server to store a cookie for an arbitrary domain in the forged cookie, enabling session fixation, cookie overwrite, and other attacks that rely on the integrity of session cookies.

Affected Systems

Any application using http4s in versions older than 0.23.35 or 1.0.0‑M47 is potentially vulnerable. The vulnerable product is the http4s HTTP client and server framework as described by the CVE report.

Risk and Exploitability

Based on the description, the likely attack vector is that an attacker serves a Set‑Cookie header from a server that the vulnerable application trusts, which may be any server on the network or a compromised upstream proxy. The CVSS score of 6.8 indicates moderate severity, and the very low EPSS score (<1%) and lack of KEV listing suggest limited real‑world exploitation, a session hijack or replacement of security‑critical cookies.

Generated by OpenCVE AI on September 20, 2026 at 13:14 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the http4s library to version 0.23.35 or later, or to 1.0.0‑M47 or later where the domain validation is enforced.
  • If an upgrade is not immediately possible, isolate untrusted traffic by using separate CookieJar instances per domain or by disabling CookieJar for unknown origins in your application configuration.
  • Continuously monitor application logs for unexpected Set‑Cookie headers from third‑party hosts and validate that all returned cookies have a domain matching the host that served them.

Generated by OpenCVE AI on September 20, 2026 at 13:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-wv64-j4fq-5f9x Http4s: CookieJar middleware accepts arbitrary Set-Cookie domain
History

Wed, 16 Sep 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Http4s
Http4s http4s
Vendors & Products Http4s
Http4s http4s

Wed, 16 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 15 Sep 2026 19:15:00 +0000

Type Values Removed Values Added
Description Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, The CookieJar client middleware stores a response cookie’s Domain attribute without checking that it domain-matches the host that supplied the cookie or rejecting public suffixes. A malicious or compromised server contacted through the same CookieJar can plant a cookie for another domain, and the jar later sends that cookie to the victim domain, enabling session fixation or overwriting security-sensitive cookies. The patch validates the Set-Cookie domain against the response origin, although public-suffix rejection remains unimplemented. This issue is fixed in versions 0.23.35 and 1.0.0-M47.
Title Http4s: CookieJar middleware accepts arbitrary Set-Cookie domain
Weaknesses CWE-384
CWE-565
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-16T18:37:05.666Z

Reserved: 2026-08-03T16:57:50.125Z

Link: CVE-2026-69214

cve-icon Vulnrichment

Updated: 2026-09-16T18:18:29.467Z

cve-icon NVD

Status : Deferred

Published: 2026-09-15T19:17:38.453

Modified: 2026-09-16T20:39:16.610

Link: CVE-2026-69214

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T13:15:14Z

Weaknesses
  • CWE-384

    Session Fixation

  • CWE-565

    Reliance on Cookies without Validation and Integrity Checking