modelcontextprotocol go-sdk up to 1.3.x insecure default initialization of resource
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.0 | $0-$5k | 1.68- |
Summary
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.
Details
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.
Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 6.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 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: 🔍
Exploiting
Class: Insecure default initialization of resourceCWE: 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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: go-sdk 1.4.0
Patch: 67bd3f2e2b53ce11a16db8d976cdb8ff1e986b6d
Timeline
03/30/2026 CVE reserved04/02/2026 VulDB entry created
04/03/2026 Advisory disclosed
04/03/2026 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-xw59-hvm2-8pj6
Status: Confirmed
CVE: CVE-2026-34742 (🔒)
GCVE (CVE): GCVE-0-2026-34742
GCVE (VulDB): GCVE-100-355031
Entry
Created: 04/03/2026 00:06Changes: 04/03/2026 00:06 (69)
Complete: 🔍
Cache ID: 216:91D:103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.