A AegiFlow
HIGHCVSS 7.6EPSS 0.5%

CVE-2026-34742

CVE-2026-34742 updated by NVD

Published
2026-04-01
Modified
2026-07-26
EPSS percentile
37%
Sources
github-advisory, nvd

Summary

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 packages

EcosystemPackageAffected versionsFixed versions
Gogithub.com/modelcontextprotocol/go-sdk1.4.0

Remediation: Upgrade to 1.4.0 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.