CVE-2025-66416CWE-1188

CVE-2025-66416

High · published December 3, 2025

CVSS v3.1
8.1
EPSS
1%
Percentile
42.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00512 · 42.8th percentile
Weakness
CWE-1188 · Initialization of a Resource with an Insecure Default
Published
2025-12-03T00:15Z
Affected products (1)
ProductVersionsFixed in
lfprojects/mcp_python_sdk< 1.23.01.23.0
References (2)
EPSS history
Timeline
  • 02 DEC 18:14Z
    DNS Rebinding Protection Disabled by Default in Model Context Protocol Python SDK for Servers Running on Localhost
    cvelistv5