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.
Severity (CVSS)
| Base score | 5.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-200 — CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected products
| Vendor | Product | Versions |
|---|---|---|
| modelcontextprotocol | python-sdk | >= 1.8.0, < 1.30.0 [affected]; >= 2.0.0, < 2.2.0 [affected] |
References
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-5h93-6whr-6q8j (x_refsource_CONFIRM)
- https://github.com/modelcontextprotocol/python-sdk/pull/3397 (x_refsource_MISC)
- https://github.com/modelcontextprotocol/python-sdk/pull/3448 (x_refsource_MISC)
- https://github.com/modelcontextprotocol/python-sdk/commit/2106335745563b2321b8c73fef2c12903d00aa6e (x_refsource_MISC)
- https://github.com/modelcontextprotocol/python-sdk/commit/c6762e821c527925f0b617db216d00fbd1d0bf99 (x_refsource_MISC)
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.30.0 (x_refsource_MISC)
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v2.2.0 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 28 Oct 2026 07:01 UTC.