mcp-cve-project

CVE-2026-123272 | mcp-go before v1.2.1 Origin Validation Error via Unvalidated Well-Known Protected Resource Metadata | Medium |

CVE Information

Field Value
CVE / NVD CVE-2026-123272
Date (index) 2026-11-05
Affected product (index) mcp-go before v1.2.1 Origin Validation Error via Unvalidated Well-Known Protected Resource Metadata
GHSA ID GHSA-xf6j-693p-wqxx
OWASP MCP Top 10 (2025) MCP07 — Insufficient Authentication & Authorization
Published / disclosed 2026-11-05
Ecosystem Go
Component github.com/mark3labs/mcp-go
EPSS score 0.001960000 (FIRST EPSS, 2026-11-09)
CVSS score 5.1 MEDIUM 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
CWE CWE-346
Affected versions >= v0.48.0, < v1.2.1
Fixed versions v1.2.1
Fix status Patched
Exploit status Public advisory. This note does not include exploit steps.
Notes Updated on 2026-11-09 from the published CVE record and FIRST EPSS.

CVE Breakdown


What is the vulnerability?

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.

Attack prerequisites / exposure

Depends on deployment. Typical MCP cases are a reachable HTTP or SSE listener, a malicious remote MCP server, a poisoned project configuration, or a person opening attacker-influenced content. Developer workstations and shared runners are high-value when the server runs with host access.

CVE is because of what bug?

The published weakness mapping is CWE-346. Use the linked advisory for the upstream root cause.

MCP-specific impact / why it matters

MCP connects a model to tools, files, and credentials on a host or network. A flaw in transport checks, path checks, command handling, or token binding can become code execution, credential exposure, or access to another user’s session.

Where was the bug? (source + snippet)

File and function names belong in the linked upstream advisory and patch. This index does not repeat exploit inputs.

Fix / Remediation

Apply the vendor’s patched release or commit. Until then, keep the affected MCP listener off untrusted networks and require authentication on HTTP transports.

Upstream fix (open source)

Workarounds / mitigations

Detection / verification