CVE-2026-121707
Effect: ReDoS in Schema.TemplateLiteral compiled regex
- Severity
- high CVSS 8.7 (v4.0)
- Affects
- effect · Effect-TS
- Weakness
- CWE-1333: Inefficient Regular Expression Complexity
- Published
- 17 November 2026 by GitHub_M
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.