MCP Ruby SDK - Ruby SSE Session Poisoning
Published: July 07, 2026
SECURITY IDENTIFIERS
- CVE: CVE-2026-67431 (NVD)
- GHSA: GHSA-5p9g-j988-pcwv
GEM
PATCHED VERSIONS
>= 0.23.0
DESCRIPTION
Summary
Vulnerability: Missing Session Ownership Validation in the Ruby MCP SDK's Streamable and SSE HTTP transport implementation. Any attacker with a stolen session ID can execute tools with the victim's session. This is a silent attack - the victim's session is compromised and being used for unauthorized actions, but it is hard to know for the victim.
Impact
-
Integrity: HIGH - Attacker can execute unauthorized tools and modify state.
-
Availability: LOW - Attacker can disrupt victim's session with injected responses.
RELATED
- https://nvd.nist.gov/vuln/detail/CVE-2026-67431
- https://rubygems.org/gems/mcp/versions/0.23.0
- https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.23.0
- https://github.com/modelcontextprotocol/ruby-sdk/commit/35466605319a34e4c7808712ae9bb1ca1afb2356
- https://advisories.gitlab.com/gem/mcp/CVE-2026-67431
- https://osv.dev/vulnerability/GHSA-5p9g-j988-pcwv
- https://github.com/modelcontextprotocol/ruby-sdk/security/advisories/GHSA-5p9g-j988-pcwv
- https://github.com/advisories/GHSA-5p9g-j988-pcwv
