github.com/modelcontextprotocol/go-sdk):github.com/modelcontextprotocol/go-sdk (go) | High || Field | Value |
|---|---|
| CVE / NVD | CVE-2026-34742 |
| EPSS score | 0.004550000 (FIRST EPSS, 2026-06-30) |
| Date (index) | 2026-04-02 |
| Affected product (index) | MCP Go SDK (github.com/modelcontextprotocol/go-sdk):github.com/modelcontextprotocol/go-sdk (go) |
| GHSA ID | GHSA-xw59-hvm2-8pj6 |
| OWASP MCP Top 10 (2025) | MCP07 — Insufficient Authentication & Authorization |
| Published / disclosed | 2026-04-01 |
| Ecosystem | go |
| Component | github.com/modelcontextprotocol/go-sdk |
| CVSS score | 8.1 HIGH CVSS v3.1 (NVD) |
| CWE | CWE-1188 / CWE-918 (DNS rebinding) |
| Affected versions | < 1.4.0 |
| Fixed versions | 1.4.0 |
| Fix status | Patched |
| Exploit status | No known exploit |
DNS Rebinding Protection Disabled by Default in Model Context Protocol Go SDK for Servers Running on Localhost
A victim generally needs to be running the affected HTTP/SSE MCP service and to browse attacker-controlled web content. Risk is highest when the service is unauthenticated, bound to localhost, or otherwise reachable from a browser context.
DNS rebinding protection disabled by default
Affects localhost HTTP/SSE MCP servers using Go SDK defaults. The attack path is especially relevant for localhost or browser-reachable MCP deployments.
Add a minimal vulnerable code snippet here after reviewing the linked source locations.
The fix hardens HTTP transport trust checks by validating origin and host assumptions and by moving the default behavior toward safer localhost and browser-facing deployments.
1.4.0 or later as the primary remediation.No public PoC link is captured in the current source set.
< 1.4.0.https://github.com/modelcontextprotocol/go-sdk/releases/tag/v1.4.0