CVE-2026-123272
Mark3labs mcp-go before v1.2.1 contains an improper validation …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mark3labs/mcp-go/blob/4cb0d2015f24b669726fd8e5e53fc8c6d3f57abf/client/transport
- github.com/mark3labs/mcp-go/commit/90d247ed8d45cbb7d71d9a95e112789b78760443
- github.com/mark3labs/mcp-go/pull/1053
- github.com/mark3labs/mcp-go/releases/tag/v1.2.1
- github.com/mark3labs/mcp-go/security/advisories/GHSA-xf6j-693p-wqxx
- www.vulncheck.com/advisories/mcp-go-before-1.2.1-origin-validation-error-via-unvalidated-w
- nvd.nist.gov/vuln/detail/CVE-2026-123272
- cve.org/CVERecord?id=CVE-2026-123272
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.