Skip to main content
VulnerabilityPublished

CVE-2026-121707: Effect · ReDoS in Schema.TemplateLiteral compiled regex

Affects effectSource GCVE Database

0
Compare
Authoritative record:CVE-2026-121707· High 8.7

Not known to be exploited · CVSS 8.7 High : upgrade to 3.22.1 soon.

Data as of 19 Nov 2026, 21:05 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.08.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npmeffectAffected
  • <3.22.1
Fixed in
  • 3.22.1

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

Community reviews

Loading reviews…