Technical impact
The vulnerability stems from inadequate validation in OAuthHandler.fetchServerMetadata. An attacker controlling an MCP server can craft arbitrary resources in the well‑known OAuth metadata, which the client trusts. The result is that the authorization server issues access tokens for resources the attacker controls, allowing the attacker to replay those tokens and obtain privileged access to other services.
Affected Systems
Mark3labs mcp-go versions earlier than 1.2.1 are affected. The product is a Go‑based cloud‑platform client that interacts with MCP servers via OAuth.
Risk and Exploitability
The CVSS score of 5.1 indicates moderate severity. No EPSS data is available, and the vulnerability is not listed in the CISA KEV catalog. The exploit requires the attacker to run a malicious MCP server and to engage the client’s OAuth flow, which typically involves a network connection to a well‑known endpoint. If the client accepts untrusted metadata, tokens are minted and can be replayed without further authentication.