Skip to main content

Effect CVE-2026-121707

| EUVDEUVD-2026-127358 HIGH
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-11-17 GitHub_M GHSA-7589-6fvf-x4pw
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify endpoint decoding untrusted input
  2. Delivery
    Craft long non-matching string
  3. Exploit
    Submit to TemplateLiteral schema
  4. Execution
    Trigger cubic regex backtracking
  5. Impact
    Block event loop and deny service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitable only when an application decodes attacker-controlled input through a Schema.TemplateLiteral that contains at least two Schema.String spans; a single-string span or non-string spans are not affected. The concrete trigger is a long non-matching input (per the advisory, ~5,000 characters of ':' already causes ~15s of blocking), processed via Schema.decodeUnknown, Schema.decodeUnknownSync, Schema.is, or downstream HttpApi / @effect/rpc payload decoding. LIMITING FACTORS: no authentication or user interaction is required (PR:N/UI:N), but the vulnerable multi-string-span template-literal schema must actually be on an untrusted input path; piping Schema.maxLength after the template does NOT mitigate because the filter runs after the regex - the length check must be placed on the input side (Schema.compose with Schema.maxLength first) or oversized bodies rejected before reaching the schema.

Impact

This is a genuine availability-only Denial of Service (CWE-1333, ReDoS), and the signals are internally consistent rather than conflicting. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated trigger with no attack requirements, and the only impact metric set is VA:H - confidentiality and integrity are explicitly N, so there is no code execution or data exposure, purely event-loop starvation. The vendor advisory quantifies the impact concretely (a 5,000-character string blocks the event loop ~15 seconds; matching time grows cubically with input length), which supports the HIGH availability rating for a single-threaded Node.js process. KEV status is NOT present in the input, so this is not confirmed actively exploited; EPSS is absent from the input and therefore cannot be used to gauge exploitation likelihood - STATE EXPLICITLY: no EPSS or KEV signal was provided. The vuln.today Decision label is 'this_week' (not act_now/emergency), aligning with a serious-but-not-active DoS. The real priority is moderated by a usage precondition: the CVSS AV:N/PR:N reflects worst case, but exploitation only applies to applications that decode untrusted input through a Schema.TemplateLiteral containing two or more Schema.String spans - so the effective exposure is narrower than the raw 8.7 score suggests and depends on how the framework is actually used.

Exploit ScenarioDerived

An application exposes an HttpApi endpoint or @effect/rpc handler whose payload is validated by a Schema.TemplateLiteral with two or more Schema.String spans (e.g. Schema.TemplateLiteral(Schema.String, ":", Schema.String, ":", Schema.String, "X")). A remote attacker submits a long non-matching string such as several thousand ':' characters, forcing cubic regex backtracking that blocks the single-threaded JavaScript event loop and stalls the service for all users. The vendor advisory includes a proof-of-concept demonstration of the trigger (a 5,000-character input stalling the loop ~15 seconds), though no packaged weaponized exploit is referenced.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Cubic regular-expression backtracking in Effect's Schema.TemplateLiteral decoder (npm package effect up to and including 3.22.0) allows remote attackers to block the JavaScript event loop by supplying a long non-matching string to any template-literal schema built from two or more Schema.String spans. The defect reaches untrusted input paths through Schema.decodeUnknown, Schema.decodeUnknownSync and Schema.is, and therefore through consumers such as HttpApi request payloads and @effect/rpc payloads; the advisory notes that a 5,000-character string of ':' stalls the event loop for roughly 15 seconds. No public exploit code was identified at time of analysis, and there is no KEV listing, but the availability-only impact and trivial trigger shape place it on a this-week remediation cadence for projects that decode untrusted input with affected schemas.

RemediationAI

Upgrade the effect package to 3.22.1, the version in which template literals composed entirely of Schema.String spans are decoded with a linear matcher instead of a regex; the fix is carried by PR https://github.com/Effect-TS/effect/pull/6761 and commit https://github.com/Effect-TS/effect/commit/3cc3c6e1a64cbdc360e9d28e44f3ec3ce0ece6e3, with release notes at https://github.com/Effect-TS/effect/releases/tag/effect@3.22.1 and the advisory at https://github.com/Effect-TS/effect/security/advisories/GHSA-7589-6fvf-x4pw. If the upgrade cannot be applied immediately, the vendor's workaround is to bound input length before the template literal is evaluated, using Schema.compose(Schema.String.pipe(Schema.maxLength(256)), MyTemplateLiteral); note that attaching Schema.maxLength after the template literal with .pipe does not help, because that filter runs only after the regex has already executed - the trade-off of this workaround is that legitimate longer values are silently rejected unless the bound is sized to real input. Rejecting or truncating oversized request bodies before they reach the schema layer is an equivalent front-line control, though it must be applied consistently across every entry point (HTTP handlers, RPC handlers) or a single unguarded path remains exposed, and it constrains legitimate large payloads at the same threshold. No public exploit code was identified at time of analysis, but the vendor fix should still be prioritized this week for any service that decodes untrusted input with affected schemas.

Affected VersionsENISA

effect < 3.22.1

Affected Packages

npm effect fix: 3.22.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Effect is a TypeScript framework delivered as a set of npm packages, tracked here as cpe:2.3:a:effect-ts:effect. Its Schema module compiles a TemplateLiteral AST node into a JavaScript regular expression so that decoding can validate and extract values. In the vulnerable implementation (packages/effect/src/ParseResult.ts), each Schema.String span inside a template literal is emitted as the lazy wildcard [\s\S]*?; when a template contains two or more such spans, the resulting pattern holds multiple ambiguous wildcards and the backtracking engine explores combinations across all of them, giving time growth that is cubic in input length. This is CWE-1333 (Inefficient Regular Expression Complexity), a classic ReDoS class, and the trigger is a non-matching input - the pattern has to fail for the pathological backtracking to occur. The upstream fix special-cases templates whose spans are all Schema.String and replaces the regex with a linear left-to-right scan (fromRefinement using startsWith/indexOf/endsWith), which the added test verifies against AST.getTemplateLiteralRegExp over a corpus of edge-case inputs plus an 8,000-character adversarial string bounded to under one second. Templates containing non-string spans keep the previous regex path, so the change is scoped rather than a general regex-hardening effort.

Know when Effect gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

Remote unauthenticated input to the decoder (AV:N/AC:L/PR:N/UI:N); event-loop blocking yields A:H while confidentiality and integrity are unaffected (C:N/I:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 17, 2026 - 21:02 EUVD
CVE Published
Nov 17, 2026 - 19:28 cve.org
HIGH 8.7

DescriptionCVE.org

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.

Technical POC Analysis

CWE-1333 (Inefficient Regular Expression Complexity / ReDoS), inside the effect npm package's Schema.TemplateLiteral decoder.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-121707 is a high-severity availability vulnerability in the widely used 'effect' JavaScript library (versions up to 3.22.0) that can be exploited by remote attackers through simple, unauthenticated requests. Any service using the affected Schema.TemplateLiteral decoder to process untrusted input-such as via HttpApi or @effect/rpc-is at risk of a denial-of-service condition where a single crafted request can freeze the event loop for an extended period, potentially disrupting all users of that service. Leadership should prioritize patching because the attack requires minimal effort and can cause significant operational disruption.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
Prevalence
Medium
popular TypeScript framework, but not universally deployed like OpenSSL/nginx
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

65
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy