CVE-2026-123272Mark3labs Mcp-go origin validation error
CVSS score
5.1
Medium
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.20%
0.20% chance of exploitation in the next 30 days, higher than 9.27% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running mark3labs Mcp-go and compare its version with the affected versions.
Update to a fixed version
- Update Mcp-go to 1.2.1 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- Active
- Confidentiality
- None
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| mark3labs Mcp-go | ≥ v0.48.0, < v1.2.1 |
Weakness
- CWE-346 origin validation error
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-123272 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-123272?
CVE-2026-123272 has a CVSS 4.0 base score of 5.1 (medium).
Which versions are affected?
Mark3labs Mcp-go (≥ v0.48.0, < v1.2.1)
Is there a patch for CVE-2026-123272?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/mark3labs/mcp-go/blob/4cb0d2015f24b669726fd8e5e53fc8c6d3f57abf/client/transport/oauth.go#L799-L821
- 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-well-known-protected-resource-metadata
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.