Skip to main content
← All vulnerabilities
CVE-2026-0621GHSA-8R9Q-7V3J-JR4G

MCP TypeScript SDK UriTemplate Exploded Array Pattern ReDoS

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.25.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Anthropic MCP TypeScript SDK

    through 1.25.1

  • @modelcontextprotocol/sdknpm

    From 1.3.0 · fixed in 1.25.2

References 2

GitHub · modelcontextprotocol/typescript-sdk

vulncheck.com