# CVE-2026-0621: MCP TypeScript SDK UriTemplate Exploded Array Pattern ReDoS

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-05T20:57:14.515Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-8r9q-7v3j-jr4g
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- Anthropic MCP TypeScript SDK: up to 1.25.1
- @modelcontextprotocol/sdk (npm): from 1.3.0 before 1.25.2
- lfprojects mcp_typescript_sdk: up to 1.25.1

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-0621](https://www.cve.org/CVERecord?id=CVE-2026-0621), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-8r9q-7v3j-jr4g](https://github.com/advisories/GHSA-8r9q-7v3j-jr4g), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-0621](https://nvd.nist.gov/vuln/detail/CVE-2026-0621), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-0621 · Whole record: https://cve.day/CVE-2026-0621.json · Rebuilt by cve.day 2026-11-25T22:59:12.609Z
