CVE-2026-121707: Regular Expression Denial of Service (ReDoS) in Effect Schema.TemplateLiteral
Vulnerability ID: CVE-2026-121707
CVSS Score: 8.7
Published: 2026-11-19
CVE-2026-121707 is a high-severity Regular Expression Denial of Service (ReDoS) vulnerability in the Effect TypeScript library prior to version 3.22.1. When evaluating untrusted input against Schema.TemplateLiteral definitions containing multiple string spans, the dynamically compiled regular expression exhibits polynomial backtracking complexity. Because JavaScript runtimes execute on a single-threaded event loop, processing specially crafted non-matching strings causes synchronous CPU starvation and complete application unresponsiveness.
TL;DR
Effect versions prior to 3.22.1 compile Schema.TemplateLiteral string spans into overlapping lazy wildcard regular expressions ([\s\S]*?).…