threatdeck
Live 14:45 UTC ·

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

  1. Upgrade mcp to 1.30.0 or later (1.x), or 2.2.0 or later (2.x). No code changes are required.
  2. 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).
  3. If a client may have followed a redirect to a host you do not control, rotate the credentials it carried.
  4. 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.
  5. 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.”

GitHub Security Advisories (AI packages)

“Upgrade to `mcp` 1.30.0 (1.x) or 2.2.0 (2.x) or later; no code changes are needed.”

GitHub Security Advisories (AI packages)

“Until you can upgrade, supply your own HTTP client with `follow_redirects` left at `False`”

GitHub Security Advisories (AI packages)

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

Following

Follow the vendors, products, AI tools, techniques and actors you care about. Matching stories, CVEs and exploited bugs are marked, a Following tab appears in the feed, and returning visits show what changed. Saved only in this browser.

Presets

Get updates

A personal RSS feed of new stories on everything you follow. Paste it into any feed reader, Slack or Teams RSS app.