CVE-2026-34742

Model Context Protocol Go SDK: DNS Rebinding Protection Disabled by Default for Servers Running on Localhost

HIGH
8.1
CVSS Score
Published: April 2, 2026 at 06:32 PM UTC
Updated: July 24, 2026 at 09:10 PM UTC
4 products affected across 3 vendorsMcp Go SDKOpenShift ServerlessMigration Toolkit for Virtualization

Using go-sdk by modelcontextprotocol?

Get instant alerts when new vulnerabilities affect go-sdk - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.1
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.4.0
Affected range stops below 1.4.0, so it looks safe — our inference, not a vendor statement
v < 1.4.0
Affected range stops below 1.4.0, so it looks safe — our inference, not a vendor statement

References (8)

x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/modelcontextprotocol/go-sdk/pull/760
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/modelcontextprotocol/go-sdk/releases/tag/v1.4.0
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:21772
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/security/cve/CVE-2026-34742
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://bugzilla.redhat.com/show_bug.cgi?id=2454608

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-1188

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card