{
  "id": "CVE-2026-59950",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-59950",
  "published_at": "2026-07-15T20:08:54.095Z",
  "title": "MCP Python SDK: WebSocket server transport does not support Host/Origin validation",
  "vendor": "modelcontextprotocol",
  "product": "python-sdk",
  "cvss": {
    "score": 8.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-346",
  "cpes": [
    "cpe:2.3:a:lfprojects:mcp_python_sdk:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.6,
    "nvd": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "modelcontextprotocol",
        "product": "python-sdk",
        "ranges": [
          "\u003c 1.28.1"
        ],
        "fixed_in": [
          "1.28.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade python-sdk to 1.28.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-vj7q-gjh5-988w"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/modelcontextprotocol/python-sdk/pull/2992"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/modelcontextprotocol/python-sdk/commit/777b8d06710c140e3606b0d4598e2aa48546c266"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.28.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
