Skip to main content
← All vulnerabilities
CVE-2026-63118GHSA-RJR6-RCGV-9M7M

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.23.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • modelcontextprotocol ruby-sdk

    fixed in 0.23.0

  • mcpRubyGems

    fixed in 0.23.0

References 3

GitHub · modelcontextprotocol/ruby-sdk