mcp-cve-project

CVE-2026-67431 | MCP Ruby SDK Streamable HTTP session poisoning | High | 8.3

CVE Information

Field Value
CVE / NVD CVE-2026-67431
Date (index) 2026-07-30
Affected product (index) MCP Ruby SDK (modelcontextprotocol/ruby-sdk): Streamable HTTP session owner binding gap
GHSA ID GHSA-5p9g-j988-pcwv
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 8.3 (v4.0)
CWE CWE-284
Affected versions <= 0.22.0
Fixed versions 0.23.0
Fix status Patched
Exploit status Public advisory with PoC
Notes Added during 2026-08-25 gap review. Distinct from CVE-2026-33946 (earlier SSE hijacking, fixed in 0.9.2).

CVE Breakdown

What is the vulnerability?

Session lookup validates only session ID existence and idle timeout — not session ownership. An attacker with a stolen session ID can POST tools/call on the victim’s session; the server executes the tool and may route responses to the victim’s SSE stream (session poisoning).

Attack prerequisites / exposure

Attacker obtains a valid session ID (logs, network observation, etc.). Streamable HTTP or SSE transport in use.

CVE is because of what bug?

Improper access control (CWE-284): no binding between session token and authenticated principal or client identity.

MCP-specific impact / why it matters

Silent cross-client tool invocation: victim receives attacker-triggered tool results as if they were legitimate MCP responses.

Where was the bug? (source + snippet)

Fix / Remediation

Upgrade to mcp gem >= 0.23.0, which adds session_request_validator hook and Origin-consistency defense in depth.