Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @modelcontextprotocol/sdk
  4. ›
  5. CVE-2026-111768

CVE-2026-111768: MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation

October 20, 2026

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.

References

  • github.com/advisories/GHSA-46jr-4wx8-v453
  • github.com/modelcontextprotocol/typescript-sdk/commit/6d8dbc6cb590edf766fcb66b636ca6b654e99c37
  • github.com/modelcontextprotocol/typescript-sdk/commit/fd26801b3b387742fe24a90ed4b275dd6072209f
  • github.com/modelcontextprotocol/typescript-sdk/pull/2926
  • github.com/modelcontextprotocol/typescript-sdk/pull/2927
  • github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-46jr-4wx8-v453
  • nvd.nist.gov/vuln/detail/CVE-2026-111768

Code Behaviors & Features

Detect and mitigate CVE-2026-111768 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.3.0 before 1.32.0

Fixed versions

  • 1.32.0

Solution

Upgrade to version 1.32.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/@modelcontextprotocol/sdk/CVE-2026-111768.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 21 Oct 2026 00:15:56 +0000.