Modelcontextprotocol ruby-sdk
MCP Ruby SDK: Ruby SSE Session Poisoning
MCP Ruby SDK is the official Ruby SDK for Model Context Protocol servers and clients. Prior to 0.23.0, MCP::Server::Transports::StreamableHTTPTransport in the mcp gem does not bind a session ID to a session owner, allowing an attacker with a stolen session ID to send tools/call requests that execute in the victim's session. This issue is fixed in version 0.23.0.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.3high · scored by CNA · CWE-284
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
modelcontextprotocol ruby-sdk
- < 0.23.0
Fixed in 0.23.0
Mitigation
Upgrade ruby-sdk to 0.23.0 or later.
References
- Vendor advisory github.com/modelcontextprotocol/ruby-sdk/secur…
- Patch github.com/modelcontextprotocol/ruby-sdk/commi…
- Release notes github.com/modelcontextprotocol/ruby-sdk/relea…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.