Uncaught Exception Affecting mcp package, versions [,1.9.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-MCP-10734137
  • published14 Jul 2025
  • disclosed4 Jul 2025
  • creditRich Harang

Introduced: 4 Jul 2025

NewCVE-2025-53366  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade mcp to version 1.9.4 or higher.

Overview

mcp is a Model Context Protocol SDK

Affected versions of this package are vulnerable to Uncaught Exception due to improper validation in the FastMCP Server process. An attacker can cause the service to become unavailable by sending malformed requests that trigger unhandled exceptions, resulting in repeated 500 errors and requiring manual intervention to restore normal operation.

CVSS Base Scores

version 4.0
version 3.1