DHI-x7vd-fyza-h6ph-i2qs
In github.com/mark3labs/mcp-go/client/transport, NewStreamableHTTP constructs an http.Client with a nil CheckRedirect…
Unscored
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-19
- Age
- 14d old
- Modified
- 2026-12-01
- Product
- kubescape-cli-3-dev
Description
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.
Sources
- OSV · first seen 14d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-x7vd-fyza-h6ph-i2qs advisory
- https://pkg.go.dev/vuln/GO-2026-6911 advisory
- https://github.com/mark3labs/mcp-go/issues/1164 web
- https://github.com/golang/vulndb/issues/6911 web
- https://github.com/mark3labs/mcp-go/pull/1192 fix
- https://github.com/mark3labs/mcp-go/commit/2f5b9637ea843f918889293b8d08d600e13b18e2 fix
- https://github.com/mark3labs/mcp-go/issues/1188 web