8.1

CVE-2026-59950: MCP Python SDK: WebSocket server transport does not support Host/Origin validation

Analyzed
AliasesGHSA-vj7q-gjh5-988wPYSEC-2026-3483CGA-4gfx-x85r-c5c7
Published 15-07-2026Last modified 17-07-2026

Vulnerability summary

CVE-2026-59950 is a high (CVSS 8.1) Origin Validation Error vulnerability in lfprojects mcp_python_sdk. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.6, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.1 (NVD)
EPSS score
0.15%
0%100%
Low · -0.08 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 15-07-2026
    PublishedVulnerability first disclosed.
  2. 17-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.15%

Chance of exploitation in the next 30 days

Percentile

4%

Versus all other CVEs

30-day change

Decrease -0.08 pp

From 0.23% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard5 products
  • kserve-huggingfaceserver-cuda-13.3All versions (No fix recorded) | < 0.21.0-r4
  • litellm< 1.91.2-r2 | < 1.93.0-r0
  • lmcache-cuda-12.8< 0.5.3-r0
  • semgrep< 1.172.0-r1
  • tritonserver-backend-vllm-cuda-13.0< 25.11-r11
Lfprojects1 product
Modelcontextprotocol1 product
PyPI1 product
  • mcp< 1.28.1
Wolfi1 product
  • semgrep< 1.172.0-r1

5 vendors · 9 products

References

9 links