Unintended Proxy or Intermediary ('Confused Deputy') Affecting fastmcp package, versions [,3.2.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (13th 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 IDSNYK-PYTHON-FASTMCP-15871030
  • published1 Apr 2026
  • disclosed31 Mar 2026
  • creditan7y

Introduced: 31 Mar 2026

CVE-2026-27124  (opens in a new tab)
CWE-441  (opens in a new tab)

How to fix?

Upgrade fastmcp to version 3.2.0 or higher.

Overview

fastmcp is a The fast, Pythonic way to build MCP servers and clients.

Affected versions of this package are vulnerable to Unintended Proxy or Intermediary ('Confused Deputy') in the OAuthProxy._handle_idp_callback function. An attacker can gain unauthorized access to resources associated with another user's account by luring a victim to visit a crafted authorization URL, allowing the attacker to obtain a valid authorization code and access token for the victim's account.

CVSS Base Scores

version 4.0
version 3.1