CVE-2026-123272 mcp-go before v1.2.1 Origin Validation Error via Unvalidated Well-Known Protected Resource Metadata
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
mark3labs
mcp-go
영향 받는 버전
- v0.48.0 이상 v1.2.1 미만
해결 버전
- v1.2.1 이상
참고 자료 6건
- github.com https://github.com/mark3labs/mcp-go/blob/4cb0d2015f24b669726fd8e5e53fc8c6d3f57abf/client/transport/oauth.go#L799-L821 (새 창)
- github.com https://github.com/mark3labs/mcp-go/commit/90d247ed8d45cbb7d71d9a95e112789b78760443 (새 창)
- github.com https://github.com/mark3labs/mcp-go/pull/1053 (새 창)
- github.com https://github.com/mark3labs/mcp-go/releases/tag/v1.2.1 (새 창)
- github.com https://github.com/mark3labs/mcp-go/security/advisories/GHSA-xf6j-693p-wqxx (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/mcp-go-before-1.2.1-origin-validation-error-via-unvalidated-well-known-protected-resource-metadata (새 창)