Skip to content
OpenAdvisories
High · 8.7 CVE-2026-0621 EUVD-2026-0800GHSA-8r9q-7v3j-jr4g

MCP TypeScript SDK UriTemplate Exploded Array Pattern ReDoS

Published Jan 5, 2026 · Updated Oct 8, 2026 · 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.

Affected products

VendorProductAffectedFixed
Anthropic MCP TypeScript SDK ≤ 1.25.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling langfuse-3 +1 3.145.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @modelcontextprotocol/sdk >= 1.3.0, < 1.25.2 1.25.2 GHSA-8r9q-7v3j-jr4g

Advisories 1

References