# CVE-2026-67431: MCP Ruby SDK: Ruby SSE Session Poisoning

- Severity: High 8.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/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.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-29T19:15:32.340Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: GHSA-5p9g-j988-pcwv
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- 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 bind a session ID to a session owner, allowing an attacker with a stolen session ID to send tools/call requests that execute in the victim's session. 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 8.3 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/modelcontextprotocol/ruby-sdk/security/advisories/GHSA-5p9g-j988-pcwv> (exploit, web)
- <https://github.com/modelcontextprotocol/ruby-sdk/commit/35466605319a34e4c7808712ae9bb1ca1afb2356> (web)
- <https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.23.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-67431> (advisory)
- <https://github.com/modelcontextprotocol/ruby-sdk> (package)

## Sources

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

---

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