Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
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 applicationsUpgrade fastmcp to version 2.13.0 or higher.
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') during the authentication with OAuth providers that don't support Dynamic Client Registration (DCR). An attacker can gain unauthorized access to user accounts by tricking authenticated users into clicking a crafted authorization link for a malicious client, which leverages existing consent and browser state to obtain an authorization code for the attacker's client, allowing them to impersonate the victim.