{"id":"DHI-55xn-rwqi-lfk6-ladx","summary":"Before 3.9.0, the built-in Streamable HTTP clients in rmcp read non-streaming","details":"Before 3.9.0, the built-in Streamable HTTP clients in rmcp read non-streaming\nHTTP response bodies into memory with no size limit. Both the reqwest client\n(`transport-streamable-http-client-reqwest`) and the Unix socket client\n(`transport-streamable-http-client-unix-socket`) were affected:\n\n- `application/json` responses to POST requests were read in full before\n  parsing.\n- Non-2xx responses were read in full for error reporting.\n\nA malicious or compromised MCP server can answer with a body that never ends,\nfor example a chunked `application/json` response that streams whitespace. The\nclient buffers it until the process runs out of memory. This works during\n`initialize`, before any authentication. On desktop or agent hosts, this\nterminates the whole host application.\n\nServer-sent event streams are not affected. Each event is already capped by\n`max_sse_event_size`, and events are not accumulated.\n\nThe flaw was corrected in 3.9.0. Successful JSON bodies are limited to 16 MiB\nand non-success bodies to 64 KiB. Bytes are counted while streaming, after\ndecompression. An oversized `Content-Length` is rejected before the body is\nread, and an oversized body is rejected with\n`StreamableHttpError::ResponseBodyTooLarge` instead of being truncated.\n\nIf you cannot upgrade, use a custom `StreamableHttpClient` that enforces a\nresponse body limit, or connect only to trusted MCP servers.","modified":"2026-11-21T23:00:08.673406653Z","published":"2026-11-11T22:00:56Z","upstream":["GHSA-c9f9-cp8h-jcj5"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-55xn-rwqi-lfk6-ladx"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0462"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0462.html"},{"type":"FIX","url":"https://github.com/modelcontextprotocol/rust-sdk/commit/3e0156c1eaf1573a1b878e2a8998d2fa2d0b1439"}],"affected":[{"package":{"name":"apollo-mcp-server-1","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/apollo-mcp-server-1"},"versions":["1.20.0-1","1.20.0-2","1.20.0-3","1.20.0-4","1.20.0-6","1.20.0-7","1.20.0-8"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-55xn-rwqi-lfk6-ladx.json"}},{"package":{"name":"apollo-mcp-server-2","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/apollo-mcp-server-2"},"versions":["2.0.0-0","2.0.0-1","2.1.0-0","2.1.0-1","2.1.0-2","2.1.0-4","2.1.0-5","2.1.0-6","2.2.1-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-55xn-rwqi-lfk6-ladx.json"}},{"package":{"name":"apollo-mcp-server","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/apollo-mcp-server"},"versions":["1.17.0-0","1.18.0-0","1.19.0-0","1.20.0-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-55xn-rwqi-lfk6-ladx.json"}},{"package":{"name":"mise","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/mise"},"versions":["2026.10.0-0","2026.10.1-0","2026.10.10-0","2026.10.12-0","2026.10.13-0","2026.10.14-0","2026.10.15-0","2026.10.17-0","2026.10.18-0","2026.10.19-0","2026.10.20-0","2026.10.21-0","2026.10.22-0","2026.10.23-0","2026.10.24-0","2026.10.25-0","2026.10.3-0","2026.10.4-0","2026.10.5-0","2026.10.7-0","2026.10.8-0","2026.10.9-0","2026.11.0-0","2026.11.1-0","2026.11.10-0","2026.11.11-0","2026.11.12-0","2026.11.2-0","2026.11.3-0","2026.11.4-0","2026.11.5-0","2026.11.6-0","2026.11.7-0","2026.11.8-0","2026.11.9-0","2026.9.10-0","2026.9.18-0"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-55xn-rwqi-lfk6-ladx.json","owner_kind":"HSP"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}