All CVEs / modelcontextprotocol
CVE-2026-63127modelcontextprotocol rust-sdk
High 8.2 No auth needed
Follow: this CVE · modelcontextprotocol · modelcontextprotocol rust-sdk We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- Sep 16, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-345
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for rust-sdk.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | rmcp |
< 2.0.0 |
2.0.0 |
cargo update -p rmcp --precise 2.0.0 |
Per OSV / GitHub Advisories (GHSA-33f5-2c5q-wgwj). Check the version in your lockfile before upgrading.
Affected products
- modelcontextprotocol · rust-sdk
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: goose security update · Red Hat · RHSA-2026:80765 · Oct 14, 2026 High
- Red Hat Security Advisory: goose security update · Red Hat · RHSA-2026:80764 · Oct 14, 2026 High
- openai-codex-0.155.1-1.1 on GA media · SUSE · openSUSE-SU-2026:11849-1 · Sep 22, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.