Insecure Default Initialization of Resource Affecting github.com/modelcontextprotocol/go-sdk/internal/util package, versions <1.4.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.46% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMMODELCONTEXTPROTOCOLGOSDKINTERNALUTIL-15874123
  • published2 Apr 2026
  • disclosed1 Apr 2026
  • creditJonathan Leitschuh

Introduced: 1 Apr 2026

CVE-2026-34742  (opens in a new tab)
CWE-1188  (opens in a new tab)

How to fix?

Upgrade github.com/modelcontextprotocol/go-sdk/internal/util to version 1.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Insecure Default Initialization of Resource due to DNS rebinding protection being disabled by default in HTTP-based servers using StreamableHTTPHandler or SSEHandler. An attacker can access internal resources or invoke tools exposed by the local server by exploiting DNS rebinding through a malicious website.

Note:

This is only exploitable if the server is running on localhost without authentication.

CVSS Base Scores

version 4.0
version 3.1