CVE-2026-59950Lfprojects Mcp Python Sdk
High 7.6 No auth needed
Follow: this CVE · Lfprojects · Lfprojects Mcp Python Sdk We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 4.0
- 7.6
- EPSS
- —
- Auth required
- No
- Published
- Jul 15, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- 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
What happens
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.
What to do
- Apply the vendor's security update for Mcp Python Sdk.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | mcp |
< 1.28.1 |
1.28.1 |
pip install "mcp>=1.28.1" |
| PyPI | mcp |
< 1.28.1 |
1.28.1 |
pip install "mcp>=1.28.1" |
Per OSV / GitHub Advisories (GHSA-vj7q-gjh5-988w, PYSEC-2026-3483). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lfprojects | mcp_python_sdk | < 1.28.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Release Notes
- github.com Vendor Advisory