{"id":"CVE-2026-123272","summary":"mcp-go before v1.2.1 Origin Validation Error via Unvalidated Well-Known Protected Resource Metadata","details":"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.","aliases":["GHSA-xf6j-693p-wqxx"],"modified":"2026-11-10T02:30:32.475446627Z","published":"2026-11-05T18:45:36.197Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-346"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123272.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123272.json"},{"type":"ADVISORY","url":"https://github.com/mark3labs/mcp-go/releases/tag/v1.2.1"},{"type":"ADVISORY","url":"https://github.com/mark3labs/mcp-go/security/advisories/GHSA-xf6j-693p-wqxx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123272"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/mcp-go-before-1.2.1-origin-validation-error-via-unvalidated-well-known-protected-resource-metadata"},{"type":"FIX","url":"https://github.com/mark3labs/mcp-go/commit/90d247ed8d45cbb7d71d9a95e112789b78760443"},{"type":"FIX","url":"https://github.com/mark3labs/mcp-go/pull/1053"},{"type":"PACKAGE","url":"https://github.com/mark3labs/mcp-go"},{"type":"ARTICLE","url":"https://github.com/mark3labs/mcp-go/blob/4cb0d2015f24b669726fd8e5e53fc8c6d3f57abf/client/transport/oauth.go#L799-L821"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mark3labs/mcp-go","events":[{"introduced":"c99de0d8995745b82ef4851419f91cbb48897d12"},{"fixed":"90d247ed8d45cbb7d71d9a95e112789b78760443"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"v0.48.0"},{"fixed":"v1.2.1"}]},{"range":[{"fixed":"90d247ed8d45cbb7d71d9a95e112789b78760443"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v1.2.1","range":[{"fixed":"90d247ed8d45cbb7d71d9a95e112789b78760443"}],"source":"REFERENCES_TAG"},{"range":[{"introduced":"0"},{"fixed":"1.2.1"}],"source":"DESCRIPTION"}]}}],"versions":["v1.2.0","v1.1.1","v1.1.0","v1.0.0","v1.0.0-beta.1","v0.58.0","v0.57.0","v0.56.0","v0.55.1","v0.55.0","v0.54.1","v0.54.0","otel/v0.54.0","v0.53.0","v0.52.0","v0.51.0","v0.50.0","v0.49.0","v0.48.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123272.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"}]}