mcp-cve-project

CVE-2026-0621 | MCP TypeScript SDK (UriTemplate ReDoS) | High |

CVE Information

Field Value
CVE / NVD CVE-2026-0621
EPSS score 0.003990000 (FIRST EPSS, 2026-06-30)
Date (index) 2026-01-05
Affected product (index) MCP TypeScript SDK (UriTemplate ReDoS)
GHSA ID GHSA-cqwc-fm46-7fff
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2026-01-07
Ecosystem npm
Component @modelcontextprotocol/sdk
CVSS score 7.5 HIGH CVSS v3.1 (NVD)
CWE CWE-1333
Affected versions @modelcontextprotocol/sdk < 1.25.2
Fixed versions 1.25.2
Fix status Patched
Exploit status Public advisory (GitHub reviewed)

CVE Breakdown


What is the vulnerability?

UriTemplate ReDoS vulnerability that could hang MCP servers handling malicious resource URIs. High.

Attack prerequisites / exposure

The attacker needs network reachability to the vulnerable HTTP endpoint and the ability to send oversized or intentionally malformed requests.

CVE is because of what bug?

MCP-specific impact / why it matters

UriTemplate ReDoS vulnerability that could hang MCP servers handling malicious resource URIs. High. In MCP environments, even a narrow validation bug can become more dangerous when chained with tool invocation and agent autonomy.

Where was the bug? (source + snippet)

Exact file/function details are not yet captured in the repository source set. Use the advisory and upstream fix link above as the starting point for source-level pinpointing.

Add the vulnerable file/function name and a minimal before/after snippet here once the patch commit is linked.

Fix / Remediation

The fixed release hardens input validation and trust-boundary checks around the vulnerable MCP feature.

Upstream fix (open source)