CVE-2026-34742 | modelcontextprotocol go-sdk up to 1.3.x insecure default initialization of resource (GHSA-xw59-hvm2-8pj6)
VulDBArchived Apr 03, 2026✓ Full text saved
A vulnerability was found in modelcontextprotocol go-sdk up to 1.3.x and classified as critical . Impacted is an unknown function. Executing a manipulation can lead to insecure default initialization of resource. This vulnerability is registered as CVE-2026-34742 . It is possible to launch the attack remotely. No exploit is available. It is suggested to upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-355031 · CVE-2026-34742 · GHSA-XW59-HVM2-8PJ6
MODELCONTEXTPROTOCOL GO-SDK UP TO 1.3.X INSECURE DEFAULT INITIALIZATION OF RESOURCE
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
6.0 $0-$5k 1.13+
Summaryinfo
A vulnerability was found in modelcontextprotocol go-sdk up to 1.3.x. It has been classified as critical. The affected element is an unknown function. The manipulation leads to insecure default initialization of resource. This vulnerability is documented as CVE-2026-34742. The attack can be initiated remotely. There is not any exploit available. Upgrading the affected component is recommended.
Detailsinfo
A vulnerability was found in modelcontextprotocol go-sdk up to 1.3.x. It has been rated as critical. This issue affects an unknown code block. The manipulation with an unknown input leads to a insecure default initialization of resource vulnerability. Using CWE to declare the problem leads to CWE-1188. The product initializes or sets a resource with a default that is intended to be changed by the administrator, but the default is not secure. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2026-34742 since 03/30/2026. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. The technical details are unknown and an exploit is not publicly available.
Upgrading to version 1.4.0 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 67bd3f2e2b53ce11a16db8d976cdb8ff1e986b6d is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Productinfo
Vendor
modelcontextprotocol
Name
go-sdk
Version
1.0
1.1
1.2
1.3
License
open-source
Website
Product: https://github.com/modelcontextprotocol/go-sdk/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3info
VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Insecure default initialization of resource
CWE: CWE-1188
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: go-sdk 1.4.0
Patch: 67bd3f2e2b53ce11a16db8d976cdb8ff1e986b6d
Timelineinfo
03/30/2026 CVE reserved
04/02/2026 +3 days VulDB entry created
04/03/2026 +0 days Advisory disclosed
04/03/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-xw59-hvm2-8pj6
Status: Confirmed
CVE: CVE-2026-34742 (🔒)
GCVE (CVE): GCVE-0-2026-34742
GCVE (VulDB): GCVE-100-355031
Entryinfo
Created: 04/03/2026 00:06
Changes: 04/03/2026 00:06 (69)
Complete: 🔍
Cache ID: 99:D5A:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸