SCA: security update for mcp (GHSA-84m7-p3x7-pcfv)

medium Tenable Cloud Security Plugin ID 474708

Description

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

- The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP).
From 1.8.0 until 1.30.0 and 2.2.0, stateful Streamable HTTP servers, including FastMCP, MCPServer,
Server.streamable_http_app(), and StreamableHTTPSessionManager, retain session entries without an idle
expiration or aggregate session-count limit. DELETE, refused opening requests, and completed sessions do
not reliably discard their entries, and each entry can retain parsed initialize parameters. A client that
can reach the endpoint can therefore create ordinary short requests that grow server memory without bound
until restart. Stateless HTTP, stdio, and SSE transports are not affected. This issue is fixed in versions
1.30.0 and 2.2.0. (CVE-2026-59951)

Solution

Update the mcp library and its related packages to version 1.30.0 or later.

See Also

https://github.com/advisories/GHSA-84m7-p3x7-pcfv

Plugin Details

Severity: Medium

ID: 474708

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/16/2026

Updated: 10/16/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.45

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-59951

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 2.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/15/2026

Vulnerability Publication Date: 10/14/2026

Reference Information

CVE: CVE-2026-59951