# CVE-2026-34742: Model Context Protocol Go SDK: DNS Rebinding Protection Disabled by Default for Servers Running on Localhost

- Priority: **Routine**
- Reason: Not severe (CVSS 7.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-02 · Modified: 2026-07-15
- Aliases: CGA-9f7w-grrq-4qq2, CGA-g77c-r65f-php7, GHSA-xw59-hvm2-8pj6, GO-2026-5771, CGA-2f3v-v9qw-88gm, CGA-76gx-2rpq-m7v2, CGA-f2m5-2pgx-6hgj, CGA-m3xj-7945-p899, CGA-q63p-863f-r2v5, CGA-v9c6-x8jj-85px, CGA-vxrx-2f6g-3m4m, CGA-w96m-vc48-gjj6, CGA-wrj6-f778-7hr7, CGA-x8fm-c6jg-4hcc
- Record: https://cvemate.com/vulnerability/CVE-2026-34742 · JSON: https://cvemate.com/vulnerability/CVE-2026-34742/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- EPSS: 0.53%, percentile 46.291%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard datadog-cluster-agent-7.75 (Chainguard): All versions (No fix recorded)
- chainguard datadog-cluster-agent-fips-7.75 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-workhorse-ce-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-workhorse-ce-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-workhorse-ce-fips-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-workhorse-ce-fips-18.7 (Chainguard): All versions (No fix recorded)
- wolfi datadog-cluster-agent-7.75 (Wolfi): All versions (No fix recorded)
- github.com/modelcontextprotocol go-sdk (Go): \< 1.4.0
- lfprojects mcp\_go\_sdk: \< 1.4.0
- modelcontextprotocol go-sdk: \< 1.4.0

## References

- <https://github.com/modelcontextprotocol/go-sdk/security/advisories/GHSA-xw59-hvm2-8pj6>
- <https://github.com/modelcontextprotocol/go-sdk/pull/760>
- <https://github.com/modelcontextprotocol/go-sdk/commit/67bd3f2e2b53ce11a16db8d976cdb8ff1e986b6d>
- <https://github.com/modelcontextprotocol/go-sdk/releases/tag/v1.4.0>
- <https://access.redhat.com/security/cve/CVE-2026-34742>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2454608>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34742.json>
- <https://access.redhat.com/errata/RHSA-2026:21772>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34742.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34742>
- <https://github.com/modelcontextprotocol/go-sdk>

---

Data as of 2026-12-05T09:54:38.379Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
