CVE-2026-111768
High 7.5 P4 · Monitor (22/100)MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation
Confirmed facts from the sources
- CVSS
- 7.5 (High) · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by github - Exploitation confirmed
- Not in the CISA KEV catalog
- Exploitation estimated (EPSS)
- 0.70 % · percentile 48.7 % (as of 29.11.2026)
Probability of exploitation in the next 30 days – an estimate by FIRST, not confirmation. - Public exploit
- No reference to a public exploit.
- Fix
- Fix available
- Monitored technologies
- MCP servers and clients
Description (source)
### Summary In affected versions, servers put no limit on how many array elements and object keys they validated in one request. One HTTP request within the default 4 MiB size limit could exhaust the server's memory, and the process aborted with `JavaScript heap out of memory`. No credentials are needed, unless you authenticate requests before they reach the SDK. ### Am I affected? Yes, if clients you do not fully trust can reach your server over HTTP. The risk is highest for `McpServer` tools whose input contains an array or a record. stdio-only servers are not affected. Affected versions: - `@modelcontextprotocol/sdk` 1.3.0 through 1.31.0 - `@modelcontextprotocol/server` 2.0.0 through 2.2.0 ### Fix Upgrade to: - 1.x: `@modelcontextprotocol/sdk` 1.32.0 or later - 2.x: `@modelcontextprotocol/server` 2.3.0 or later **Upgrading alone changes nothing.** The patched versions add an `McpServer` option, `maxToolInputElements`, that is off by default. Make both of these changes: 1. Set `maxToolInputElements` just above the largest input your tools need, for example `new McpServer(info, { maxToolInputElements: 10_000 })`. It counts array elements and object keys in a call's arguments. A call over the limit gets an `isError: true` result. 2. Lower the request size limit to what your tools need. The option covers tool arguments only, and the size limit covers everything else. Set `maxRequestBodySize` on the transport or `createMcpHandler()`. If you parse the body yourself, for example with `express.json()` or Fastify, set that parser's limit. If you cannot upgrade yet, make the second change. `maxRequestBodySize` needs `@modelcontextprotocol/sdk` 1.30.1 or `@modelcontextprotocol/server` 2.1.0. Below that, use a reverse proxy.
Affected products and versions
| Vendor / product | Affected versions | Fixed in | Source |
|---|---|---|---|
| npm: @modelcontextprotocol/sdk | >= 1.3.0, < 1.32.0 | 1.32.0 | github |
| npm: @modelcontextprotocol/server | >= 2.0.0, < 2.3.0 | 2.3.0 | github |
Versions as published. “Fixed in” only where a source names the version explicitly.
Recommended mitigation
Fixed versions: @modelcontextprotocol/sdk 1.32.0, @modelcontextprotocol/server 2.3.0
In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.
AI interpretation
No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.
Why this priority?: P4 · Monitor (22/100)
- Estimated exploitation probability 0.7 % (EPSS, percentile 48.7 %) – an estimate, not confirmation (+0)
- Technical severity: CVSS 7.5 (HIGH) – on its own not a reason for top priority (+12)
- Concerns 1 monitored technolog(y/ies) (CPE, package or vendor) (+10)
- Fix available – plan the update (+0)
Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.
Original advisories and links
- Advisory https://github.com/advisories/GHSA-46jr-4wx8-v453 · github
- Reference https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-46jr-4wx8-… · github
- Reference https://github.com/modelcontextprotocol/typescript-sdk/pull/2926 · github
- Reference https://github.com/modelcontextprotocol/typescript-sdk/pull/2927 · github
- Reference https://github.com/modelcontextprotocol/typescript-sdk/commit/6d8dbc6cb590edf766fcb66b636c… · github
- Reference https://github.com/modelcontextprotocol/typescript-sdk/commit/fd26801b3b387742fe24a90ed4b2… · github