Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-67430: CWE-401: Missing Release of Memory after Effective Lifetime in modelcontextprotocol ruby-sdk

0
Medium
VulnerabilityCVE-2026-67430cvecve-2026-67430cwe-401cwe-770
Published: 07/29/2026 (07/29/2026, 19:10:39 UTC)
Source: CVE Database V5
Vendor/Project: modelcontextprotocol
Product: ruby-sdk

Description

A memory management vulnerability exists in the MCP Ruby SDK prior to version 0.23.0. Specifically, the StreamableHTTPTransport component does not expire sessions by default, causing unbounded retention of ServerSession objects. This can lead to process memory exhaustion over time. The issue is addressed in version 0.23.0.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

mcp
pkg:gem/mcp
Affected versions
<0.23.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/29/2026, 19:37:35 UTC

Technical Analysis

CVE-2026-67430 is a medium severity vulnerability in the modelcontextprotocol ruby-sdk before version 0.23.0. The MCP::Server::Transports::StreamableHTTPTransport class fails to expire sessions by default, resulting in unbounded accumulation of ServerSession objects when repeated initialize requests occur. This leads to a memory leak (CWE-401) and potential resource exhaustion (CWE-770). The vulnerability has a CVSS 3.1 base score of 5.3, reflecting a network attack vector with low complexity and no required privileges or user interaction, causing availability impact only. The issue is fixed starting from version 0.23.0.

Potential Impact

The vulnerability causes a memory leak in the MCP Ruby SDK server component, which can exhaust process memory due to unexpired sessions accumulating indefinitely. This impacts availability by potentially causing service degradation or crashes. There is no confidentiality or integrity impact reported.

Mitigation Recommendations

Upgrade to MCP Ruby SDK version 0.23.0 or later, where the session expiration issue is fixed. No other mitigation or workaround is indicated. Patch status is confirmed by the vendor advisory stating the fix is included in version 0.23.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-29T15:07:24.991Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a6a53159c2644c7f8f0f107

Added to database: 07/29/2026, 19:23:01 UTC

Last enriched: 07/29/2026, 19:37:35 UTC

Last updated: 07/29/2026, 19:37:35 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses