MCP Python cross-origin redirects leak request material
The HTTP transports and OAuth request paths can follow redirects that resend custom headers or method-preserving request bodies to a different origin. A redirect under attacker influence can expose that material.
The HTTP transports and OAuth request paths can follow redirects that resend custom headers or method-preserving request bodies to a different origin. A redirect under attacker influence can expose that material.
This is a maintainer-documented vulnerability disclosure, not evidence of exploitation against a named customer. Affected ranges: mcp >= 2.0.0, < 2.2.0; mcp >= 1.8.0, < 1.30.0. The maintainer lists patched releases: mcp 1.30.0; mcp 2.2.0.
Takeaway
Check the deployed package and its configuration against the advisory. Apply the listed fix on a supported release line and verify the trust boundary with an untrusted client or repository.