CVE-2026-123272

mcp-go before v1.2.1 Origin Validation Error via Unvalidated Well-Known Protected Resource Metadata

Published Nov 5, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability stems from inadequate validation in OAuthHandler.fetchServerMetadata. An attacker controlling an MCP server can craft arbitrary resources in the well‑known OAuth metadata, which the client trusts. The result is that the authorization server issues access tokens for resources the attacker controls, allowing the attacker to replay those tokens and obtain privileged access to other services.

Affected Systems

Mark3labs mcp-go versions earlier than 1.2.1 are affected. The product is a Go‑based cloud‑platform client that interacts with MCP servers via OAuth.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. No EPSS data is available, and the vulnerability is not listed in the CISA KEV catalog. The exploit requires the attacker to run a malicious MCP server and to engage the client’s OAuth flow, which typically involves a network connection to a well‑known endpoint. If the client accepts untrusted metadata, tokens are minted and can be replayed without further authentication.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade mcp-go to version 1.2.1 or later to apply the vendor‑issued fix.
  • Reconfigure the client to reject any resource indicators that are not present in a predefined whitelist of trusted MCP servers.
  • Block unauthenticated traffic to unknown MCP servers at the network perimeter to reduce the chance of interacting with malicious metadata.

Generated by OpenCVE AI on November 5, 2026 at 20:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mark3labs
Mark3labs mcp-go
Vendors & Products Mark3labs
Mark3labs mcp-go
Type Values Removed Values Added
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.
Title mcp-go before v1.2.1 Origin Validation Error via Unvalidated Well-Known Protected Resource Metadata
Weaknesses CWE-346
References
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N'}

cvssV4_0

{'score': 5.1, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:01 PM
Reserved
Nov 5, 2026, 6:19 PM
Status
Deferred
Published
Nov 5, 2026, 7:17 PM
Modified
Nov 8, 2026, 2:18 PM
Severity
Important
Public date
Nov 5, 2026, 6:45 PM