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
Source GCVE Database
Not known to be exploited · CVSS 5.1 Medium : upgrade to v1.2.1 when convenient.
Data as of 5 Nov 2026, 22:34 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.1 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 8.0 |
- Patch
- Available – fixed in v1.2.1, 1.2.1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Upgrade mcp-go to v1.2.1; mcp-go to 1.2.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| mark3labsmcp-go | Affected
| Fixed in
|
Gomcp-gopkg:golang/mcp-goOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- github.com/mark3labs/mcp-go/security/advisories/GHSA-xf6j-693p-wqxx (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-123272 (opens in a new tab)
- github.com/mark3labs/mcp-go/pull/1053 (opens in a new tab)
- github.com/mark3labs/mcp-go/commit/90d247ed8d45cbb7d71d9a95e112789b78760443 (opens in a new tab)
- github.com/mark3labs/mcp-go/blob/4cb0d2015f24b669726fd8e5e53fc8c6d3f57abf/client/transport/oauth.go (opens in a new tab)
- github.com/mark3labs/mcp-go/releases/tag/v1.2.1 (opens in a new tab)
- vulncheck.com/advisories/mcp-go-before-1.2.1-origin-validation-error-via-unvalidated-well-known-protected-resource-metadata (opens in a new tab)