MCP Ruby SDK: Insufficient Session Binding Allows SSE Stream Hijacking via Session ID Replay
CVE-2026-33946 · GHSA-qvqr-5cv7-wh35 · published 2026-03-27 · updated 2026-03-30
- Severity
- High
- CVSS score
- 8.2
- Chance of exploitation (EPSS)
- 0.48%
- Fixed in
- 0.9.2
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Partial
- CISA SSVC
While the absence of user binding may not pose immediate risks if session IDs are not used to store sensitive data or state, the fundamental purpose of session IDs is to maintain stateful connections. If the SDK or its consumers utilize session IDs for sensitive operations without proper user binding controls, this creates a potential security vulnerability. For example: In the case of the Ruby SDK, the attacker was able to hijack the stream and receive all the tool responses belonging to the victim. The tool responses can be sensitive confidential data.
Upgrade mcp to 0.9.2 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| mcp | RubyGems | <= 0.9.1 | 0.9.2 |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalTodoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server@doist/todoist-mcp
- CriticalLangflow: Unauthenticated Flow Execution via Webhook Authentication Bypasslangflow
- HighMCP Ruby SDK: Ruby SSE Session Poisoningmcp
- HighMCP Ruby SDK: Unbounded JSON-RPC request body causes uncontrolled memory allocation in StreamableHTTPTransportmcp
- MediumMCP Ruby SDK: Unbounded session retention in StreamableHTTPTransport allows memory exhaustion via initialize floodmcp
- MediumMCP Ruby SDK: Unbounded line buffer in stdio transports leads to memory exhaustion (DoS)mcp
- MediumMCP Ruby SDK: Streamable HTTP transport lacks DNS-rebinding (Host/Origin) protectionmcp
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.