CVE-2026-121707
Effect: ReDoS in Schema.TemplateLiteral compiled regex
CVSS Score
0.0
EPSS Score
0.5%
EPSS Percentile
45th
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.
| CWE | CWE-1333 |
| Vendor | effect-ts |
| Product | effect |
| Published | Nov 17, 2026 |
| Last Updated | Nov 19, 2026 |
Stay Ahead of the Next One
Get instant alerts for effect-ts effect
Be the first to know when new unknown vulnerabilities affecting effect-ts effect are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Effect-TS / effect
< 3.22.1
References
github.com: https://github.com/Effect-TS/effect/security/advisories/GHSA-7589-6fvf-x4pw github.com: https://github.com/Effect-TS/effect/pull/6761 github.com: https://github.com/Effect-TS/effect/commit/3cc3c6e1a64cbdc360e9d28e44f3ec3ce0ece6e3 github.com: https://github.com/Effect-TS/effect/releases/tag/[email protected]