GEM · JULY 2026 · EARLY WARNING

MCP Ruby SDK Vulnerability: DNS-Rebinding Protection Missing

EARLY WARNING · UNCONFIRMED. This page describes a developing threat that 0Day surfaced from early signals and has not yet independently confirmed. Details may change. Always verify against the primary sources before acting.
GHSA-RJR6-RCGV-9M7MSeverity: HIGH

The MCP Ruby SDK's Streamable HTTP transport reportedly lacks DNS-rebinding protection, which may allow cross-origin attacks to enumerate and invoke tools and exfiltrate data. Users of the affected mcp gem version 0.18.0 should assess their exposure.

What happened

An early warning has been issued regarding a potential vulnerability in the MCP Ruby SDK's Streamable HTTP transport. The issue, tracked under GHSA-RJR6-RCGV-9M7M, appears to involve a lack of DNS-rebinding protection, which may enable cross-origin attacks. These attacks could potentially allow an attacker to enumerate and invoke tools, as well as exfiltrate data. The affected component is the mcp gem version 0.18.0. It is under investigation whether a compromise has occurred. For now, the recommended action is to review local MCP server configurations for potential exposure. Once a patched version of the mcp gem becomes available, users are advised to upgrade. Primary sources should be consulted for the most current information.

How 0Day mitigates this

MATCHED TO YOUR ACTUAL DEPENDENCY GRAPH0Day matches every incoming threat signal against your GitHub organization’s full dependency graph, including transitive dependencies. If mcp is anywhere in your dependency tree, the engineers who own the affected repositories get a push alert the moment it is flagged — no manual audit to remember to run.

Read how this differs from waiting on a scanner to catch a known advisory, or see the exact, read-only access 0Day needs to do this for an organization.

Join the 0Day waitlist →

← Back to all threats