mcp-go before v1.2.1 Origin Validation Error via Unvalidated Well-Known Protected Resource Metadata
- CVE-2026-123272
- GHSA-h3x9-8c36-m89w
- EUVD-2026-117725
Description
Mark3labs mcp-go before v1.2.1 contains an improper validation vulnerability in OAuthHandler.fetchServerMetadata that allows malicious MCP servers to obtain tokens for other resources by declaring arbitrary resources in well-known metadata. Attackers can declare a different MCP server as the RFC 8707 resource indicator, causing the authorization server to mint tokens the attacker replays against that resource.
Text from the CVE.org record.
Recommendation
mark3labs mcp-go
- If you run a version from v0.48.0 to before v1.2.1update to v1.2.1 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
mark3labs mcp-go
Affected versions Fixed in from v0.48.0 to before v1.2.1 v1.2.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.