All reports
High

github.com/mark3labs/mcp-go: mcp-go: Unauthorized access via improper OAuth metadata validation

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-123272

Probability of exploitation in the next 30 days: 0.20%

FIRST EPSS · 2026-11-18

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.

A flaw was found in mcp-go. A malicious Model Context Protocol (MCP) server can declare arbitrary protected resources within its metadata due to improper validation in the OAuth metadata handler. This flaw allows an attacker to cause the authorization server to issue tokens scoped for unintended services, enabling unauthorized access when the attacker replays those tokens against the target resources.