CVE-2026-59950
Last modified
CVE-2026-59950 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Lfprojects | Mcp Python Sdk | < 1.28.1 |
References
- https://github.com/modelcontextprotocol/python-sdk/pull/2992Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-59950?
How severe is CVE-2026-59950?
How do I fix CVE-2026-59950?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59944Composer is a dependency Manager for the PHP language. From …6.1
- CVE-2026-59946Composer is a dependency Manager for the PHP language. Prior…6.1
- CVE-2026-59947Composer is a dependency Manager for the PHP language. Prior…4.7
- CVE-2026-59948Composer is a dependency Manager for the PHP language. Prior…7
- CVE-2026-59949yawkat LZ4 Java provides LZ4 compression for Java. Prior to …6.5
- CVE-2026-5995A weakness has been identified in Totolink A7100RU 7.4cu.231…9.8
- CVE-2026-59952Valibot helps validate data using a schema. Versions prior t…6.9
- CVE-2026-59954Apollo is a reliable configuration management system suitabl…7.5
- CVE-2026-59955Apollo is a reliable configuration management system suitabl…7.5
- CVE-2026-59956OpenImageIO is a toolset for reading, writing, and manipulat…6.1
- CVE-2026-5996A security vulnerability has been detected in Totolink A7100…9.8
- CVE-2026-59960Argos JavaScript provides official Argos SDKs for JavaScript…7.5
Are you affected by CVE-2026-59950?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
