Skip to main content
EPSS 0.3%top 78%

CVE-2026-67431: CWE-284: Improper Access Control in modelcontextprotocol ruby-sdk

0
High
VulnerabilityCVE-2026-67431cvecve-2026-67431cwe-284
Published: 07/29/2026 (07/29/2026, 19:15:32 UTC)
Source: CVE Database V5
Vendor/Project: modelcontextprotocol
Product: ruby-sdk

Description

CVE-2026-67431 is a high-severity vulnerability in the MCP Ruby SDK prior to version 0.23.0. The issue involves improper access control where the StreamableHTTPTransport component does not bind session IDs to session owners. This flaw allows an attacker who has obtained a stolen session ID to send requests that execute within the victim's session context. The vulnerability is fixed in version 0.23.0.

CVSS v4.0

Score 8.3high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

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:53:54 UTC

Technical Analysis

The MCP Ruby SDK's StreamableHTTPTransport component (in versions before 0.23.0) fails to bind session IDs to their respective session owners, resulting in improper access control (CWE-284). This allows an attacker with a stolen session ID to execute tools or call requests as the victim, effectively hijacking the session. The vulnerability has a CVSS 4.0 score of 8.3, indicating high severity. The issue is resolved in version 0.23.0 of the SDK.

Potential Impact

An attacker who obtains a valid session ID can impersonate the legitimate user by sending requests that execute within the victim's session. This can lead to unauthorized actions being performed under the victim's identity, potentially compromising confidentiality and integrity of the victim's session data and operations.

Mitigation Recommendations

Upgrade the MCP Ruby SDK to version 0.23.0 or later, where the issue is fixed by properly binding session IDs to session owners. No other mitigation or temporary workaround is indicated in the available data.

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
4.0
State
PUBLISHED

Threat ID: 6a6a53159c2644c7f8f0f10c

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

Last enriched: 08/06/2026, 17:53:54 UTC

Last updated: 09/12/2026, 22:01:36 UTC

Views: 63

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