CVE-2026-0621 Details
Description
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.
A regular expression denial-of-service (ReDoS) vulnerability has been identified in Anthropic's MCP TypeScript SDK, specifically in versions through 1.25.1. The issue arises in the UriTemplate class when handling exploded array patterns defined by RFC 6570. The vulnerability is caused by a dynamically generated regular expression for URI matching that includes nested quantifiers, leading to catastrophic backtracking with specially crafted inputs. This exploitation results in excessive CPU usage, causing the Node.js process to become unresponsive and unavailable, thereby disrupting service for all clients.
Users are advised to update to the latest version of the MCP TypeScript SDK, where this vulnerability has been addressed by modifying the regular expression pattern to eliminate the nested quantifiers that cause catastrophic backtracking.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/modelcontextprotocol/typescript-sdk/issues/965 | CISA-ADP | ExploitIssue Tracking |
| https://github.com/modelcontextprotocol/typescript-sdk/issues/965 | [email protected] | ExploitIssue Tracking |
| https://www.vulncheck.com/advisories/mcp-typescript-sdk-uritemplate-exploded-array-pattern-redos | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| lfprojects mcp typescript sdk | <= 1.25.1 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Oct 8, 2026 | CVE Modified | [email protected] |
| Oct 8, 2026 | CVE Modified | CISA-ADP |
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jan 30, 2026 | Initial Analysis | [email protected] |
| Jan 5, 2026 | CVE Modified | CISA-ADP |
| Jan 5, 2026 | New CVE Received | [email protected] |