Live threats

All CVEs / Lfprojects

CVE-2026-59950Lfprojects Mcp Python Sdk

High 7.6 No auth needed

Priority
61
CVSS 4.0
7.6
EPSS
—
Auth required
No
Published
Jul 15, 2026
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-346, CWE-1385
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mcp Python Sdk.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
lfprojectsmcp_python_sdk< 1.28.1

Official sources

References

Links published by the sources. Open them with care.