CVE-2025-66414: @modelcontextprotocol/sdk · Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
Affects @modelcontextprotocol/sdkSource GCVE Database
Not known to be exploited · CVSS 7.6 High : upgrade to 1.24.0 soon.
Data as of 22 Nov 2026, 02:52 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 7.6 |
|---|
- Patch
- Available – fixed in 1.24.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
Upgrade @modelcontextprotocol/sdk to 1.24.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@modelcontextprotocol/sdk | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in MCP SDK version 1.24.0, which enables DNS rebinding protection by default when binding to localhost. Users should upgrade to version 1.24.0 or later. For custom Express server configurations, users should apply the exported `hostHeaderValidation()` middleware when running unauthenticated servers on localhost. Running HTTP-based MCP servers locally without authentication is not recommended per MCP security best practices.
Description
The Model Context Protocol (MCP) TypeScript SDK versions prior to 1.24.0 do not enable DNS rebinding protection by default for HTTP-based servers running on localhost without authentication. This vulnerability allows a malicious website to exploit DNS rebinding to bypass same-origin policy restrictions and send unauthorized requests to the local MCP server, potentially invoking tools or accessing exposed resources. The issue does not affect servers using stdio transport. Version 1.24.0 and later enable DNS rebinding protection by default when binding to localhost.
References
- github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-w48q-cv73-mx4w (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-66414 (opens in a new tab)
- github.com/modelcontextprotocol/typescript-sdk/pull/1205 (opens in a new tab)
- github.com/modelcontextprotocol/typescript-sdk/commit/09623e2aa5044f9e9da62c73d820a8250b9d97ed (opens in a new tab)
- github.com/modelcontextprotocol/typescript-sdk/commit/608360047dc6899f1cf4f0226eb62fe7b11b3898 (opens in a new tab)
- github.com/modelcontextprotocol/typescript-sdk (opens in a new tab)