Skip to main content

rmcp Rust SDK EUVDEUVD-2026-80824

| CVE-2026-63127 HIGH
Insufficient Verification of Data Authenticity (CWE-345)
2026-09-16 GitHub_M GHSA-33f5-2c5q-wgwj
8.2
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker hosts malicious MCP server with spoofed resource metadata
  2. Delivery
    Lure victim's rmcp client to connect
  3. Exploit
    Client accepts unvalidated protected-resource metadata
  4. Execution
    Victim completes legitimate OAuth consent flow
  5. Persist
    Client sends legitimate token to malicious server
  6. Impact
    Attacker captures token, impersonates victim within granted scopes

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Data authenticity verification
Exploitation Conditions

Requires that the victim's application use the rmcp crate (<2.0.0) OAuth client transport (crates/rmcp/src/transport/auth.rs) and initiate a connection to an attacker-controlled MCP server that the attacker has provisioned with crafted RFC 9728 protected-resource metadata referencing a legitimate resource and its authorization server. The victim must actively connect AND complete the full OAuth authorization/consent flow (UI:R) - the flaw is that discover_oauth_server_via_resource_metadata never confirms the returned resource identifier matches the configured MCP server URL. Limiting factors: no exploitation against a trusted/default server (the victim must be induced to connect to the malicious endpoint), mandatory user interaction and consent, and impact is bounded to the scopes the victim grants during that flow. Not automatable at scale (SSVC Automatable=no).

Impact

This is a genuine, well-characterized authenticity/spoofing flaw (CWE-345) rather than a hollow high-CVSS entry, but the vendor's 8.2 is toward the upper bound of what the mechanics support. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N) is internally consistent with the described attack: a network-reachable malicious MCP server, low complexity, no attacker privileges, but mandatory victim interaction (UI:R) and a scope change (S:C) because the stolen token is valid against a *different*, legitimate resource server. Corroborating signals are mixed-to-moderate: SSVC reports Exploitation=poc (so publicly available exploit/PoC exists but NOT confirmed active exploitation), Automatable=no (the victim must be lured into connecting and completing an OAuth consent flow, so this cannot be mass-sprayed), and Technical Impact=partial (consistent with token theft limited to the victim's granted scopes, not full resource takeover). There is no CISA KEV listing and no EPSS score provided. Net: this is a real, defensible-priority issue for anyone actually shipping the rmcp OAuth client, but the 'no' on Automatable plus the required user interaction mean it is a targeted-abuse vector, not a wormable/widespread one. The C:H is arguably generous - impact is bounded by the token's granted scopes and requires social engineering - but is not unreasonable given full impersonation within those scopes.

Exploit ScenarioDerived

An attacker stands up a malicious MCP server and publishes RFC 9728 protected-resource metadata pointing at a *different* legitimate MCP resource and its real authorization server. A victim using an rmcp client (<2.0.0) connects to the malicious server, is redirected through the legitimate OAuth flow, consents, and the client obtains a valid access token - which it then sends back to the malicious server, letting the attacker capture it and impersonate the victim against the legitimate resource within the token's scopes. A PoC is reported (SSVC Exploitation=poc), and the fix commit ships negative test cases demonstrating the mismatch-rejection.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

OAuth access-token theft in the rmcp Rust SDK (the official Rust SDK for the Model Context Protocol) before 2.0.0 allows a malicious MCP server to harvest a victim's legitimate bearer token by publishing RFC 9728 protected-resource metadata that names a different, legitimate MCP resource together with that resource's authorization server. The OAuth client transport never verifies that the returned resource identifier matches the MCP server URL it was actually configured to contact, so a victim who connects and completes the normal authorization/consent flow receives a genuine access token and then sends it to the attacker's endpoint, letting the attacker replay it against the legitimate MCP resource within the granted scopes. Exploitation requires the user to be induced to connect to the attacker-controlled server and to complete consent (UI:R; CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N, SSVC Automatable=no), publicly available exploit code exists per the SSVC exploitation signal, and there is no CISA KEV entry confirming active exploitation.

RemediationAI

Upgrade the rmcp dependency to v2.0.0 or later (release tag rmcp-v2.0.0, commit c1a8b29, PR #937), which adds the RFC 9728 resource field to ResourceServerMetadata and enforces an exact identifier match between protected-resource metadata and the configured MCP server URL - see the advisory at https://github.com/modelcontextprotocol/rust-sdk/security/advisories/GHSA-33f5-2c5q-wgwj. If immediate upgrade is impossible, the practical compensating control is to restrict the client to a hard-coded allow-list of trusted MCP server origins so that metadata discovery can never be exercised against an attacker-supplied endpoint; this costs you dynamic/multi-server discovery and requires manual review whenever a new MCP server is onboarded. Reducing granted OAuth scopes and token lifetimes, and using audience-restricted (RFC 8707 resource-indicator) tokens, bounds the blast radius if a token is captured but does not fix the underlying authenticity check - note that rmcp < 2.0.0 exposes no hook to validate the resource field yourself, so an upstream patch or a downstream fork carrying the same length-preserving comparison is the only complete fix. Because exploitation requires the end user to connect to and consent to an untrusted MCP server, user-facing warnings that discourage connecting to unvetted third-party MCP endpoints are a useful secondary measure, and any client that has already completed an OAuth flow against an untrusted server should treat its issued tokens as compromised and revoke them.

Affected VersionsENISA

rust-sdk < 2.0.0

Affected Packages

cargo rmcp fix: 2.0.0
euvd rust_sdk fix: 2.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in cargo, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Model Context Protocol (MCP) defines how AI clients connect to tool/resource servers, and OAuth 2.0-based authorization for remote MCP servers is layered on RFC 9728 (OAuth 2.0 Protected Resource Metadata) and RFC 8707 (Resource Indicators). In a correct implementation the client fetches protected-resource metadata from the server's discovery document, reads the resource field to learn the canonical identifier of the resource it is authorizing against, and refuses to proceed unless that identifier exactly matches the server URL it intends to talk to - this binding is what prevents an attacker from pointing the client at a legitimate resource's authorization server while the client is actually talking to the attacker. The rmcp crate's crates/rmcp/src/transport/auth.rs omitted that field from ResourceServerMetadata and its discover_oauth_server_via_resource_metadata path accepted protected-resource metadata without any comparison against the configured MCP server, a classic CWE-345 (Insufficient Verification of Data Authenticity) failure. The upstream fix (PR #937, commit c1a8b29, released in rmcp v2.0.0) adds a resource: Option<String> field to the authorization metadata, adds validate_resource_metadata_resource which errors with MetadataError when the field is missing or mismatched, and adds resource_identifiers_match that permits only the benign case of a root-URL trailing-slash difference (e.g. https://mcp.example.com/ vs https://mcp.example.com) while rejecting path-level mismatches such as /mcp vs /mcp/ or differing hosts; the accompanying tests explicitly assert rejection of both mismatched and missing resource values. Because the vulnerable component is the client-side transport and the captured credential is consumed by the legitimate authorization server, the CVSS scope change (S:C) reflects impact crossing from the malicious server's trust boundary into the legitimate resource's.

Know when Rust Sdk gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.2 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
vuln.today AI 8.2 HIGH

Network-reachable malicious server, low complexity, no attacker privileges, but victim must connect and complete OAuth consent (UI:R); token abuse hits a separate legitimate resource (S:C); confidentiality/impersonation dominant.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:H/SI:L/SA:N
SUSE HIGH
Red Hat 8.2 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Sep 16, 2026 - 16:04 EUVD
CVE Published
Sep 16, 2026 - 14:50 cve.org
HIGH 8.2

DescriptionCVE.org

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.

Technical POC Analysis

CWE-345, Insufficient Verification of Data Authenticity.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

The official Rust SDK for the Model Context Protocol (rmcp) prior to version 2.0.0 can release a user's legitimate OAuth bearer token to an attacker-controlled MCP server, which then replays that token against the real enterprise resource under the user's granted scopes. Any team shipping Rust-based MCP clients or AI-agent integrations is exposed wherever a user can be induced to connect to an untrusted server and approve the standard consent prompt - the user sees a normal, legitimate-looking authorization screen. Leadership should care because the result is authenticated access to whatever data and services those MCP integrations reach, with the victim's own credentials and no visible failure.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche Rust MCP SDK; emerging ecosystem, small production footprint vs Python/TS SDKs
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

61
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy