Skip to content
CVE PROGRAM SOURCE RECORD5.1 Medium

CVE-2026-123272

mcp-go before v1.2.1 Origin Validation Error via Unvalidated Well-Known Protected Resource Metadata

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

mark3labs mcp-go

Default version status: unaffected

  • v0.48.0 to < v1.2.1affected
pkg:golang/github.com/mark3labs/mcp-go

References