CVE-2026-0621
HIGH 8.7CVSS 4.0Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
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.
- Published
- 5 Jan 2026
- Last modified
- 26 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-1333
- Also known as
- GHSA-8r9q-7v3j-jr4g
- Sources
- NVDJSONOSV GHSA-8r9q-7v3j-jr4gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lfprojects | mcp_typescript_sdkcpe:2.3:a:lfprojects:mcp_typescript_sdk:*:*:*:*:*:*:*:* |
<= 1.25.1 | |
| OSV | npm | @modelcontextprotocol/sdk | >= 1.3.0, < 1.25.2 | 1.25.2 |
References
- https://github.com/modelcontextprotocol/typescript-sdk/issues/965 · Exploit, Issue Tracking, WEB
- https://www.vulncheck.com/advisories/mcp-typescript-sdk-uritemplate-exploded-array-pattern-redos · Third Party Advisory, WEB
- https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-cqwc-fm46-7fff · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-0621 · ADVISORY
- https://github.com/modelcontextprotocol/typescript-sdk/commit/7f0cf730 · WEB
- https://github.com/modelcontextprotocol/typescript-sdk/commit/b392f02ffcf37c088dbd114fedf25026ec3913d3 · WEB
- https://github.com/modelcontextprotocol/typescript-sdk · PACKAGE
- https://github.com/modelcontextprotocol/typescript-sdk/releases/tag/v1.25.2 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 5 Jan 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 Jan 2026)