CVE-2025-66414
HIGH 7.6CVSS 4.0Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
MCP TypeScript SDK is the official TypeScript SDK for Model Context Protocol servers and clients. Prior to 1.24.0, The Model Context Protocol (MCP) TypeScript 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 StreamableHTTPServerTransport or SSEServerTransport and has not enabled enableDnsRebindingProtection, 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. Note that running HTTP-based MCP servers locally without authentication is not recommended per MCP security best practices. This issue does not affect servers using stdio transport. This vulnerability is fixed in 1.24.0.
- Published
- 2 Dec 2025
- Last modified
- 18 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1188CWE-350
- Also known as
- GHSA-w48q-cv73-mx4w
- Sources
- NVDJSONOSV GHSA-w48q-cv73-mx4wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.6 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.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:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lfprojects | mcp_typescript_sdkcpe:2.3:a:lfprojects:mcp_typescript_sdk:*:*:*:*:*:*:*:* |
< 1.24.0 | 1.24.0 |
| OSV | npm | @modelcontextprotocol/sdk | < 1.24.0 | 1.24.0 |
References
- https://github.com/modelcontextprotocol/typescript-sdk/commit/09623e2aa5044f9e9da62c73d820a8250b9d97ed · Patch, WEB
- https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-w48q-cv73-mx4w · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-66414 · ADVISORY
- https://github.com/modelcontextprotocol/typescript-sdk/pull/1205 · WEB
- https://github.com/modelcontextprotocol/typescript-sdk/commit/608360047dc6899f1cf4f0226eb62fe7b11b3898 · WEB
- https://github.com/modelcontextprotocol/typescript-sdk · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 2 Dec 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Dec 2025)