Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
mark3labs mcp-go
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Mark3labs 的 mcp-go 在 v1.2.1 之前版本中存在一个 OAuthHandler.fetchServerMetadata 函数中的验证不当漏洞。该漏洞允许恶意的 MCP 服务器通过在“well-known"元数据中声明任意资源,从而获取其他资源的访问令牌。攻击者可以将不同的 MCP 服务器声明为 RFC 8707 中定义的资源指示符(resource indicator),诱使授权服务器生成令牌,随后攻击者将这些令牌重放(replay)到目标资源上,以实现未授权访问。

CVSS 8.0 · High

Affected Version Matrix 1

VendorProduct Version RangeStatus
mark3labs mcp-go v0.48.0< v1.2.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-123272

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
mcp-go before v1.2.1 Origin Validation Error via Unvalidated Well-Known Protected Resource Metadata
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
源验证错误
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
mark3labs mcp-go v0.48.0 ~ v1.2.1 -

II. Public POCs for CVE-2026-123272

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-123272

请登录查看更多情报信息。

Other References for CVE-2026-123272 (6)

IV. Related Vulnerabilities