Skip to content
HighVulnerability

CVE-2026-63118: MCP Ruby SDK DNS rebinding through unvalidated Host and Origin headers

Identifier
CVE-2026-63118
Published
Record updated
View JSON
Affected
  • mcp <= 0.22.0
Fixed in
0.23.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

MCP Ruby SDK versions prior to 0.23.0 contain a flaw in MCP::Server::Transports::StreamableHTTPTransport in the mcp gem, which does not validate the HTTP Host or Origin request headers. A malicious browser page can use DNS rebinding to reach a locally running MCP server and invoke its exposed tools.

Mitigation

Fixed in version 0.23.0.