Description
Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, ResponseCookie.render writes attacker-influenced name, content, domain, path, and extension values without neutralizing semicolons or control characters. An application that constructs a ResponseCookie from unvalidated input can therefore emit injected cookie attributes such as Domain, Path, or SameSite, widening cookie scope or weakening protections, and control characters may enable header splitting on permissive backends. The patch strips control characters from all five fields and strips semicolons from name, content, domain, and path while retaining the extension delimiter behavior. This issue is fixed in versions 0.23.35 and 1.0.0-M47.
Published: 2026-09-15
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cookie and Header Injection
Action: Patch
AI Analysis

Impact

ResponseCookie.render creates Set‑Cookie headers by concatenating cookie name, value, domain, path, and extensions without neutralizing semicolons or control characters. This allows anyone who can influence any of those fields to inject additional cookie attributes such as Domain, Path, or SameSite, and to embed control characters that may split HTTP headers on permissive backends. The injected attributes widen cookie scope or weaken SameSite enforcement, while header splitting can alter the structure of outgoing responses. The issue does not grant direct remote code execution but can alter browser behavior and backend processing.

Affected Systems

The Http4s Scala HTTP library is affected. All releases earlier than 0.23.35 and 1.0.0‑M47 contain the flaw. Applications that instantiate ResponseCookie with data derived from untrusted sources while using these vulnerable versions are at risk.

Risk and Exploitability

The CVSS score is 4.8, indicating moderate severity, and the EPSS score is less than 1%, pointing to a very low likelihood of exploitation. The vulnerability is not listed in CISA's KEV catalog. Exploitation requires the application to accept external data that is used to populate cookie fields; an attacker who controls that input can inject cookie attributes or header‑splitting characters. The impact is confined to cookie handling and header injection and could undermine SameSite protections or alter subsequent requests on permissive backends.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Http4s to version 0.23.35, 1.0.0‑M47, or later.
  • Sanitize all values passed into ResponseCookie—including name, value, domain, and path—by removing semicolons and control characters, following the logic introduced in the patch if a direct upgrade is not yet possible.
  • Audit the code base to ensure that any creation of ResponseCookie from external input is preceded by strict validation or sanitization before use.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

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 14: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:00: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, ResponseCookie.render writes attacker-influenced name, content, domain, path, and extension values without neutralizing semicolons or control characters. An application that constructs a ResponseCookie from unvalidated input can therefore emit injected cookie attributes such as Domain, Path, or SameSite, widening cookie scope or weakening protections, and control characters may enable header splitting on permissive backends. The patch strips control characters from all five fields and strips semicolons from name, content, domain, and path while retaining the extension delimiter behavior. This issue is fixed in versions 0.23.35 and 1.0.0-M47.
Title Http4s: Set-Cookie rendering does not escape attribute delimiters
Weaknesses CWE-113
CWE-1286
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-16T13:56:02.831Z

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

Link: CVE-2026-69211

cve-icon Vulnrichment

Updated: 2026-09-16T13:55:58.279Z

cve-icon NVD

Status : Deferred

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

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

Link: CVE-2026-69211

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T13:45:07Z

Weaknesses
  • CWE-113

    Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')

  • CWE-1286

    Improper Validation of Syntactic Correctness of Input