VULNERABILITY INTELLIGENCE
CVE-2026-34742
CVSS score8.1 HIGH
EPSS probability0.47%
CISA KEVNot currently listed
Published2026-04-02
Last modified2026-07-24
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Description
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.
Weakness classification
- security-advisories@github.com: CWE-1188
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c: CWE-1188
Primary references
- security-advisories@github.com — Patch
- security-advisories@github.com — Issue Tracking, Patch
- security-advisories@github.com — Release Notes
- security-advisories@github.com — Vendor Advisory
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c