CVE-2026-59950
CVE-2026-59950 — MCP Python SDK: WebSocket server transport does not support Host/Origin validation
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.6
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.6 | CVSS 4.0 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-346
- CWE-1385
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1557.002Adversary-in-the-Middle: ARP Cache Poisoning
- T1584.002Compromise Infrastructure: DNS Server
- T1134Access Token Manipulation
References
4 on the record
- github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-vj7q-gjh5-988w
x_refsource_CONFIRM
- github.com/modelcontextprotocol/python-sdk/pull/2992
x_refsource_MISC
- github.com/modelcontextprotocol/python-sdk/commit/777b8d06710c140e3606b0d4598e2aa48546c266
x_refsource_MISC
- github.com/modelcontextprotocol/python-sdk/releases/tag/v1.28.1
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-102895 GPUStack: Authentication bypass via trusted loopback source (reverse-proxy TCP peer or X-GPUStack-Real-IP header) grants unauthenticated adminCVSS 9.8 · CISA KEV
- CVE-2025-34291 Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCECVSS 8.8 · CISA KEV
- CVE-2015-4495 Mozilla Firefox Security Feature Bypass VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2026-121529 A origin validation error vulnerability in Fortinet FortiClientMac 7.4.0 through 7.4.7, FortiClientWindows 7.4.0 through 7.4.7…CVSS 9.6
- CVE-2026-9191 Insufficient isolation of user-supplied code in Progress MarkLogic ServerCVSS 9.6
- CVE-2026-136123 Friendica through 2026.05-1 Impersonation via APContact::compactProfile() Key OverwriteCVSS 7.5
Elsewhere on this site
- Modelcontextprotocolevery CVE for this vendor
- CWE-346other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.