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.

Project Subscriptions

Vendors Products
Effect-ts Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 18 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Effect-ts
Effect-ts effect
Vendors & Products Effect-ts
Effect-ts effect

Tue, 17 Nov 2026 19:45:00 +0000

Type Values Removed Values Added
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.
Title Effect: ReDoS in Schema.TemplateLiteral compiled regex
Weaknesses CWE-1333
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-17T19:28:56.438Z

Reserved: 2026-11-03T20:41:47.360Z

Link: CVE-2026-121707

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-17T20:17:36.580

Modified: 2026-11-17T20:17:36.580

Link: CVE-2026-121707

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-18T21:00:28Z

Weaknesses