CVE-2026-121707

GHSA-7589-6fvf-x4pw · published 17 Nov 2026 · updated 19 Nov 2026

Effect: ReDoS in Schema.TemplateLiteral compiled regex

8.7HighCVSS 8.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in effect 3.22.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Effect-TS<3.22.1
npm: effect<3.22.1, <=3.22.03.22.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in effect (npm), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-121707 severity on Zeptric[![CVE-2026-121707](https://zeptric.io/badge/cve/CVE-2026-121707.svg)](https://zeptric.io/cve/CVE-2026-121707)