rmcp is vulnerable to Improper Authorization
59
CVE Score
Medium
Improper Authorization
The rmcp protocol handling accepts restricted server-to-client requests (such as sampling/createMessage, roots/list, and elicitation/create) without confirming they are associated with the originating request context or inbound stream. A malicious or compromised MCP server can issue restricted requests that the client processes as if they were legitimately associated, enabling confused-deputy invocation of client-side capabilities. Before the fix these unassociated requests were dispatched to the client handler instead of rejected. The fix (SEP-2260) enforces receive-side request association and rejects unassociated restricted requests with an invalid-params (-32602) error.
Upgrade the rmcp library to the patch version.
You are affected if you are on a version within the vulnerable range, your application uses the rmcp client to connect to untrusted or externally controlled MCP servers, and you have implemented the client-side handlers for restricted server-to-client requests (sampling/createMessage, roots/list, or elicitation/create). Clients that leave these handlers at their safe defaults (which decline or return method-not-found) have limited exposure.
0.1.0 - 3.0.1
Fixed in 3.1.0rmcp is vulnerable to Improper Authorization in versions 0.1.0 - 3.0.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.