← VULNERABILITIES

CVE-2026-121707

Effect: ReDoS in Schema.TemplateLiteral compiled regex

High · 8.7Fix available
CVSS
8.7
EPSS
0.49% (p44)
Published
2026-11-17
Age
19d old
Modified
2026-11-19
Product
Effect-TS effect
Aliases
GHSA-7589-6fvf-x4pw

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

Description

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.

Fixed in

3.22.1

Affected packages

EcosystemPackageRangeFixed
npmeffect<= 3.22.03.22.1

Sources

  • NVD · first seen 19d ago · NVD terms of use
  • OSV · first seen 18d ago · CC-BY 4.0
  • GitHub Advisory Database · first seen 17d ago · CC-BY 4.0
  • CVE List · first seen 19d ago · CVE Terms of Use

References

JSON