Skip to content

Supabase's October 30 change: new public tables need a grant for Data API access. What to doSupabase's October 30 change is live: new public tables need a grant for Data API access. What broke and how to fix it

25 tools · 142 fixes · 43 issue guides · Sources: Supabase, GitHub, Vercel, postgresql.org + 56

Incident feed

Am I affected by CVE-2026-111768? One HTTP request can exhaust MCP TypeScript SDK memory

On October 15, 2026, the MCP TypeScript SDK published GHSA-46jr-4wx8-v453 and GHSA-f897-62hf-6gxq. One HTTP request can exhaust memory while a server validates unbounded arrays and object keys, or from an unlimited POST body or JSON-RPC batch. The version data lists fixes in @modelcontextprotocol/sdk 1.32.0 and 1.30.1, and in the 2.x server, node, and hono packages.

Share link · Share on X

Denial of servicenpm

What was reported

On October 15, 2026 the MCP TypeScript SDK published two High advisories for servers reachable over HTTP. In GHSA-46jr-4wx8-v453, 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.

Am I affected?

Yes, if your server runs an affected version and clients you do not fully trust can reach it over HTTP. The advisory says the risk is highest for McpServer tools whose input contains an array or a record, and that stdio-only servers are not affected. No credentials are needed, unless requests are authenticated before they reach the SDK.

  • @modelcontextprotocol/sdk (1.x): >= 1.3.0, < 1.32.0, fixed in 1.32.0.
  • @modelcontextprotocol/server (2.x): >= 2.0.0, < 2.3.0, fixed in 2.3.0.
  • CVE: GitHub lists CVE-2026-111768 on the advisory. As of October 28, 2026 (Pacific time), NVD and CVE.org have no record for that ID.
  • Severity: High, CVSS 3.1 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, CWE-770.

Those ranges are the advisory's version data. The advisory text says @modelcontextprotocol/sdk 1.3.0 through 1.31.0 and @modelcontextprotocol/server 2.0.0 through 2.2.0. This note uses the version data for the affected range.

To see which versions a project has installed, run npm ls @modelcontextprotocol/sdk @modelcontextprotocol/server in its folder.

GHSA-f897-62hf-6gxq, the second advisory, has different affected versions and packages. It has its own section below.

How do I fix it?

Upgrade, then turn the new limit on. For 1.x, run npm install @modelcontextprotocol/sdk@^1.32.0. For 2.x, run npm install @modelcontextprotocol/server@^2.3.0. If @modelcontextprotocol/node or @modelcontextprotocol/hono is installed, GHSA-f897-62hf-6gxq lists their fixes in 2.1.0 and 2.0.1.

The advisory says upgrading alone changes nothing. The patched versions add an McpServer option, maxToolInputElements, that is off by default. Set it just above the largest input the tools need. This is the example from the official docs for 2.x and 1.x:

const server = new McpServer({ name: 'my-server', version: '1.0.0' }, { maxToolInputElements: 10_000 });

The advisory's own example is new McpServer(info, { maxToolInputElements: 10_000 }). The option counts array elements and object keys in a call's arguments, and a call over the limit gets an isError: true result.

Then lower the request size limit to what the tools need. The docs say the transport's maxRequestBodySize is 4 MiB by default and is the primary limit on request size. Set it on the transport or createMcpHandler(), because maxToolInputElements covers tool arguments only. If the app parses the body itself, for example with express.json() or Fastify, set that parser's limit. The advisory says maxRequestBodySize needs @modelcontextprotocol/sdk 1.30.1 or @modelcontextprotocol/server 2.1.0, and that below that a reverse proxy is the option if you cannot upgrade.

Read the @modelcontextprotocol/server changelog before upgrading a 2.x server, because 2.3.0 lists other changes. In #2918, a Server or McpServer now serves one connection at a time, and a Streamable HTTP server transport without sessions serves one request. The changelog says an app that uses one server object, or one stateless transport, for every HTTP request fails on the second request after this upgrade, and to build the server and the transport per request instead.

GHSA-f897-62hf-6gxq: request body and batch limits

GHSA-f897-62hf-6gxq says MCP servers reachable over HTTP put no limit on the size of a POST body or on the number of messages in a JSON-RPC batch. Large requests could exhaust the server's memory, and one long batch could block the server from serving anyone else. No credentials were needed, unless the application authenticates requests before they reach the SDK. The advisory says a body parser such as express.json() does not limit batch length, and that servers that only use stdio are not affected. It rates the issue High, CVSS 3.1 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, and names CWE-770. It lists no CVE ID.

The advisory's version data lists @modelcontextprotocol/sdk at >= 1.10.0, < 1.30.1, patched in 1.30.1; @modelcontextprotocol/server at >= 2.0.0, < 2.1.0, patched in 2.1.0; @modelcontextprotocol/node at >= 2.0.0, < 2.1.0, patched in 2.1.0; and @modelcontextprotocol/hono at >= 2.0.0, < 2.0.1, patched in 2.0.1. The advisory text says @modelcontextprotocol/sdk 1.10.0 through 1.30.0, @modelcontextprotocol/server 2.0.0, @modelcontextprotocol/node 2.0.0, and @modelcontextprotocol/hono 2.0.0. This note uses the version data for the affected range. After the fix, bodies over 4 MiB get 413, and batches over 100 messages get 400. The advisory says to raise maxRequestBodySize if clients send larger bodies, and to upgrade every 2.x package that is installed. If you cannot upgrade yet, the advisory says to cap request body size in a reverse proxy.

How to prevent it

Upgrade @modelcontextprotocol/sdk to 1.32.0 or later, @modelcontextprotocol/server to 2.3.0 or later, @modelcontextprotocol/node to 2.1.0 or later, and @modelcontextprotocol/hono to 2.0.1 or later. GHSA-f897-62hf-6gxq's version data lists the fixes as sdk 1.30.1, server 2.1.0, node 2.1.0, and hono 2.0.1, so upgrading only server leaves node and hono exposed. Set maxToolInputElements on McpServer plus maxRequestBodySize on the transport. The advisory says upgrading alone does not turn on the new input limit.

Sources

Related

The weekly fix

The weekly fix: 3 real security mistakes in vibe-coded apps and how to fix them, every Tuesday.

One email, every Tuesday. A welcome note follows the first signup.