CVE-2026-0621

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:lfprojects:mcp_typescript_sdk:*:*:*:*:*:*:*:*

History

26 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Las versiones del SDK de TypeScript MCP de Anthropic hasta la 1.25.1 inclusive contienen una vulnerabilidad de denegación de servicio por expresión regular (ReDoS) en la clase UriTemplate al procesar patrones de array expandidos de RFC 6570. La expresión regular generada dinámicamente utilizada durante la coincidencia de URI contiene cuantificadores anidados que pueden desencadenar un retroceso catastrófico en entradas especialmente diseñadas, lo que resulta en un consumo excesivo de CPU. Un atacante puede explotar esto al proporcionar una URI maliciosa que hace que el proceso de Node.js deje de responder, lo que lleva a una denegación de servicio.

30 Jan 2026, 01:16

Type Values Removed Values Added
References () https://github.com/modelcontextprotocol/typescript-sdk/issues/965 - () https://github.com/modelcontextprotocol/typescript-sdk/issues/965 - Exploit, Issue Tracking
References () https://www.vulncheck.com/advisories/mcp-typescript-sdk-uritemplate-exploded-array-pattern-redos - () https://www.vulncheck.com/advisories/mcp-typescript-sdk-uritemplate-exploded-array-pattern-redos - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
First Time Lfprojects mcp Typescript Sdk
Lfprojects
CPE cpe:2.3:a:lfprojects:mcp_typescript_sdk:*:*:*:*:*:*:*:*

05 Jan 2026, 22:15

Type Values Removed Values Added
References () https://github.com/modelcontextprotocol/typescript-sdk/issues/965 - () https://github.com/modelcontextprotocol/typescript-sdk/issues/965 -

05 Jan 2026, 21:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-05 21:16

Updated : 2026-10-26 21:10


NVD link : CVE-2026-0621

Mitre link : CVE-2026-0621

CVE.ORG link : CVE-2026-0621


JSON object : View

Products Affected

lfprojects

  • mcp_typescript_sdk
CWE
CWE-1333

Inefficient Regular Expression Complexity