CVE-2026-63127
Description
A flaw was found in rmcp, a Rust SDK for the Model Context Protocol. The OAuth implementation in rmcp omits the RFC 9728 resource field from ResourceServerMetadata. This allows a malicious Model Context Protocol (MCP) server to publish metadata for a different legitimate MCP resource. Consequently, a victim connecting to the malicious server may obtain a legitimate access token, which the client then sends to the malicious server. This enables the attacker to capture the token and impersonate the victim against the legitimate MCP resource within the token's granted scopes, leading to unauthorized access and information disclosure.
Statement
This is an Important flaw in the rmcp Rust SDK, which is utilized by the goose component in Red Hat products. The vulnerability allows a malicious Model Context Protocol (MCP) server to facilitate token impersonation by omitting a critical resource field during OAuth metadata discovery. This can lead to a client unknowingly sending a legitimate access token to the malicious server, resulting in unauthorized access and potential information disclosure within the token's granted scopes. Exploitation requires user interaction, but the attack complexity is low.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 8.2 | N/A | 8.2 |
| Attack Vector | Network | N/A | Network |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | Required | N/A | Required |
| Scope | Changed | N/A | Changed |
| Confidentiality | High | N/A | High |
| Integrity Impact | Low | N/A | Low |
| Availability Impact | None | N/A | None |
Vector
Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Understanding the Weakness (CWE)
Access Control
Technical Impact: Bypass Protection Mechanism
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.