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.
CVE-2026-59950
This high-severity CVE scores 8.1 under NVD CVSS v3. EPSS exploit probability: 0.2%, top 86% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.1
- EG Score
- 8.1(medium)
- EG Risk
- 37(Track)EG Risk 37/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity81% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 14%
- KEV
- Not listed
Published
July 15, 2026
Last Modified
July 17, 2026
Advisory Details (4)
Auto-updated Jul 15, 2026v1.28.1
Patch available: modelcontextprotocol/python-sdk v1.28.1
https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.28.1commit 777b8d06710c (modelcontextprotocol/python-sdk)
Fix landed in modelcontextprotocol/python-sdk commit 777b8d06710c — awaiting tagged release
https://github.com/modelcontextprotocol/python-sdk/commit/777b8d06710c140e3606b0d4598e2aa48546c266[v1.x] Support TransportSecuritySettings in the WebSocket server transport
Fix merged in modelcontextprotocol/python-sdk PR #2992 on 2026-06-26 — awaiting tagged release
https://github.com/modelcontextprotocol/python-sdk/pull/2992WebSocket server transport does not support Host/Origin validation · Advisory · modelcontextprotocol/python-sdk · GitHub
https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-vj7q-gjh5-988wVendor Advisories for CVE-2026-59950(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| mcp | 0.9.1 ... 1.9.4 (57 versions) | 1.28.1 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 51× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-30 03:45 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 21:27 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:58 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-26 01:37 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 23:25 UTCEG score recompute
- 2026-08-24 10:21 UTCEG score recompute
- 2026-08-23 08:12 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 06:00 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 03:42 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 00:13 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 19:59 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 23:11 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 21:02 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
Show 57 moreShow fewer
- 2026-08-16 07:57 UTCEG score recompute
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 05:48 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 03:38 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 01:29 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 23:20 UTCEG score recompute
- 2026-08-11 10:16 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-09 19:03 UTCEG score recompute
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-07 01:42 UTCEG score recompute
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-05 23:34 UTCEG score recompute
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 21:14 UTCEG score recompute
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:39 UTCEPSS rescore
- 2026-08-03 18:59 UTCEG score recompute
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-02 03:19 UTCEG score recompute
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 14:15 UTCEG score recompute
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-30 22:57 UTCEG score recompute
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 09:52 UTCEG score recompute
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-28 17:28 UTCEG score recompute
- 2026-07-28 15:37 UTCEPSS rescore
- 2026-07-27 15:16 UTCEG score recompute
- 2026-07-27 14:14 UTCEPSS rescore
- 2026-07-26 11:29 UTCEG score recompute
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:21 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:37 UTCEG score recompute▲ 0.50
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-17 20:00 UTCNVD updateCVSS v3 → 8.1
- 2026-07-17 13:37 UTCEG score recompute
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 20:35 UTCEG score recompute
- 2026-07-15 20:34 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-59950?
When was CVE-2026-59950 disclosed?
Is CVE-2026-59950 actively exploited?
What is the CVSS score of CVE-2026-59950?
How do I remediate CVE-2026-59950?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-59950
Is Your Infrastructure Affected by CVE-2026-59950?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.