CVE-2025-66414

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:lfprojects:mcp_typescript_sdk:*:*:*:*:*:*:*:*

History

18 Oct 2026, 18:10

Type Values Removed Values Added
Summary
  • (es) El SDK de TypeScript de MCP es el SDK oficial de TypeScript para servidores y clientes del Protocolo de Contexto de Modelo. Versiones anteriores a 1.24.0, el SDK de TypeScript del Protocolo de Contexto de Modelo (MCP) no habilita la protección contra el reencadenamiento de DNS por defecto para los servidores basados en HTTP. Cuando un servidor MCP basado en HTTP se ejecuta en localhost sin autenticación con StreamableHTTPServerTransport o SSEServerTransport y no ha habilitado enableDnsRebindingProtection, un sitio web malicioso podría explotar el reencadenamiento de DNS para eludir las restricciones de la política del mismo origen y enviar solicitudes al servidor MCP local. Esto podría permitir a un atacante invocar herramientas o acceder a recursos expuestos por el servidor MCP en nombre del usuario en esas circunstancias limitadas. Tenga en cuenta que ejecutar servidores MCP basados en HTTP localmente sin autenticación no se recomienda según las mejores prácticas de seguridad de MCP. Este problema no afecta a los servidores que utilizan el transporte stdio. Esta vulnerabilidad se corrige en la versión 1.24.0.

Information

Published : 2025-12-02 19:15

Updated : 2026-10-18 18:10


NVD link : CVE-2025-66414

Mitre link : CVE-2025-66414

CVE.ORG link : CVE-2025-66414


JSON object : View

Products Affected

lfprojects

  • mcp_typescript_sdk
CWE
CWE-1188

Initialization of a Resource with an Insecure Default