Modelcontextprotocol ruby-sdk
MCP Ruby SDK: Insufficient Session Binding Allows SSE Stream Hijacking via Session ID Replay
MCP Ruby SDK is the official Ruby SDK for Model Context Protocol servers and clients. Prior to version 0.9.2, the Ruby SDK's streamable_http_transport.rb implementation contains a session hijacking vulnerability. An attacker who obtains a valid session ID can completely hijack the victim's Server-Sent Events (SSE) stream and intercept all real-time data. Version 0.9.2 contains a patch.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.2high · scored by CNA · CWE-384
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
modelcontextprotocol ruby-sdk
- < 0.9.2
Fixed in 0.9.2
Mitigation
Upgrade ruby-sdk to 0.9.2 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.