Affected by GO-2026-5996
and 2 other vulnerabilities
GO-2026-5996: ToolHive: SSRF guard misses IPv6 NAT64 ranges (64:ff9b::/96, 64:ff9b:1::/48), allowing metadata/internal access behind a NAT64 gateway in github.com/stacklok/toolhive
GO-2026-6002: ToolHive: SSRF in remote MCP server authentication discovery (host-side, bypasses container isolation) in github.com/stacklok/toolhive
GO-2026-6526: ToolHive: containerized MCP servers can reach host services via host.docker.internal, enabling lateral movement in github.com/stacklok/toolhive
New creates a Proxy and binds the TCP listener immediately so that Addr()
returns the correct address before Start is called. Returns an error if
GatewayURL is unparsable, the listen address is not loopback, or the port
is already in use.