Vulnerability

CVE-2025-66416

highCVSS 4.0 7.6Published 2 Dec 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

The MCP Python SDK, called `mcp` on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to version 1.23.0, tThe Model Context Protocol (MCP) Python 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 using FastMCP with streamable HTTP or SSE transport, and has not configured TransportSecuritySettings, 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.23.0.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Lfprojects mcp python sdk

Weakness type

References

  • github.com /modelcontextprotocol/python-sdk/commit/d3a184119e4479ea6a6…
  • github.com /modelcontextprotocol/python-sdk/security/advisories/GHSA-9…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning