SCA: security update for github.com/modelcontextprotocol/go-sdk (GHSA-xw59-hvm2-8pj6)

high Tenable Self-Hosted Container Security Plugin ID 439672

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-34742)

Solution

Update the github.com/modelcontextprotocol/go-sdk library and its related packages to version 1.4.0 or later.

See Also

https://github.com/advisories/GHSA-xw59-hvm2-8pj6

Plugin Details

Severity: High

ID: 439672

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 4/2/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

Percentile: 96.77

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N

CVSS Score Source: CVE-2026-34742

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 7.6

Threat Score: 4.9

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/1/2026

Vulnerability Publication Date: 4/1/2026

Reference Information

CVE: CVE-2026-34742