AI Stack Alert Medium CVE-2026-116685 For AppSec, AI Eng, CISO AI-assisted
CVE-2026-116685: MCP Python SDK HTTP clients forwarded headers and bodies on cross-origin redirects
Affected versions of the MCP Python SDK followed HTTP redirects to any host in its Streamable HTTP and SSE client transports, and in its OAuth client providers. Custom headers, such as an X-API-Key credential, were sent to the redirect target, and on 307 or 308 redirects the request body was re-sent as well. Fixed in mcp 1.30.0 (1.x) and 2.2.0 (2.x).
Why it matters
Anyone who can redirect a trusted MCP endpoint to another origin, such as through a lapsed domain or a misrouted proxy rule, can capture client credentials and request bodies. A bearer Authorization header was not exposed, because the HTTP library already drops it on cross-origin redirects.
Do this
- Upgrade mcp to 1.30.0 or later (1.x), or 2.2.0 or later (2.x). No code changes are required.
- Until the upgrade is done, pass your own HTTP client with follow_redirects left at False (http_client= for streamable_http_client; httpx_client_factory= for sse_client and streamablehttp_client).
- If a client may have followed a redirect to a host you do not control, rotate the credentials it carried.
- If a client depends on a redirect to another host, set the endpoint URL to the redirect target. After upgrading, such clients fail rather than follow the redirect.
- Review client logs and proxy configuration for unexpected 3xx responses from MCP endpoints.
Exploit Clock
Exploitation unlikely (for now)
- EPSS 0.40%
Signals
- NoCISA KEV
- 5.9CVSS
- 0.40%EPSS
- 28/100Priority
- 90%Confidence
Evidence
“the SDK's Streamable HTTP and SSE client transports followed HTTP redirects to any host.”
“Upgrade to `mcp` 1.30.0 (1.x) or 2.2.0 (2.x) or later; no code changes are needed.”
“Until you can upgrade, supply your own HTTP client with `follow_redirects` left at `False`”
Sources
Affected / related
mcp, Model Context Protocol Python SDK
Published 2026-10-27 21:05 UTC · updated 2026-11-08 02:39 UTC · AI-assisted summary, checked against quoted sources · How we score