1. Accueil
  2. Vulnérabilités
  3. CVE-2026-59951

CVE-2026-59951

MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion

Publiée le 14 oct. 2026 · modifiée le 16 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 42/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

modelcontextprotocol (1 ligne(s))
modelcontextprotocol
ProduitVersionsCorrigé dansSource
python-sdk Versions non précisées — CNA (éditeur ou attributeur)
Pypi (2 ligne(s))
Pypi
ProduitVersionsCorrigé dansSource
mcp de 1.8.0 (inclus) à 1.30.0 (exclu) 1.30.0 GitHub Advisory
mcp de 2.0.0 (inclus) à 2.2.0 (exclu) 2.2.0 GitHub Advisory

Correctif

Mise à jour — PyPI/mcp 1.30.0; PyPI/mcp 2.2.0source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
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 (CVSS 4.0, CNA:GitHub_M)
Faiblesse
CWE-400 · Autre (CWE-400)

Comment sont obtenues et calculées ces données