CVE-2026-0621: CWE-1333 Inefficient Regular Expression Complexity in Anthropic MCP TypeScript SDK
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.
AI Analysis
Technical Summary
CVE-2026-0621 is a high-severity vulnerability in Anthropic's MCP TypeScript SDK (up to version 1.25.1) involving the UriTemplate class. The vulnerability is due to a regular expression denial of service (ReDoS) caused by nested quantifiers in dynamically generated regular expressions used for URI matching of RFC 6570 exploded array patterns. This can lead to catastrophic backtracking and excessive CPU usage when processing specially crafted inputs, potentially causing the Node.js process to become unresponsive and resulting in denial of service.
Potential Impact
An attacker can exploit this vulnerability by providing a malicious URI that triggers catastrophic backtracking in the regular expression engine, leading to excessive CPU consumption and denial of service of the affected Node.js process running the MCP TypeScript SDK. This can disrupt service availability but does not involve privilege escalation or data confidentiality/integrity impacts as per the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Until a patch is available, consider implementing input validation or limiting URI input complexity to mitigate potential exploitation.
CVE-2026-0621: CWE-1333 Inefficient Regular Expression Complexity in Anthropic MCP TypeScript SDK
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.
CVSS v4.0
Score 8.7high
Affected software
Anthropic
MCP TypeScript SDK
pkg:github/MCP TypeScript SDKRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-0621 is a high-severity vulnerability in Anthropic's MCP TypeScript SDK (up to version 1.25.1) involving the UriTemplate class. The vulnerability is due to a regular expression denial of service (ReDoS) caused by nested quantifiers in dynamically generated regular expressions used for URI matching of RFC 6570 exploded array patterns. This can lead to catastrophic backtracking and excessive CPU usage when processing specially crafted inputs, potentially causing the Node.js process to become unresponsive and resulting in denial of service.
Potential Impact
An attacker can exploit this vulnerability by providing a malicious URI that triggers catastrophic backtracking in the regular expression engine, leading to excessive CPU consumption and denial of service of the affected Node.js process running the MCP TypeScript SDK. This can disrupt service availability but does not involve privilege escalation or data confidentiality/integrity impacts as per the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Until a patch is available, consider implementing input validation or limiting URI input complexity to mitigate potential exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-01-05T19:41:59.356Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 695c28263839e441759152d9
Added to database: 01/05/2026, 21:07:50 UTC
Last enriched: 07/15/2026, 10:59:19 UTC
Last updated: 09/10/2026, 22:30:17 UTC
Views: 1656
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.