Skip to main content
VulnerabilityPublished

CVE-2026-63118: modelcontextprotocol ruby-sdk · Origin Validation Error

Affects modelcontextprotocol ruby-sdkSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium : upgrade to 0.23.0 when convenient.

Data as of 28 Oct 2026, 05:11 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.23.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade ruby-sdk and mcp to 0.23.0.

Affected software

ProductAffectedFixed in
modelcontextprotocolruby-sdkAffected
  • <0.23.0
Fixed in
  • 0.23.0
RubyGemsmcppkg:gem/mcpOther threatsAffected
  • <0.23.0
Fixed in
  • 0.23.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade the MCP Ruby SDK to version 0.23.0 or later, where the origin validation issue is fixed. No other mitigation guidance is provided or necessary since the fix is available.

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.

References

Community reviews

Loading reviews…