Vulnerability GO-2026-6911

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
9 hours ago
November 05, 2026 at 10:55 PM UTC
SSRF and credential leak via unvalidated Location header in github.com/mark3labs/mcp-go
*
*

Summary

SSRF and credential leak via unvalidated Location header in github.com/mark3labs/mcp-go

Details

In github.com/mark3labs/mcp-go/client/transport, NewStreamableHTTP constructs an http.Client with a nil CheckRedirect policy when no custom WithHTTPBasicClient is supplied, and attaches static custom headers and OAuth bearer tokens inside a RoundTripper layer. If an MCP server responds with a 3xx redirect, the client follows the Location header to arbitrary hosts and schemes and attaches configured WithHeaders and OAuth Authorization headers to the redirected request, enabling server-side request forgery (SSRF) and credential disclosure.

Timeline

Published
9 hours ago
November 05, 2026 at 10:55 PM UTC
Last Modified
8 hours ago
November 05, 2026 at 11:15 PM UTC