{"id":"CVE-2026-0621","published":"2026-01-05T20:57:14Z","modified":"2026-10-08T15:21:41Z","title":"MCP TypeScript SDK UriTemplate Exploded Array Pattern ReDoS","vendor":"Anthropic","product":"MCP TypeScript SDK","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00438,"percentile":0.38966,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/modelcontextprotocol/typescript-sdk/issues/965","tags":["issue-tracking"]},{"url":"https://www.vulncheck.com/advisories/mcp-typescript-sdk-uritemplate-exploded-array-pattern-redos","tags":["third-party-advisory"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":7.79},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"anthropic","affectedVersions":[{"vendor":"Anthropic","product":"MCP TypeScript SDK","versions":["<= 1.25.1"]}],"affected":[{"ecosystem":"npm","package":"@modelcontextprotocol/sdk","vulnerableRanges":[">=1.3.0, <1.25.2"],"patched":["1.25.2"],"from":["GHSA-8r9q-7v3j-jr4g"],"provenance":"source"}],"summary":{"text":"The MCP TypeScript SDK from Anthropic, in versions up to and including 1.25.1, has a regular expression denial of service flaw in the UriTemplate class when it handles RFC 6570 exploded array patterns, where a dynamically generated regex with nested quantifiers can cause catastrophic backtracking. An attacker who can supply a crafted URI over the network, with no authentication or user interaction required, can drive excessive CPU use and make the Node.js process unresponsive.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:51Z"},"euvd":{"id":"EUVD-2026-0800","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-66414","published":"2025-12-02","fixed":"1.24.0","kev":false,"link":{"from":"CVE-2025-66414","to":"CVE-2026-0621","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@modelcontextprotocol/sdk","fromFixed":"1.24.0","toFixed":"1.25.2","daysApart":34}]}},{"cve":"CVE-2026-0621","published":"2026-01-05","fixed":"1.25.2","kev":false},{"cve":"CVE-2026-25536","published":"2026-02-04","fixed":"1.26.0","kev":false,"link":{"from":"CVE-2026-0621","to":"CVE-2026-25536","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@modelcontextprotocol/sdk","fromFixed":"1.25.2","toFixed":"1.26.0","daysApart":30}]}},{"cve":"CVE-2026-104850","published":"2026-10-06","fixed":"1.31.0","kev":false},{"cve":"CVE-2026-111767","published":"2026-10-20","fixed":"1.32.0","kev":false}],"package":"npm:@modelcontextprotocol/sdk"}}