Skip to main content
← All vulnerabilities
CVE-2026-67430GHSA-52JP-GJ8W-J6XH

MCP Ruby SDK: Unbounded session retention in StreamableHTTPTransport allows memory exhaustion via initialize flood

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.23.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • modelcontextprotocol ruby-sdk

    fixed in 0.23.0

  • mcpRubyGems

    fixed in 0.23.0

References 3

GitHub · modelcontextprotocol/ruby-sdk