CVE-2026-116685
MEDIUM 5.9CVSS 3.1Model Context Protocol Python SDK: HTTP client transports followed cross-origin redirects carrying custom headers and bodies
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.
- Published
- 27 Oct 2026
- Last modified
- 30 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-200
- Also known as
- GHSA-5h93-6whr-6q8j
- Sources
- NVDJSONOSV GHSA-5h93-6whr-6q8jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | mcp | >= 2.0.0, < 2.2.0 | 2.2.0 |
| OSV | PyPI | mcp | >= 1.8.0, < 1.30.0 | 1.30.0 |
References
- https://github.com/modelcontextprotocol/python-sdk/commit/2106335745563b2321b8c73fef2c12903d00aa6e · WEB
- https://github.com/modelcontextprotocol/python-sdk/commit/c6762e821c527925f0b617db216d00fbd1d0bf99 · WEB
- https://github.com/modelcontextprotocol/python-sdk/pull/3397 · WEB
- https://github.com/modelcontextprotocol/python-sdk/pull/3448 · WEB
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.30.0 · WEB
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v2.2.0 · WEB
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-5h93-6whr-6q8j · WEB
- https://github.com/modelcontextprotocol/python-sdk · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 27 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Oct 2026)