CVE-2026-121707

8.7High

Published 17 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

8.7CVSS

High

0CVSS v4.010

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on availability
Weakness
CWE-1333

What an attacker gets

Unauthenticated attackers can cause a denial of service by crashing the Node.js event loop. They only need to send a specifically crafted string to an endpoint using affected Effect schemas.

Root cause

Schema.TemplateLiteral uses an ambiguous regex wildcard that triggers cubic backtracking when processing non-matching input.

Affected versions

Effect versions prior to 3.22.1.

CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Fix & remediation

Update the @effect/schema package to version 3.22.1 or later. If you cannot update immediately, implement strict input validation or rate limiting on all endpoints that accept user-provided strings for schema decoding.

remediation — bash
$ npm install effect@3.22.1

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

Effect is a TypeScript framework that consists of several packages that work together to help build TypeScript applications. Prior to 3.22.1, Schema.TemplateLiteral schemas containing at least two Schema.String spans compile each span to the ambiguous lazy wildcard [\s\S]*?. Decoding a non-matching untrusted string causes cubic regular expression backtracking, which can block the JavaScript event loop. The issue affects Schema.decodeUnknown, Schema.decodeUnknownSync, Schema.is, and consumers such as HttpApi and @effect/rpc payload decoding. This issue is fixed in version 3.22.1.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-121707