CVE-2025-66416
HIGHDescription
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.
Is your site exposed to CVE-2025-66416?
Run a free security scan — no signup, results in seconds.
CVSS v3.1 Score
Weakness Type (CWE)
Affected Products
| Vendor | Product |
|---|---|
| lfprojects | mcp_python_sdk |
References
Frequently Asked Questions
What is CVE-2025-66416? +
How severe is CVE-2025-66416? +
What products are affected by CVE-2025-66416? +
How do I check if I'm vulnerable to CVE-2025-66416? +
Related Vulnerabilities
Temporal Server compiles a Worker Controller Instance module into its Worker Service, and that module registers a compute provider named …
Action Pack is a framework for handling and responding to web requests. In versions prior to 7.2.3.2, 8.0.5.1 and 8.1.3.1, …
In the current development version of Eclipse aeriOS, for which no official release has yet been published, the Identity Manager …
Filament is a collection of full-stack components for accelerated Laravel development. All Filament features that interact with storage use the …
P4 Server versions prior to 2026.1 are configured with insecure default settings that, when exposed to untrusted networks, allow unauthenticated …
Enabled IP Forwarding feature in B&R Automation Runtime versions before 6.0.2 may allow remote attack-ers to compromise network security by …