CVE-2026-111768: MCP TypeScript SDK · One HTTP request within the default size limit could exhaust server memory during validation
Affects @modelcontextprotocol/sdkSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 1.32.0 soon.
Data as of 4 Dec 2026, 18:36 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.5 |
|---|
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.32.0, 2.3.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade @modelcontextprotocol/sdk to 1.32.0; @modelcontextprotocol/server to 2.3.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@modelcontextprotocol/sdk | Affected
| Fixed in
|
| npm@modelcontextprotocol/server | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available. Upgrade to @modelcontextprotocol/sdk version 1.32.0 or later and @modelcontextprotocol/server version 2.3.0 or later. After upgrading, configure the 'maxToolInputElements' option to a value just above the largest expected input size to limit validated elements. Also, reduce the HTTP request size limit using 'maxRequestBodySize' on the transport or handler, or the equivalent in your HTTP parser. If upgrading is not possible immediately, reduce the request size limit using 'maxRequestBodySize' (available in SDK 1.30.1 or server 2.1.0) or use a reverse proxy to limit request sizes.
Description
A vulnerability in the MCP TypeScript SDK and server allows a single HTTP request within the default 4 MiB size limit to exhaust server memory during validation by sending excessive array elements or object keys. This causes the server process to abort with a 'JavaScript heap out of memory' error. No authentication is required unless the server enforces it before the SDK processes requests. The issue affects versions 1.3.0 through 1.31.0 of @modelcontextprotocol/sdk and 2.0.0 through 2.2.0 of @modelcontextprotocol/server. Fixed versions are 1.32.0+ for the SDK and 2.3.0+ for the server, which introduce a new option to limit input elements and recommend lowering request size limits.
References
- github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-46jr-4wx8-v453 (opens in a new tab)
- github.com/modelcontextprotocol/typescript-sdk/pull/2926 (opens in a new tab)
- github.com/modelcontextprotocol/typescript-sdk/pull/2927 (opens in a new tab)
- github.com/modelcontextprotocol/typescript-sdk/commit/6d8dbc6cb590edf766fcb66b636ca6b654e99c37 (opens in a new tab)
- github.com/modelcontextprotocol/typescript-sdk/commit/fd26801b3b387742fe24a90ed4b275dd6072209f (opens in a new tab)
- github.com/modelcontextprotocol/typescript-sdk (opens in a new tab)