Skip to content
EventPast event

MCP Python SDK cross-origin redirects leak custom request headers

1 reports1 reporting sourcesLatest report

Start here

AI overview

On October 28, the MCP Python SDK published security advisory CVE-2026-116685: in versions 1.8.0 to before 1.30.0 and 2.0.0 to before 2.2.0, the HTTP client transport sends custom headers (such as X-API-Key credentials) externally via cross-origin redirects; fixed in 1.30.0 and 2.2.0.

Generated by AI from reports · Updated 2026-10-28

Storyline

Developments on the same subject and issue, from earliest to latest

2 events
  1. · 3 reports· Attention43
    MCP Python SDK exposed an OAuth vulnerability; a fixed version has been released
  2. · 1 reports· Attention37

    MCP Python SDK cross-origin redirects leak custom request headersThis event

Progress timeline

Oct 28
  1. GitHub Security AdvisoriesSelected
    The HTTP client transport of the Model Context Protocol Python SDK previously followed cross-origin redirects and carried custom headers and request bodies

    The Model Context Protocol Python SDK released a security advisory (CVE-2026-116685): versions from 1.8.0 to before 1.30.0 and from 2.0.0 to before 2.2.0 send custom headers and request bodies externally via cross-origin redirects, and this has been fixed in 1.30.0 and 2.2.0. In affected versions, the Streamable HTTP and SSE client transports follow redirects pointing to arbitrary hosts, sending client-set custom headers (such as X-API-Key credentials) to the redirect target, and 307/308 redirects also resend the request body; the same applies to the OAuth client provider's discovery, registration and token requests. The standalone Authorization bearer header is not exposed; MCP servers, stdio clients, and clients that keep follow_redirects at the default False are unaffected.