Generated remediation guidance and an executive summary. No account required.
The Go MCP SDK used Go's standard encoding/json. Prior to version 1.4.0, the Model Context Protocol (MCP) Go SDK does not enable DNS rebinding protection by default for HTTP-based servers. When an HTTP-based MCP server is run on localhost without authentication with StreamableHTTPHandler or SSEHandler, a malicious website could exploit DNS rebinding to bypass same-origin policy restrictions and send requests to the local MCP server. This could allow an attacker to invoke tools or access resources exposed by the MCP server on behalf of the user in those limited circumstances. This issue has been patched in version 1.4.0.
Cite this page
CVE-2026-34742. CVEDatabase.com. Retrieved 1 May 2026. https://cvedatabase.com/cve/CVE-2026-34742
Use CWE-1188, Lfprojects vendor hub and Mcp Go Sdk product page to widen CVE-2026-34742 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2026-33252 and CVE-2026-27896 for nearby disclosures in the same product family.