CVE-2026-34742: Model Context Protocol Go SDK: DNS Rebinding Protection Disabled by Default for Servers Running on Localhost
modelcontextprotocol · go-sdk
Vendor fix available · Affected: modelcontextprotocol go-sdk · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 41% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- modelcontextprotocol · go-sdk< 1.4.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Weakness
- Initialization of a Resource with an Insecure Default · Misconfiguration and Insecure Design
- Vendor
- modelcontextprotocol
- Published
- April 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-34742 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-1188cwe.mitre.org
- Vendor advisoryaccess.redhat.com
- github.com/modelcontextprotocol/go-sdk/security/advisories/GHSA-github.com
- github.com/modelcontextprotocol/go-sdk/pull/760github.com
- github.com/modelcontextprotocol/go-sdk/commit/67bd3f2e2b53ce11a1github.com
- github.com/modelcontextprotocol/go-sdk/releases/tag/v1.4.0github.com
- access.redhat.com/security/cve/CVE-2026-34742access.redhat.com
- Issue trackerbugzilla.redhat.com
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34742.security.access.redhat.com