mcp-cve-project

CVE-2026-67430 | MCP Ruby SDK Streamable HTTP session memory exhaustion | Moderate | 5.3

CVE Information

Field Value
CVE / NVD CVE-2026-67430
Date (index) 2026-07-30
Affected product (index) MCP Ruby SDK (modelcontextprotocol/ruby-sdk): Streamable HTTP unbounded session retention
GHSA ID GHSA-52jp-gj8w-j6xh
OWASP MCP Top 10 (2025) MCP07 — Insufficient Authentication & Authorization
Published / disclosed 2026-07-30
Ecosystem RubyGems
Component MCP::Server::Transports::StreamableHTTPTransport
EPSS score Not yet scored (FIRST EPSS as of indexing)
CVSS score 5.3 (v3.1)
CWE CWE-400 / CWE-770
Affected versions <= 0.22.0
Fixed versions 0.23.0
Fix status Patched
Exploit status Public advisory
Notes Added during 2026-08-25 gap review. Same StreamableHTTPTransport release wave as CVE-2026-63118/63119/67431/67432.

CVE Breakdown

What is the vulnerability?

StreamableHTTPTransport never expires sessions by default (session_idle_timeout: nil). Each successful initialize stores a new ServerSession; the only removal path is an explicit client DELETE. Repeated initialize-and-abandon cycles retain unbounded session objects until memory is exhausted.

Attack prerequisites / exposure

Network-reachable Streamable HTTP MCP server without session limits. Attacker needs no authentication.

CVE is because of what bug?

Uncontrolled resource consumption (CWE-400, CWE-770): no idle timeout, reaper thread, or max-session cap by default.

MCP-specific impact / why it matters

A single attacker can DoS a shared MCP server process hosting multiple developer sessions.

Where was the bug? (source + snippet)

Fix / Remediation

Upgrade to mcp gem >= 0.23.0, which adds session idle timeout, reaper thread, and max_sessions enforcement.