A high-severity vulnerability tracked as CVE-2026-67431 affects the official Model Context Protocol (MCP) Ruby SDK, allowing attackers to hijack active sessions and execute unauthorized JSON-RPC tools/call requests. The flaw exists in MCP::Server::Transports::StreamableHTTPTransport in the mcp gem before version 0.23.0, where the server verifies only that a session exists and does not bind the session ID to the legitimate owner. If an attacker obtains a valid Mcp-Session-Id, requests can be routed into the victim’s session with impacts including unauthorized tool execution, integrity loss, and limited availability disruption.
Reports say exploitation depends on theft of active session identifiers rather than guessing them, with likely exposure paths including insecure logging, unencrypted local loopback traffic, and side channels on shared systems. An attacker can then submit crafted HTTP POST requests carrying the stolen session header to trigger backend capabilities such as file access or command execution, and can also send notifications/cancelled messages to interrupt a victim’s operations. The issue is classified as CWE-284 and has been fixed in Ruby SDK version 0.23.0, which adds stronger request validation including origin checks and an optional session_request_validator callback to better bind requests to the correct session owner.

See affected versions and whether adversaries are exploiting it.
1 event from the most recent confirmed update back to the earliest known activity.
The official MCP Ruby SDK fixed CVE-2026-67431 in version 0.23.0, addressing improper access control in StreamableHTTPTransport that allowed requests using a stolen session ID to execute in a victim's session. The update added protections including origin validation and an optional session_request_validator callback to better bind requests to the legitimate session owner.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
2 references tracked. Mallory keeps watching after this page renders.
cvereports.com
Open sourcecvefeed.io
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.