CVE-2026-115779

Effect: Cookie attribute injection via domain, path, and name fields in @effect/platform makeCookie()

Published Nov 3, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
Effect is a TypeScript framework that consists of several packages that work together to help build TypeScript applications. From @effect/platform 0.1.0 until 0.97.1 and effect 4.0.0-beta.0 until 4.0.0-beta.103, the name, domain, and path fields passed to makeCookie() allow semicolon delimiters that serializeCookie() writes verbatim into Set-Cookie headers. A caller that supplies attacker-controlled values can append cookie attributes, including a broader Domain or, when the caller has not set those options itself, SameSite=None or Max-Age. Encoded cookie values and CR or LF characters remain unaffected. This can widen a cookie's scope or add otherwise-unset cookie attributes. This issue is fixed in @effect/platform 0.97.1 and effect 4.0.0-beta.103.

Analysis

AI-generated

Technical impact

This vulnerability allows attackers to inject additional cookie attributes by supplying semicolon delimiters in the domain, path, or name fields passed to makeCookie(). The injected attributes, such as SameSite=None or Max-Age, can broaden a cookie’s scope and alter its behavior, potentially enabling session fixation or cross‑site request forgery. The weakness is described by CWE-74.

Affected Systems

Packages affected include @effect/platform versions 0.1.0 through 0.97.1 and effect versions 4.0.0-beta.0 through 4.0.0-beta.103. These are maintained by Effect-TS. The issue exists in the makeCookie() function when processing user-provided domain, path, or name values.

Risk and Exploitability

The issue has a CVSS score of 6.3, indicating moderate severity. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the likely attack vector involves invoking makeCookie() with crafted values, typically in server‑side code that handles user input. The impact is limited to the scope of the application but can lead to unauthorized cookie manipulation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade @effect/platform to 0.97.1 or later and upgrade effect to 4.0.0-beta.103 or later.
  • Refactor any calls to makeCookie() so that domain, path, and name values are sanitized to remove semicolons and other delimiter characters.
  • Verify that no unintended cookie attributes are emitted in Set‑Cookie headers during deployment by inspecting traffic.

Generated by OpenCVE AI on November 3, 2026 at 23:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-chp3-j5qr-2vfr Effect: Cookie attribute injection via domain, path, and name fields in @effect/platform makeCookie()
History
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 Effect is a TypeScript framework that consists of several packages that work together to help build TypeScript applications. From @effect/platform 0.1.0 until 0.97.1 and effect 4.0.0-beta.0 until 4.0.0-beta.103, the name, domain, and path fields passed to makeCookie() allow semicolon delimiters that serializeCookie() writes verbatim into Set-Cookie headers. A caller that supplies attacker-controlled values can append cookie attributes, including a broader Domain or, when the caller has not set those options itself, SameSite=None or Max-Age. Encoded cookie values and CR or LF characters remain unaffected. This can widen a cookie's scope or add otherwise-unset cookie attributes. This issue is fixed in @effect/platform 0.97.1 and effect 4.0.0-beta.103.
Title Effect: Cookie attribute injection via domain, path, and name fields in @effect/platform makeCookie()
Weaknesses CWE-74
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}

Subscriptions

No data.

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 3, 2026, 9:26 PM
Reserved
Oct 23, 2026, 1:28 PM
Status
Awaiting Analysis
Published
Nov 3, 2026, 9:17 PM
Modified
Nov 12, 2026, 8:04 PM