> CVE-2026-59950 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-07-15 21:16
MODIFIED
2026-07-15 21:16
CVSS_SCORE V3
7.6
EPSS (Prob. Exploit)
0.23%
Top 86.0%
DATA SOURCES:
NVD đź”— 2026-07-15 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-01 GITHUB đź”— 2026-10-29 OSV đź”— 2026-11-02

> DESCRIPTION

The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to 1.28.1, the deprecated mcp.server.websocket.websocket_server transport accepted WebSocket handshakes without applying Host or Origin header validation, leaving no SDK-level way to restrict which origins could connect to applications that exposed that transport. This issue is fixed in version 1.28.1.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/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
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Unknown (P)
Interaction inconnue
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-346 CWE-1385

> CWE DETAILED DESCRIPTIONS

CWE-346: Origin Validation Error - The product does not properly verify that the source of data or communication is valid. | CWE-1385: Missing Origin Validation in WebSockets - The product uses a WebSocket, but it does not properly verify that the source of data or communication is valid.

> GITHUB SECURITY ADVISORY

GHSA-vj7q-gjh5-988w HIGH

MCP Python SDK: WebSocket server transport does not support Host/Origin validation

AFFECTED PACKAGES:
PIP / mcp
< 1.28.1
Fixed in: 1.28.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

MCP Python SDK: WebSocket server transport does not support Host/Origin validation

AFFECTED PACKAGES:
Unknown / Unknown
46 versions affected
ALIASES:
GHSA-vj7q-gjh5-988w, PYSEC-2026-3483

> HISTORIQUE DES MODIFICATIONS

Première apparition
15/07/2026 21:16
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-346: Origin Validation Error - The product does not properly verify that the source of data or communication is valid. | CWE-1385: Missing Origin Validation in WebSockets - The product uses a WebS...
Total des modifications: 1 Dernière mise à jour: 3 months ago

> REFERENCES

https://github.com/modelcontextprotocol/python-sdk/commit/777b8d06710c140e3606b0...
https://github.com/modelcontextprotocol/python-sdk/pull/2992
https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.28.1
https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-vj7q...
« BACK_TO_HOME