CVE-2026-63127
Reported by GitHub_M · Published September 16, 2026
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.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| modelcontextprotocol | rust-sdk | < 2.0.0 |
| crates.io | rmcp | 0 |
| modelcontextprotocol | rust-sdk | 0 |
Timeline
- Sep 16, 2026 CVE Published
- Sep 16, 2026 Coalition ESS Score
- Sep 16, 2026 CVE Updated
- Sep 17, 2026 EPSS Score
- Sep 24, 2026 EPSS Score
- Sep 26, 2026 EPSS Score
- Oct 6, 2026 EPSS Score
- Oct 11, 2026 EPSS Score
- Oct 14, 2026 EPSS Score
- Oct 20, 2026 EPSS Score
- Oct 22, 2026 EPSS Score
- Oct 25, 2026 EPSS Score
References
- https://github.com/modelcontextprotocol/rust-sdk/security/advisories/GHSA-33f5-2c5q-wgwj x_refsource_CONFIRM
- https://github.com/modelcontextprotocol/rust-sdk/pull/937 x_refsource_MISC
- https://github.com/modelcontextprotocol/rust-sdk/commit/c1a8b29ff2cc45e7820b900dae42cbb4958089ec x_refsource_MISC
- https://github.com/modelcontextprotocol/rust-sdk/releases/tag/rmcp-v2.0.0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-63127 advisory
- https://github.com/advisories/GHSA-33f5-2c5q-wgwj advisory