CVE-2026-0621MCP TypeScript SDK UriTemplate Exploded Array Pattern ReDoS
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| Anthropic | MCP TypeScript SDK | ≤ 1.25.1 | |
| lfprojects | mcp typescript sdk | ≤ 1.25.1 |
References and patches
- https://github.com/modelcontextprotocol/typescript-sdk/issues/965 issue-trackingExploitIssue Tracking
- https://www.vulncheck.com/advisories/mcp-typescript-sdk-uritemplate-exploded-array-pattern-redos third-party-advisoryThird Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:lfprojects:mcp_typescript_sdk:*:*:*:*:*:*:*:*≤ 1.25.1