VDB
Sign up
—

PYSEC-2026-1616

MCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS

Quick fix

PYSEC-2026-1616 — mcp: upgrade to the fixed version with the command below.

pip install --upgrade 'mcp>=1.9.4'

Details

A validation error in the MCP SDK can cause an unhandled exception when processing malformed requests, resulting in service unavailability (500 errors) until manually restarted. Impact may vary depending on the deployment conditions, and presence of infrastructure-level resilience measures.

Thank you to Rich Harang for reporting this issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/mcp
Introduced in: 0Fixed in: 1.9.4
Fixpip install --upgrade 'mcp>=1.9.4'

References