Patch Forecast
Yellow warning
Plan into this sprint.

CVE-2026-116685 · GHSA-5h93-6whr-6q8j

Model Context Protocol Python SDK: HTTP client transports followed cross-origin redirects carrying custom headers and bodies

Risk score
45/100
CVSS
5.9 v3.1
Published
27 Oct 2026

Open in the live forecast Today's forecast

What to know

What it is
The Model Context Protocol Python SDK is the official Python SDK for Model Context Protocol servers and clients. From 1.8.0 until 1.30.0 and 2.2.0, streamable_http_client, streamablehttp_client, sse_client, ClientSessionGroup, OAuth, and create_mcp_http_client client paths enable follow_redirects and follow redirects …
Affected
mcp (pip) >= 2.0.0, < 2.2.0; mcp (pip) >= 1.8.0, < 1.30.0
Fix
Upgrade mcp to 2.2.0 or 1.30.0 (whichever matches your release line) or later.
Exploitation
No known exploitation

Story map

Story map: mcpTHE FLAWSTHE FIXCVE-2026-116685Model Context Protocol PythonSDK: HTTP client transportsfollowed cross-origin…CVSS 5.9CVE-2026-59951MCP Python SDK: UnboundedSession Accumulation inStreamableHTTP Transport…CVSS 6.9 · EPSS 0%CVE-2026-116684Model Context Protocol PythonSDK: Server bearer-tokenauthentication accepts tokens…CVSS 6.8CVE-2026-116686Model Context Protocol PythonSDK: Client fetchedserver-chosen $ref URLs…CVSS 6.5Upgrade mcp1.30.0 · 2.2.0or later on your release lineWho is exposedmcp (pip) >= 1.8.0, < 1.30.0; mcp(pip) >= 2.0.0, < 2.2.0YELLOW · PLAN IT INmcpThe MCP Python SDK, called mcpon PyPI, is a Pythonimplementation of the ModelContext Protocol (MCP). From1.8.0 until 1.30.0 and 2.2.0,stateful Streamable HTTPservers, including FastMCP…Where it standsNo known exploitationCONNECTS TOSame weaknessInformation disclosure (CWE-200)247 other warnings in 30 days →
Story map: the flaws, the fix, how it unfolded and what it connects to. Boxes link to the record or article.

At a glance

mcp: Yellow, plan it in. The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP). From 1.8.0 until 1.30.0 and 2.2.0, stateful Streamable HTTP servers, including FastMCP, MCPServer, Server.streamable_http_app(), and StreamableHTTPSessionManager, retain session entries without an idle expiration or…

The flaws

  • CVE-2026-116685: Model Context Protocol Python SDK: HTTP client transports followed cross-origin redirects carrying custom headers and bodies (CVSS 5.9)
  • CVE-2026-59951: MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion (CVSS 6.9 · EPSS 0%)
  • CVE-2026-116684: Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource server (CVSS 6.8)
  • CVE-2026-116686: Model Context Protocol Python SDK: Client fetched server-chosen $ref URLs while validating tool results against output schemas (CVSS 6.5)

The fix

Upgrade mcp: 1.30.0 · 2.2.0 or later on your release line

Who is exposed: mcp (pip) >= 1.8.0, < 1.30.0; mcp (pip) >= 2.0.0, < 2.2.0

Where it stands

  • No known exploitation

Connects to

Why it is Yellow

  • CVSS 5.9 medium
  • On your watchlist: python, PyPI

Affected packages

PackageEcosystemVulnerableFixed in
mcppip>= 2.0.0, < 2.2.02.2.0
mcppip>= 1.8.0, < 1.30.01.30.0

References

Original description

The Model Context Protocol Python SDK is the official Python SDK for Model Context Protocol servers and clients. From 1.8.0 until 1.30.0 and 2.2.0, streamable_http_client, streamablehttp_client, sse_client, ClientSessionGroup, OAuth, and create_mcp_http_client client paths enable follow_redirects and follow redirects to a different origin, forwarding caller-supplied custom credential headers and, for 307 or 308 responses, the request body. An attacker who can influence a trusted endpoint's redirect destination can receive that material. This issue is fixed in versions 1.30.0 and 2.2.0.

Last activity 27 Oct 2026. Patch Forecast updates every hour.