CVE-2026-33946 — Vulnerability in mcp — CVE Details
MCP Ruby SDK: Insufficient Session Binding Allows SSE Stream Hijacking via Session ID Replay
Summary
Advisory Timeline
- First published March 27, 2026 (199 days ago).
- Last revised March 30, 2026 — 3 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install mcp -v 0.9.2
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| mcp | rubygems | 0.1.0, 0.2.0, 0.3.0, 0.4.0 (+7 more) | 0.9.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-384
- CWE-639Insecure Direct Object Reference (IDOR)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.0 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/modelcontextprotocol/ruby-sdk/security/advisories/GHSA-qvqr-5cv7-wh35WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-33946ADVISORY
- https://github.com/modelcontextprotocol/ruby-sdk/commit/db40143402d65b4fb6923cec42d2d72cb89b3874WEB
- https://hackerone.com/reports/3556146WEB
- https://github.com/modelcontextprotocol/csharp-sdk/blob/main/src/ModelContextProtocol.AspNetCore/SseHandler.cs#L93-L97WEB
- https://github.com/modelcontextprotocol/go-sdk/blob/main/mcp/streamable.go#L281C1-L288C2WEB
- https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/server/streamable_http.py#L680-L685WEB
- https://github.com/modelcontextprotocol/ruby-sdkPACKAGE
- https://github.com/modelcontextprotocol/ruby-sdk/blob/main/examples/streamable_http_server.rbWEB
- https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.9.2WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mcp/CVE-2026-33946.ymlWEB
Frequently Asked Questions
- What is CVE-2026-33946?
- MCP Ruby SDK: Insufficient Session Binding Allows SSE Stream Hijacking via Session ID Replay This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.0/10).
- How do I check if my project is affected by CVE-2026-33946?
- CVE-2026-33946 affects mcp. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-33946 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-94462HIGH
Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
- CVE-2026-67431HIGH
MCP Ruby SDK: Ruby SSE Session Poisoning
- CVE-2026-67432HIGH
MCP Ruby SDK: Unbounded JSON-RPC request body causes uncontrolled memory allocation in StreamableHTTPTransport
- CVE-2026-77601HIGH
OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting
- CVE-2026-67430MEDIUM
MCP Ruby SDK: Unbounded session retention in StreamableHTTPTransport allows memory exhaustion via initialize flood
- CVE-2026-63119MEDIUM
MCP Ruby SDK: Unbounded line buffer in stdio transports leads to memory exhaustion (DoS)
- CVE-2026-63118MEDIUM
MCP Ruby SDK: Streamable HTTP transport lacks DNS-rebinding (Host/Origin) protection
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies