# mcp (PyPI)

Model Context Protocol SDK

- Latest: 2.3.0 (2026-10-02)
- Licence: MIT
- Downloads: 353133850 last month
- Advisories on the latest version: 0

- CVE-2026-115563 HIGH: Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server Fixed in 2.2.0, 1.30.0.
- CVE-2026-116685 MODERATE: Model Context Protocol Python SDK: HTTP client transports followed cross-origin redirects carrying custom headers and bodies Fixed in 2.2.0, 1.30.0.
- CVE-2026-116686 MODERATE: Model Context Protocol Python SDK: Client fetched server-chosen $ref URLs while validating tool results against output schemas Fixed in 2.2.0, 1.30.0.
- CVE-2026-116684 MODERATE: Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource server Fixed in 2.2.0, 1.30.0.
- CVE-2026-59951 MODERATE: MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion Fixed in 1.30.0, 2.2.0.
- CVE-2026-52870 : MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks Fixed in 1.27.2.
- CVE-2026-52869 : MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal Fixed in 1.27.2.
- CVE-2026-59950 : MCP Python SDK: WebSocket server transport does not support Host/Origin validation Fixed in 1.28.1.
- CVE-2026-52870 HIGH: MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks Fixed in 1.27.2.
- CVE-2026-52869 HIGH: MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal Fixed in 1.27.2.
- CVE-2026-59950 HIGH: MCP Python SDK: WebSocket server transport does not support Host/Origin validation Fixed in 1.28.1.
- CVE-2025-53366 : MCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS Fixed in 1.9.4.
- CVE-2025-66416 : Model Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default Fixed in 1.23.0.
- CVE-2025-53365 : MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service Fixed in 1.10.0.
- CVE-2025-66416 HIGH: Model Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default Fixed in 1.23.0.
- CVE-2025-53366 HIGH: MCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS Fixed in 1.9.4.
- CVE-2025-53365 HIGH: MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service Fixed in 1.10.0.

Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.
