mcp) | High | 8.1| Field | Value |
|---|---|
| CVE / NVD | CVE-2025-66416 |
| EPSS score | 0.000400000 (FIRST EPSS, 2026-05-29) |
| Date (index) | 2025-12-02 |
| Affected product (index) | MCP Python SDK (mcp):mcp (pip) |
| GHSA ID | GHSA-9h52-p55h-vw2f |
| OWASP MCP Top 10 (2025) | MCP07 — Insufficient Authentication & Authorization |
| Published / disclosed | 2025-12-02 |
| Ecosystem | PyPI |
| Component | MCP Python SDK (mcp) |
| CVSS score | 8.1 (v3.1) / 7.6 (v4) |
| CWE | CWE-1188 / CWE-350 |
| Affected versions | < 1.23.0 |
| Fixed versions | 1.23.0 |
| Fix status | Patched |
| Exploit status | No known exploit |
| Notes | Risk increases for unauthenticated localhost HTTP/SSE servers; treat browser boundary as untrusted. |
Model Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default
A victim generally needs to be running the affected HTTP/SSE MCP service and to browse attacker-controlled web content. Risk is highest when the service is unauthenticated, bound to localhost, or otherwise reachable from a browser context.
DNS rebinding protection disabled by default
Affects FastMCP HTTP/SSE deployments without transport security settings. The attack path is especially relevant for localhost or browser-reachable MCP deployments.
Add a minimal vulnerable code snippet here after reviewing the linked source locations.
The fix hardens HTTP transport trust checks by validating origin and host assumptions and by moving the default behavior toward safer localhost and browser-facing deployments.
1.23.0 or later as the primary remediation.No public PoC link is captured in the current source set.
< 1.23.0.https://github.com/modelcontextprotocol/python-sdk/commit/d3a184119e4479ea6a63590bc41f01dc06e3fa99