CVE-2026-69211

Http4s: Set-Cookie rendering does not escape attribute delimiters

Published Sep 15, 2026 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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 available
History
Type Values Removed Values Added
First Time appeared Http4s
Http4s http4s
Vendors & Products Http4s
Http4s http4s
Type Values Removed Values Added
Metrics ssvc

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

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

Weaknesses
  • CWE-113

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

  • CWE-1286

    Improper Validation of Syntactic Correctness of Input

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 16, 2026, 1:56 PM
Reserved
Aug 3, 2026, 4:57 PM
Status
Deferred
Published
Sep 15, 2026, 7:17 PM
Modified
Sep 16, 2026, 8:39 PM