CVE-2026-0621

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductLfprojects Mcp Typescript Sdk
PublishedJan 5, 2026
First seenJan 5, 2026
Weakness typeCWE-1333CWE-1333

How to fix

Update
  • @modelcontextprotocol/sdk1.25.2 or later

Affected products

ProductAffected versionsFixed in
lfprojects mcp_typescript_sdkv ≤ 1.25.1—
@modelcontextprotocol/sdknpm1.3.0 ≤ v < 1.25.21.25.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-0621 · Lfprojects Mcp Typescript Sdk · Dark Radar