SCA: security update for @modelcontextprotocol/sdk (GHSA-8r9q-7v3j-jr4g)

high Tenable Cloud Security Plugin ID 436602

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-0621)

Solution

Update the @modelcontextprotocol/sdk library and its related packages to version 1.25.2 or later.

See Also

https://github.com/advisories/GHSA-8r9q-7v3j-jr4g

Plugin Details

Severity: High

ID: 436602

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/7/2026

Updated: 7/15/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-0621

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 7.7

Threat Vector: CVSS:4.0/E:P

Vector: 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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/5/2026

Vulnerability Publication Date: 1/5/2026

Reference Information

CVE: CVE-2026-0621