CVE-2026-67430 MCP Ruby SDK: Unbounded session retention in StreamableHTTPTransport allows memory exhaustion via initialize flood
MediumCVSS 5.3
EPSS 0.37%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
MCP Ruby SDK is the official Ruby SDK for Model Context Protocol servers and clients. Prior to 0.23.0, MCP::Server::Transports::StreamableHTTPTransport in the mcp gem does not expire sessions by default, so repeated initialize requests retain unbounded ServerSession objects and can exhaust process memory. This issue is fixed in version 0.23.0.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| rubygems mcp(RubyGems) | < 0.23.0; <= 0.22.0; = 0.1.0; = 0.2.0 +23 more | 0.23.0 | Fixed |
| modelcontextprotocol ruby-sdk | = < 0.23.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems mcp(RubyGems) | < 0.23.0 | 0.23.0 |
| rubygems mcp(RubyGems) | = 0.1.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.10.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.11.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.12.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.13.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.14.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.15.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.16.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.17.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.18.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.19.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.2.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.20.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.21.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.22.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.3.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.4.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.5.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.6.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.7.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.7.1 | No fix listed |
| rubygems mcp(RubyGems) | = 0.8.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.9.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.9.1 | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems mcp(RubyGems) | = 0.9.2 | No fix listed |
| modelcontextprotocol ruby-sdk | = < 0.23.0 | No fix listed |
| rubygems mcp(RubyGems) | <= 0.22.0 | No fix listed |
References
- https://github.com/modelcontextprotocol/ruby-sdk/security/advisories/GHSA-52jp-gj8w-j6xh exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/modelcontextprotocol/ruby-sdk/commit/afb968c468c178c4d3294b423fcce250621692f4 patch
- github.com product
- https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.23.0
- github.com