mcp-cve-project

CVE-2026-33946 | MCP Ruby SDK SSE stream hijacking (insufficient session binding) | High |

CVE Information

Field Value
CVE / NVD CVE-2026-33946
EPSS score 0.004650000 (FIRST EPSS, 2026-06-30)
Date (index) 2026-03-27
Affected product (index) MCP Ruby SDK (modelcontextprotocol/ruby-sdk)
GHSA ID GHSA-qvqr-5cv7-wh35
OWASP MCP Top 10 (2025) MCP01 — Token Mismanagement & Secret Exposure
Published / disclosed 2026-03-27
Ecosystem RubyGems
Component MCP Ruby SDK
CVSS score High — 8.2 — 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X (NVD CVSS 4.0)
CWE CWE-384 / CWE-639
Affected versions MCP Ruby SDK prior to 0.9.2 (per NVD)
Fixed versions 0.9.2 and later (per NVD)
Fix status Patched (per NVD description)
Exploit status Public advisory (GitHub reviewed)
Notes Details below are aligned to the English NVD description at indexing time; re-check NVD for CNA updates.

CVE Breakdown


What is the vulnerability?

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.

Attack prerequisites / exposure

Depends on deployment: many MCP issues require a reachable HTTP/SSE listener, a malicious remote MCP server, a poisoned project/workspace config, or a victim opening attacker-influenced content. Treat developer workstations and shared CI runners as high-value targets when MCP servers run with host access.

CVE is because of what bug?

See the NVD description and linked references for the upstream root cause; CWE rows above summarize the weakness mapping published by NVD.

MCP-specific impact / why it matters

MCP extends an agent’s reach into tools, hosts, and cloud APIs. Failures in transport authentication, logging, URL validation, session binding, or local config loading frequently become RCE, credential theft, SSRF, or session hijacking in MCP-shaped deployments.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here after reviewing the linked upstream commit / tag diff (do not paste weaponized payloads).

Fix / Remediation

Upgrade to vendor-fixed versions where available, reduce network exposure (bind to localhost, require auth on HTTP transports), and apply standard MCP deployment hygiene (tool allowlists, egress controls, separate secrets from logs).

Upstream fix (open source)