Skip to content
OpenAdvisories
High · 8.0 CVE-2026-123272 EUVD-2026-117725GHSA-h3x9-8c36-m89w

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

Published Nov 5, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
mark3labs mcp-go v0.48.0 – < v1.2.1 v1.2.1

References