{"data":{"id":"41733cfd-239a-4b00-8216-3d7697020b44","title":"GHSA-46jr-4wx8-v453: MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation","summary":"The MCP TypeScript SDK (`@modelcontextprotocol/sdk` 1.3.0 through 1.31.0, and `@modelcontextprotocol/server` 2.0.0 through 2.2.0) placed no limit on the number of array elements and object keys it validated per request. A single HTTP request within the default 4 MiB size limit can exhaust server memory and abort the process with `JavaScript heap out of memory`. No credentials are needed unless requests are authenticated before reaching the SDK, and stdio-only servers are not affected.","solution":"Upgrade to `@modelcontextprotocol/sdk` 1.32.0 or later, or `@modelcontextprotocol/server` 2.3.0 or later, then set the new `maxToolInputElements` option on `McpServer` (off by default), for example `new McpServer(info, { maxToolInputElements: 10_000 })`. Also lower the request size limit with `maxRequestBodySize` on the transport or `createMcpHandler()`, or the body parser's limit if the body is parsed manually. If upgrading is not possible yet, set `maxRequestBodySize`, which requires `@modelcontextprotocol/sdk` 1.30.1 or `@modelcontextprotocol/server` 2.1.0, or use a reverse proxy.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-46jr-4wx8-v453","publishedAt":"2026-10-20T20:06:35.000Z","cveId":"CVE-2026-111768","cweIds":["CWE-770"],"cvssScore":"7.5","cvssSeverity":"high","severity":"high","attackType":["denial_of_service"],"issueType":"vulnerability","affectedPackages":["@modelcontextprotocol/server@>= 2.0.0, < 2.3.0 (fixed: 2.3.0)","@modelcontextprotocol/sdk@>= 1.3.0, < 1.32.0 (fixed: 1.32.0)"],"affectedPackageNames":["@modelcontextprotocol/server","@modelcontextprotocol/sdk"],"affectedPackageRefs":["npm:@modelcontextprotocol/server","npm:@modelcontextprotocol/sdk"],"affectedVendors":["Anthropic"],"affectedVendorsRaw":["MCP TypeScript SDK"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"network","attackComplexity":"low","privilegesRequired":"none","userInteraction":"none","exploitMaturity":"unknown","epssScore":0.0061,"epssPercentile":0.50702,"epssCheckedAt":"2026-12-03T19:41:03.925Z","epssHistory":[["2026-11-06",0.00598],["2026-11-07",0.00598],["2026-11-08",0.00598],["2026-11-09",0.00598],["2026-11-10",0.00598],["2026-11-11",0.00598],["2026-11-12",0.00598],["2026-11-13",0.00598],["2026-11-14",0.00598],["2026-11-15",0.00598],["2026-11-16",0.00598],["2026-11-17",0.00598],["2026-11-18",0.00598],["2026-11-19",0.00598],["2026-11-20",0.00598],["2026-11-21",0.00598],["2026-11-22",0.00598],["2026-11-23",0.00598],["2026-11-24",0.00598],["2026-11-25",0.007],["2026-11-26",0.007],["2026-11-27",0.007],["2026-11-28",0.007],["2026-11-29",0.007],["2026-11-30",0.007],["2026-12-01",0.0061],["2026-12-02",0.0061],["2026-12-03",0.0061]],"epss30dChange":null,"exploitUrls":null,"patchCommitUrls":["https://github.com/modelcontextprotocol/typescript-sdk/commit/6d8dbc6cb590edf766fcb66b636ca6b654e99c37","https://github.com/modelcontextprotocol/typescript-sdk/commit/fd26801b3b387742fe24a90ed4b275dd6072209f","https://github.com/modelcontextprotocol/typescript-sdk/pull/2926","https://github.com/modelcontextprotocol/typescript-sdk/pull/2927"],"ssvcExploitation":"none","nvdStatus":"Awaiting Analysis","referencesCheckedAt":"2026-12-02T20:54:16.462Z","kevDateAdded":null,"advisoryAliases":["GHSA-46jr-4wx8-v453"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-10-20T20:06:35.000Z","fixReleasedAt":"2026-10-02T17:32:51.427Z","daysToFix":-18,"fixCheckedAt":"2026-10-29T21:29:09.409Z","capecIds":["CAPEC-130"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["availability"],"aiComponentTargeted":"api","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":["AML.T0029"],"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":["cvss_score","cvss_vector","cwe_ids"],"fixedVersions":["@modelcontextprotocol/server@2.3.0","@modelcontextprotocol/sdk@1.32.0"],"affectedPurls":["pkg:npm/%40modelcontextprotocol/sdk","pkg:npm/%40modelcontextprotocol/server"],"owaspLlmIds":["LLM10:2025"],"doi":null,"arxivId":null,"hasPublicExploit":false,"timeline":[{"event":"fix_released","date":"2026-10-02","source":"package_registry"},{"event":"published","date":"2026-10-20","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[{"ecosystem":"npm","name":"@modelcontextprotocol/server","fixedVersion":"2.3.0","matchedVersion":"2.3.0","fixReleasedAt":"2026-10-02T17:48:29.517Z","daysToFix":-18,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:29:09.262Z"},{"ecosystem":"npm","name":"@modelcontextprotocol/sdk","fixedVersion":"1.32.0","matchedVersion":"1.32.0","fixReleasedAt":"2026-10-02T17:32:51.427Z","daysToFix":-18,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:29:09.262Z"}]}}