{"id":"CVE-2026-67430","published":"2026-07-29T19:10:39Z","modified":"2026-07-30T15:19:09Z","title":"MCP Ruby SDK: Unbounded session retention in StreamableHTTPTransport allows memory exhaustion via initialize flood","vendor":"modelcontextprotocol","product":"ruby-sdk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00367,"percentile":0.31313,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/modelcontextprotocol/ruby-sdk/security/advisories/GHSA-52jp-gj8w-j6xh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/modelcontextprotocol/ruby-sdk/commit/afb968c468c178c4d3294b423fcce250621692f4","tags":["x_refsource_MISC"]},{"url":"https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.23.0","tags":["x_refsource_MISC"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":6.26},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"modelcontextprotocol","affectedVersions":[{"vendor":"modelcontextprotocol","product":"ruby-sdk","versions":["< 0.23.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-30T14:16:30.853311Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"mcp","vulnerableRanges":["<0.23.0"],"patched":["0.23.0"],"from":["GHSA-52jp-gj8w-j6xh"],"provenance":"source"}],"summary":{"text":"The flaw is in the StreamableHTTPTransport component of the MCP Ruby SDK's mcp gem, where sessions are not expired by default, so ServerSession objects accumulate without bound. An attacker with network access can send repeated initialize requests, with no authentication or user interaction required, to retain unlimited sessions and exhaust process memory, causing availability impact on the affected server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:01Z"},"euvd":{"id":"EUVD-2026-50498","exploited":false,"provenance":"source"}}