CVE-2026-34742Lfprojects Mcp Go Sdk
High 7.6 No auth needed
Follow: this CVE · Lfprojects · Lfprojects Mcp Go Sdk We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 4.0
- 7.6
- EPSS
- —
- Auth required
- No
- Published
- Apr 2, 2026
- Updated
- Jul 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1188
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Mcp Go Sdk.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/modelcontextprotocol/go-sdk |
< 1.4.0 |
1.4.0 |
go get github.com/modelcontextprotocol/go-sdk@v1.4.0 |
| Go | github.com/modelcontextprotocol/go-sdk |
< 1.4.0 |
1.4.0 |
go get github.com/modelcontextprotocol/go-sdk@v1.4.0 |
Per OSV / GitHub Advisories (GHSA-xw59-hvm2-8pj6, GO-2026-5771). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lfprojects | mcp_go_sdk | < 1.4.0 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Release Notes
- github.com Vendor Advisory
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com