mcp-cve-project

CVE-2026-63118 | MCP Ruby SDK Streamable HTTP DNS rebinding | Moderate |

CVE Information

Field Value
CVE / NVD CVE-2026-63118
Date (index) 2026-07-08
Affected product (index) MCP Ruby SDK (modelcontextprotocol/ruby-sdk): Streamable HTTP Host/Origin gap
GHSA ID GHSA-rjr6-rcgv-9m7m
OWASP MCP Top 10 (2025) MCP07 — Insufficient Authentication & Authorization
Published / disclosed 2026-07-08
Ecosystem RubyGems
Component MCP::Server::Transports::StreamableHTTPTransport
EPSS score Not yet scored (FIRST EPSS as of 2026-07-17)
CVSS score Moderate — Medium (GHSA severity; NVD CVSS pending)
CWE CWE-346 / CWE-350
Affected versions <= 0.22.0
Fixed versions 0.23.0
Fix status Patched
Exploit status Public advisory with PoC
Notes Added during 2026-07-17 gap review. Same DNS-rebinding class as official TS/Python/Go/Java/Rust SDK fixes.

CVE Breakdown

What is the vulnerability?

StreamableHTTPTransport processed JSON-RPC requests without inspecting HTTP Host or Origin headers. No allowlist or DNS-rebinding guard exists in the transport layer.

Attack prerequisites / exposure

Local or LAN MCP server mounted via Streamable HTTP without authentication. Victim browses attacker-controlled content long enough for DNS rebinding.

CVE is because of what bug?

Origin validation error (CWE-346): foreign Host/Origin can obtain a session and invoke tools.

MCP-specific impact / why it matters

Browser-driven DNS rebinding can exfiltrate filesystem, shell, or credential tool output from developer MCP servers bound to loopback.

Where was the bug? (source + snippet)

Fix / Remediation

Upgrade to mcp gem >= 0.23.0, which adds Host/Origin allowlist validation with secure loopback defaults.