# CVE-2026-67430: MCP Ruby SDK: Unbounded session retention in StreamableHTTPTransport allows memory exhaustion via initialize flood

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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.37%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-29T19:10:39.552Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: GHSA-52jp-gj8w-j6xh
- Weaknesses: CWE-401, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, 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 expire sessions by default, so repeated initialize requests retain unbounded ServerSession objects and can exhaust process memory. 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:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/modelcontextprotocol/ruby-sdk/security/advisories/GHSA-52jp-gj8w-j6xh> (exploit, web)
- <https://github.com/modelcontextprotocol/ruby-sdk/commit/afb968c468c178c4d3294b423fcce250621692f4> (web)
- <https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.23.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-67430> (advisory)
- <https://github.com/modelcontextprotocol/ruby-sdk> (package)

## Sources

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

---

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