mcp-cve-project

CVE-2025-53366 | MCP Python SDK (mcp) / FastMCP server | High |

CVE Information

Field Value
CVE / NVD CVE-2025-53366
EPSS score 0.001950000 (FIRST EPSS, 2026-05-29)
Date (index) 2025-07-04
Affected product (index) MCP Python SDK (mcp on PyPI): validation error → unhandled exception / DoS
GHSA ID GHSA-3qhf-m339-9g5v
OWASP MCP Top 10 (2025) MCP07 — Insufficient Authentication & Authorization
Published / disclosed 2025-07-04
Ecosystem PyPI
Component MCP Python SDK (mcp) — FastMCP server request validation
CVSS score High (v4.0, GitHub CNA — availability impact)
CWE CWE-248
Affected versions < 1.9.4
Fixed versions 1.9.4
Fix status Patched
Exploit status Public advisory
Notes Distinct from CVE-2025-53365 (Streamable HTTP transport DoS); this issue is validation-error driven in FastMCP server handling.

CVE Breakdown


What is the vulnerability?

The MCP Python SDK (mcp on PyPI) prior to version 1.9.4 can raise an unhandled exception when processing malformed requests that trigger a validation error in the FastMCP server path. This can cause service unavailability (HTTP 500 responses) until the process is manually restarted.

Attack prerequisites / exposure

Typically requires network reachability to an affected HTTP-based MCP server using the vulnerable SDK version. Impact depends on process supervision and whether a single worker handles all sessions.

CVE is because of what bug?

Uncaught exception on malformed/invalid request validation (CWE-248).

MCP-specific impact / why it matters

A single malformed MCP request can take down shared agent tooling or local FastMCP gateways, breaking all connected clients until restart.

Where was the bug? (source + snippet)