๐Ÿ” CVE Alert

CVE-2026-63127

HIGH 8.2

RMCP: Missing Resource Field Validation in OAuth Protected Resource Metadata Discovery

CVSS Score
8.2
EPSS Score
0.0%
EPSS Percentile
0th

RMCP is an official Rust SDK for the Model Context Protocol. Prior to 2.0.0, the rmcp crate's OAuth implementation in crates/rmcp/src/transport/auth.rs omits the RFC 9728 resource field from ResourceServerMetadata and allows discover_oauth_server_via_resource_metadata to use protected-resource metadata without confirming that the returned resource identifier exactly matches the configured MCP server. A malicious MCP server can publish metadata for a different legitimate MCP resource and its authorization server, causing a victim who connects and completes the authorization flow to obtain a legitimate access token that the client subsequently sends to the malicious server. The attacker can capture the token and impersonate the victim against the legitimate MCP resource within the token's granted scopes. This issue is fixed in version 2.0.0.

CWE CWE-345
Vendor modelcontextprotocol
Product rust-sdk
Published Sep 16, 2026
Last Updated Sep 16, 2026
Stay Ahead of the Next One

Get instant alerts for modelcontextprotocol rust-sdk

Be the first to know when new high vulnerabilities affecting modelcontextprotocol rust-sdk are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

Affected Versions

modelcontextprotocol / rust-sdk
< 2.0.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/modelcontextprotocol/rust-sdk/security/advisories/GHSA-33f5-2c5q-wgwj github.com: https://github.com/modelcontextprotocol/rust-sdk/pull/937 github.com: https://github.com/modelcontextprotocol/rust-sdk/commit/c1a8b29ff2cc45e7820b900dae42cbb4958089ec github.com: https://github.com/modelcontextprotocol/rust-sdk/releases/tag/rmcp-v2.0.0