Go Vulnerability Database
GO-2026-5771
DNS Rebinding Protection Disabled by Default in Model Context Protocol Go SDK for Servers Running on Localhost in github.com/modelcontextprotocol/go-sdk
Details
DNS Rebinding Protection Disabled by Default in Model Context Protocol Go SDK for Servers Running on Localhost in github.com/modelcontextprotocol/go-sdk
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/modelcontextprotocol/go-sdk | All versions before 1.4.0 (fixed in 1.4.0) |
References
- https://github.com/modelcontextprotocol/go-sdk/security/advisories/GHSA-xw59-hvm2-8pj6
- https://nvd.nist.gov/vuln/detail/CVE-2026-34742
- https://github.com/modelcontextprotocol/go-sdk/commit/67bd3f2e2b53ce11a16db8d976cdb8ff1e986b6d
- https://github.com/modelcontextprotocol/go-sdk/pull/760
- https://github.com/modelcontextprotocol/go-sdk/releases/tag/v1.4.0