Insecure Default Initialization of Resource Affecting @modelcontextprotocol/sdk package, versions <1.24.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (20th 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-JS-MODELCONTEXTPROTOCOLSDK-14171914
  • published3 Dec 2025
  • disclosed2 Dec 2025
  • creditUnknown

Introduced: 2 Dec 2025

NewCVE-2025-66414  (opens in a new tab)
CWE-1188  (opens in a new tab)

How to fix?

Upgrade @modelcontextprotocol/sdk to version 1.24.0 or higher.

Overview

@modelcontextprotocol/sdk is a Model Context Protocol implementation for TypeScript

Affected versions of this package are vulnerable to Insecure Default Initialization of Resource via the StreamableHTTPServerTransport or SSEServerTransport process when enableDnsRebindingProtection is not enabled. An attacker can access 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 locally over HTTP without authentication and DNS rebinding protection is not enabled.

CVSS Base Scores

version 4.0
version 3.1