CVE-2026-0621 json
MCP TypeScript SDK UriTemplate Exploded Array Pattern ReDoS
published 2026-01-05 10 mo ago modified 2026-10-26 13 d ago also GHSA-8r9q-7v3j-jr4g , EUVD-2026-0800
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 38%
- public exploits
- 0
- none known
Summary
Anthropic's MCP TypeScript SDK versions up to and including 1.25.1 contain a regular expression denial of service (ReDoS) vulnerability in the UriTemplate class when processing RFC 6570 exploded array patterns. The dynamically generated regular expression used during URI matching contains nested quantifiers that can trigger catastrophic backtracking on specially crafted inputs, resulting in excessive CPU consumption. An attacker can exploit this by supplying a malicious URI that causes the Node.js process to become unresponsive, leading to a denial of service.
Patch / fix
- npm @modelcontextprotocol/sdk 1.25.2
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 10 mo ago
Exploit prediction
0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/modelcontextprotocol/typescript-sdk/issues/965 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 4.0 | 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @modelcontextprotocol/sdk | >=1.3.0, <1.25.2 |
1.25.2 |
Affected products
- Anthropic MCP TypeScript SDK
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/modelcontextprotocol/typescript-sdk/commit/7f0cf730
web
-
github.com
/modelcontextprotocol/typescript-sdk/commit/b392f02ffcf37c088dbd114fedf25026ec3913d3
web
-
github.com
/modelcontextprotocol/typescript-sdk/issues/965
issue-tracking, exploit, web
-
vulncheck.com
/advisories/mcp-typescript-sdk-uritemplate-exploded-array-pattern-redos
third-party-advisory, web
-
github.com
/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-cqwc-fm46-7fff
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-0621
advisory
-
github.com
/modelcontextprotocol/typescript-sdk
package
-
github.com
/modelcontextprotocol/typescript-sdk/releases/tag/v1.25.2
web
Sources
- CVE List CVE-2026-0621
- GitHub Advisory GHSA-8r9q-7v3j-jr4g
- NVD CVE-2026-0621
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.