RMCP: Missing Resource Field Validation in OAuth Protected Resource Metadata Discovery
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| modelcontextprotocol | rust-sdk | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Modelcontextprotocol | Rust-sdk |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-33f5-2c5q-wgwj | RMCP: Missing Resource Field Validation in OAuth Protected Resource Metadata Discovery |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.195% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Modelcontextprotocol
Modelcontextprotocol rust-sdk |
|
| Vendors & Products |
Modelcontextprotocol
Modelcontextprotocol rust-sdk |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-289 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | RMCP: Missing Resource Field Validation in OAuth Protected Resource Metadata Discovery | |
| Weaknesses | CWE-345 | |
| References |
|
|
| Metrics |
cvssV3_1
|