CVE-2026-34742
CVE-2026-34742 is a high-severity vulnerability in Lfprojects Mcp Go Sdk with a CVSS 3.x base score of 8.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-1188.
Key facts
- Severity: High (CVSS 3.x base score 8.1)
- CVSS v4: 7.6
- EPSS exploit prediction: 0% (36th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-18503
- Weakness: CWE-1188
- Affected product: Lfprojects Mcp Go Sdk
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2026-34742?
- 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.
- How severe is CVE-2026-34742?
- CVE-2026-34742 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2026-34742 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (36th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-34742?
- CVE-2026-34742 affects Lfprojects Mcp Go Sdk. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-34742?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-34742 have an EU (EUVD) identifier?
- Yes. CVE-2026-34742 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-18503.
- When was CVE-2026-34742 published?
- CVE-2026-34742 was published on 2026-04-02 and last updated on 2026-06-30.
References
- 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
- https://github.com/modelcontextprotocol/go-sdk/security/advisories/GHSA-xw59-hvm2-8pj6
- https://access.redhat.com/errata/RHSA-2026:21772
- 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
Affected products (1)
- cpe:2.3:a:lfprojects:mcp_go_sdk:*:*:*:*:*:*:*:*
More vulnerabilities in Lfprojects Mcp Go Sdk
- CVE-2026-27896 — High (CVSS 7.5): The Go MCP SDK used Go's standard encoding/json.Unmarshal for JSON-RPC and MCP protocol message parsing in versions…
- CVE-2026-33252 — High (CVSS 7.1): The Go MCP SDK used Go's standard encoding/json. Prior to version 1.4.1, the Go SDK's Streamable HTTP transport…
All CVEs affecting Lfprojects Mcp Go Sdk →
Other CWE-1188 (Insecure Default Initialization of Resource) vulnerabilities
- CVE-2026-31957 — Critical (CVSS 10.0): Himmelblau is an interoperability suite for Microsoft Azure Entra ID and Intune. From 3.0.0 to before 3.1.0, if…
- CVE-2025-41672 — Critical (CVSS 10.0): A remote unauthenticated attacker may use default certificates to generate JWT Tokens and gain full access to the tool…
- CVE-2024-0001 — Critical (CVSS 10.0): A condition exists in FlashArray Purity whereby a local account intended for initial array configuration remains active…
- CVE-2024-2912 — Critical (CVSS 10.0): An insecure deserialization vulnerability exists in the BentoML framework, allowing remote code execution (RCE) by…
- CVE-2021-34795 — Critical (CVSS 10.0): Multiple vulnerabilities in the web-based management interface of the Cisco Catalyst Passive Optical Network (PON)…
- CVE-2017-7964 — Critical (CVSS 10.0): Zyxel WRE6505 devices have a default TELNET password of 1234 for the root and admin accounts, which makes it easier for…
Browse all CWE-1188 (Insecure Default Initialization of Resource) vulnerabilities →