Skip to main content
EPSS 0.3%top 77%

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

CVE-2026-67430 is a medium severity vulnerability in the MCP Ruby SDK prior to version 0.23.0. The issue involves the MCP::Server::Transports::StreamableHTTPTransport component not expiring sessions by default, causing unbounded retention of ServerSession objects. This can lead to memory exhaustion in the process due to repeated initialize requests. The vulnerability is fixed 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

modelcontextprotocol

ruby-sdk

Affected versions
<0.23.0
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: 08/06/2026, 17:48:19 UTC

Technical Analysis

The MCP Ruby SDK (modelcontextprotocol ruby-sdk) versions before 0.23.0 contain a memory management flaw where sessions are not expired by default in the MCP::Server::Transports::StreamableHTTPTransport module. This results in repeated initialization requests accumulating ServerSession objects indefinitely, which can exhaust process memory. The issue corresponds to CWE-401 (Missing Release of Memory after Effective Lifetime) and CWE-770 (Use of Improperly Initialized Resource). The vulnerability has a CVSS 3.1 base score of 5.3 (medium severity) with no confidentiality or integrity impact but with availability impact due to potential memory exhaustion. The problem is resolved in version 0.23.0.

Potential Impact

The vulnerability can cause a denial of service condition by exhausting process memory through unbounded retention of session objects. There is no direct impact on confidentiality or integrity. The availability of the affected service may be degraded or interrupted due to memory exhaustion.

Mitigation Recommendations

Upgrade to MCP Ruby SDK version 0.23.0 or later, where the issue is fixed by expiring sessions properly by default. No other mitigation is indicated or required.

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

Threat ID: 6a6a53159c2644c7f8f0f107

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

Last enriched: 08/06/2026, 17:48:19 UTC

Last updated: 09/11/2026, 22:06:34 UTC

Views: 80

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