# CVE-2026-63127: RMCP: Missing Resource Field Validation in OAuth Protected Resource Metadata Discovery

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-16T14:50:54.296Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-33f5-2c5q-wgwj
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- modelcontextprotocol rust-sdk: < 2.0.0
- rmcp (crates.io): before 2.0.0

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://github.com/modelcontextprotocol/rust-sdk/security/advisories/GHSA-33f5-2c5q-wgwj> (exploit, web)
- <https://github.com/modelcontextprotocol/rust-sdk/pull/937> (web)
- <https://github.com/modelcontextprotocol/rust-sdk/commit/c1a8b29ff2cc45e7820b900dae42cbb4958089ec> (web)
- <https://github.com/modelcontextprotocol/rust-sdk/releases/tag/rmcp-v2.0.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-63127> (advisory)
- <https://github.com/modelcontextprotocol/rust-sdk> (package)

## Sources

- CVE List: [CVE-2026-63127](https://www.cve.org/CVERecord?id=CVE-2026-63127), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-33f5-2c5q-wgwj](https://github.com/advisories/GHSA-33f5-2c5q-wgwj), CC-BY-4.0, modified 2026-09-16
- NVD: [CVE-2026-63127](https://nvd.nist.gov/vuln/detail/CVE-2026-63127), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-63127 · Whole record: https://cve.day/CVE-2026-63127.json · Rebuilt by cve.day 2026-11-25T22:59:39.053Z
