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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-29T19:07:33.452Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: GHSA-rjr6-rcgv-9m7m
- Weaknesses: CWE-346, CWE-350
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- modelcontextprotocol ruby-sdk: < 0.23.0
- mcp (RubyGems): before 0.23.0

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/modelcontextprotocol/ruby-sdk/security/advisories/GHSA-rjr6-rcgv-9m7m> (exploit, web)
- <https://github.com/modelcontextprotocol/ruby-sdk/commit/ba543083a7594e7892b29464b89091816446ff7a> (web)
- <https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.23.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-63118> (advisory)
- <https://github.com/modelcontextprotocol/ruby-sdk> (package)

## Sources

- CVE List: [CVE-2026-63118](https://www.cve.org/CVERecord?id=CVE-2026-63118), CVE Terms of Use, modified 2026-07-29
- GitHub Advisory Database: [GHSA-rjr6-rcgv-9m7m](https://github.com/advisories/GHSA-rjr6-rcgv-9m7m), CC-BY-4.0, modified 2026-07-30
- NVD: [CVE-2026-63118](https://nvd.nist.gov/vuln/detail/CVE-2026-63118), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-63118 · Whole record: https://cve.day/CVE-2026-63118.json · Rebuilt by cve.day 2026-11-25T22:59:30.480Z
