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

State
Published
Severity
5.1 Medium
Published
Nov 5, 2026
Updated
Nov 8, 2026
Reserved
Nov 5, 2026

Read the record on cve.org

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.

ProductVersions
mcp-go mark3labsv0.48.0 to before v1.2.1 Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.