CVE-2025-66414 Details
Description
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.
A vulnerability exists in the Model Context Protocol (MCP) TypeScript SDK for HTTP-based servers running on localhost without authentication. Prior to version 1.24.0, the SDK did not enable DNS rebinding protection by default. This lack of protection allowed malicious websites to exploit DNS rebinding, bypass same-origin policy restrictions, and send requests to the local MCP server. As a result, an attacker could invoke tools or access resources on the MCP server on behalf of the user. This vulnerability does not affect servers using stdio transport.
Update the Model Context Protocol TypeScript SDK to version 1.24.0 or later. If using a custom Express configuration, apply the 'hostHeaderValidation' middleware to enable DNS rebinding protection.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1188 | Initialization of a Resource with an Insecure Default | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| lfprojects mcp typescript sdk | < 1.24.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 10, 2026 | Initial Analysis | [email protected] |
| Dec 2, 2025 | New CVE Received | [email protected] |