← VULNERABILITIES

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

JSON