Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-63118 EUVD-2026-50489GHSA-rjr6-rcgv-9m7m

MCP Ruby SDK: Streamable HTTP transport lacks DNS-rebinding (Host/Origin) protection

Published Jul 29, 2026 · Updated Jul 29, 2026 · Assigned by GitHub_M

Description

MCP Ruby SDK is the official Ruby SDK for Model Context Protocol servers and clients. Prior to 0.23.0, MCP::Server::Transports::StreamableHTTPTransport in the mcp gem does not validate the HTTP Host or Origin request headers, which allows a malicious browser page to use DNS rebinding to reach a locally running MCP server and invoke exposed tools. This issue is fixed in version 0.23.0.

Affected products

VendorProductAffectedFixed
modelcontextprotocol ruby-sdk < 0.23.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems mcp < 0.23.0 0.23.0 GHSA-rjr6-rcgv-9m7m

References