Cyber Resilience

CVE-2026-0621

Lfprojects Mcp Typescript Sdk ≤ 1.25.1

Public PoC
Published
05 January 2026
Modified
14 July 2026
CVSS Score v4 8.7
Click a component to see what it means
Raw vectorCVSS: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
EPSS Score 0.0041 34th percentile
Risk Priority 44 floored blend · peak EPSS

Summary

CVE-2026-0621 is a high-severity Inefficient Regular Expression Complexity (CWE-1333) vulnerability in Lfprojects Mcp Typescript Sdk. Its CVSS base score is 8.7 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked at the 34th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

This vulnerability is AI-related — categorised as AI Agent Protocols and Integrations; in the Protocol-Specific Risks risk domain.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-0621 is a regular expression denial of service (ReDoS) vulnerability affecting Anthropic's MCP TypeScript SDK in versions up to and including 1.25.1. The issue resides in the UriTemplate class during processing of RFC 6570 exploded array patterns, where a dynamically generated regular expression for URI matching includes nested quantifiers. These can trigger catastrophic backtracking on specially crafted inputs, leading to excessive CPU consumption and potential unresponsiveness of the Node.js process.

The vulnerability has a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), indicating network accessibility with low attack complexity, no privileges or user interaction required. Any remote attacker can exploit it by supplying a malicious URI to a vulnerable application using the SDK, causing the Node.js process to become unresponsive and resulting in a denial of service. It is associated with CWE-1333 (Inefficient Regular Expression Complexity).

Advisories detail the issue in GitHub issue #965 at https://github.com/modelcontextprotocol/typescript-sdk/issues/965 and the VulnCheck advisory at https://www.vulncheck.com/advisories/mcp-typescript-sdk-uritemplate-exploded-array-pattern-redos. Practitioners should consult these for mitigation guidance, such as updating to a patched SDK version beyond 1.25.1.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

AI Security AnalysisAI

AI Category
AI Agent Protocols and Integrations
Risk Domain
Protocol-Specific Risks
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Matched keywords: anthropic, mcp

Related Threats

MITRE ATT&CK Enterprise Techniques

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.003 Application Exhaustion Flood Impact
Adversaries may target resource intensive features of applications to cause a denial of service (DoS), denying availability to those applications.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-66414Same product: Lfprojects Mcp Typescript Sdk
CVE-2026-25536Same product: Lfprojects Mcp Typescript Sdk
CVE-2026-26006Shared CWE-1333
CVE-2025-0453Same vendor: Lfprojects
CVE-2023-6688Shared CWE-1333
CVE-2023-45813Shared CWE-1333
CVE-2023-25167Shared CWE-1333
CVE-2025-3933Shared CWE-1333
CVE-2025-70034Shared CWE-1333
CVE-2026-34237Same vendor: Lfprojects

Affected Assets

lfprojects
mcp typescript sdk
≤ 1.25.1

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and evaluation can discover inefficient regex patterns via performance or static analysis.

Development standards and tools can require safe regex construction and forbid known exponential patterns.

Denial-of-service protections limit resource exhaustion caused by expensive regex evaluation.

Input validation can constrain data that would otherwise trigger worst-case regex complexity.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly prevent inefficient regex via reviews, static analysis, and safe libraries.

ID.RA-01 partial match
prevents

Vulnerability identification processes can discover ReDoS issues in existing code but do not stop their introduction.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect and reject regex patterns with exponential worst-case complexity.

prevents

Secure development lifecycle mandates review of algorithmic efficiency, directly addressing ReDoS-prone regex.

prevents

Application security requirements can specify input-validation rules that limit regex complexity.

prevents

Secure architecture principles encourage avoidance of computationally expensive constructs such as catastrophic backtracking.

prevents

Secure coding standards explicitly prohibit or limit the use of inefficient regular expressions.

References