5.9
Medium
CVE-2026-116685 The Model Context Protocol Python SDK is the official Python SDK for Model Context Protocol servers and clients
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| python-sdk 2.0 | 2.0.0 → < 2.2.0 | 2.2.0 |
| python-sdk 1.8 | 1.8.0 → < 1.30.0 | 1.30.0 |
References
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
Timeline
- Published
- Last modified
Other CVEs of python-sdk
The 11 CVEs of python-sdk →
CVE-2026-116686
The Model Context Protocol Python SDK is the official Python SDK for Model Context Protocol servers and clients
6.5
Medium
CVE-2026-116684
The Model Context Protocol Python SDK is the official Python SDK for Model Context Protocol servers and clients
6.8
Medium
CVE-2026-109527
The Model Context Protocol Python SDK is the official Python SDK for Model Context Protocol servers and clients
7.5
High
CVE-2026-59951
The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP)
6.9
Medium