mcp-go OAuth client accepts unvalidated resource from metadata
An AI connection development library can leak logins to other services.
Summary
The OAuth client in mcp-go does not validate the resource declared in well-known metadata, so a malicious MCP server can get access tokens for other resources. Versions v0.48.0 through v1.2.0 are affected.
Affected when
- Use of mcp-go's OAuth client transport
- Connection to a malicious or compromised MCP server
What to do
Update to v1.2.1.
Products and platforms
CVE IDs
Sources
Times
First published
First seen