# CVE-2026-33946: MCP Ruby SDK: Insufficient Session Binding Allows SSE Stream Hijacking via Session ID Replay

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-27T18:36:45.000Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-qvqr-5cv7-wh35
- Weaknesses: CWE-384, CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- modelcontextprotocol ruby-sdk: < 0.9.2
- mcp (RubyGems): before 0.9.2
- lfprojects mcp_ruby_sdk: before 0.9.2

## Every score

- GitHub_M: CVSS:4.0 8.2 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/modelcontextprotocol/ruby-sdk/security/advisories/GHSA-qvqr-5cv7-wh35> (exploit, vendor-advisory, web)
- <https://github.com/modelcontextprotocol/ruby-sdk/commit/db40143402d65b4fb6923cec42d2d72cb89b3874> (patch, web)
- <https://hackerone.com/reports/3556146> (permissions-required, web)
- <https://github.com/modelcontextprotocol/csharp-sdk/blob/main/src/ModelContextProtocol.AspNetCore/SseHandler.cs#L93-L97> (patch, web)
- <https://github.com/modelcontextprotocol/go-sdk/blob/main/mcp/streamable.go#L281C1-L288C2> (patch, web)
- <https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/server/streamable_http.py#L680-L685> (patch, web)
- <https://github.com/modelcontextprotocol/ruby-sdk/blob/main/examples/streamable_http_server.rb> (patch, web)
- <https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.9.2> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33946> (advisory)
- <https://github.com/modelcontextprotocol/ruby-sdk> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mcp/CVE-2026-33946.yml> (web)

## Sources

- CVE List: [CVE-2026-33946](https://www.cve.org/CVERecord?id=CVE-2026-33946), CVE Terms of Use, modified 2026-03-30
- GitHub Advisory Database: [GHSA-qvqr-5cv7-wh35](https://github.com/advisories/GHSA-qvqr-5cv7-wh35), CC-BY-4.0, modified 2026-03-30
- NVD: [CVE-2026-33946](https://nvd.nist.gov/vuln/detail/CVE-2026-33946), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-33946 · Whole record: https://cve.day/CVE-2026-33946.json · Rebuilt by cve.day 2026-11-25T22:59:17.453Z
