CVE-2026-121707: Effect · ReDoS in Schema.TemplateLiteral compiled regex
Affects effectSource GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 3.22.1 soon.
Data as of 19 Nov 2026, 21:05 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 8.7 |
|---|
- Patch
- Available – fixed in 3.22.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade effect to 3.22.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmeffect | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to effect version 3.22.1 or later, where the vulnerability is fixed. If upgrading is not immediately possible, implement input length checks before decoding with Schema.TemplateLiteral to reject oversized inputs early. For example, compose the schema with a Schema.String.pipe(Schema.maxLength(256)) to limit input length before applying the template literal. Rejecting oversized request bodies before they reach the schema decoding also mitigates the issue. Note that applying maxLength after the regex decoding does not prevent the vulnerability.
Description
CVE-2026-121707 is a Regular Expression Denial of Service (ReDoS) vulnerability in the effect library's Schema.TemplateLiteral component. The issue arises when a template literal contains two or more Schema.String spans, causing the compiled regex to have multiple ambiguous lazy wildcards. This leads to cubic backtracking time on non-matching inputs, potentially blocking the event loop for significant durations with crafted input. The vulnerability affects decoding of untrusted input in various effect schema functions and related payloads. It is fixed in effect version 3.22.1.
References
- github.com/Effect-TS/effect/security/advisories/GHSA-7589-6fvf-x4pw (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-121707 (opens in a new tab)
- github.com/Effect-TS/effect/pull/6761 (opens in a new tab)
- github.com/Effect-TS/effect/commit/3cc3c6e1a64cbdc360e9d28e44f3ec3ce0ece6e3 (opens in a new tab)
- github.com/Effect-TS/effect (opens in a new tab)
- github.com/Effect-TS/effect/releases/tag/effect@3.22.1 (opens in a new tab)