CVE-2026-33946 MCP Ruby SDK: Insufficient Session Binding Allows SSE Stream Hijacking via Session ID Replay
HighCVSS 8.2
EPSS 0.48%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| lfprojects mcp ruby sdk | < 0.9.2 | 0.9.2 | Fixed |
| rubygems mcp(RubyGems) | < 0.9.2; <= 0.9.1; = 0.1.0; = 0.2.0 +9 more | 0.9.2 | Fixed |
| modelcontextprotocol ruby-sdk | = < 0.9.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems mcp(RubyGems) | < 0.9.2 | 0.9.2 |
| rubygems mcp(RubyGems) | = 0.1.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.2.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.3.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.4.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.5.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.6.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.7.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.7.1 | No fix listed |
| rubygems mcp(RubyGems) | = 0.8.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.9.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.9.1 | No fix listed |
| modelcontextprotocol ruby-sdk | = < 0.9.2 | No fix listed |
| rubygems mcp(RubyGems) | <= 0.9.1 | No fix listed |
| lfprojects mcp ruby sdk | < 0.9.2 | 0.9.2 |
References
- https://github.com/modelcontextprotocol/ruby-sdk/security/advisories/GHSA-qvqr-5cv7-wh35 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/modelcontextprotocol/ruby-sdk/commit/db40143402d65b4fb6923cec42d2d72cb89b3874 patch
- https://hackerone.com/reports/3556146 permissions-required
- https://github.com/modelcontextprotocol/csharp-sdk/blob/main/src/ModelContextProtocol.AspNetCore/SseHandler.cs#L93-L97 patch
- https://github.com/modelcontextprotocol/go-sdk/blob/main/mcp/streamable.go#L281C1-L288C2 patch
- https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/server/streamable_http.py#L680-L685 patch
- github.com product
- https://github.com/modelcontextprotocol/ruby-sdk/blob/main/examples/streamable_http_server.rb patch
- https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.9.2 product release-notes
- github.com exploit
- github.com