← All advisories

GHSA-673q-mjm6-r5xrcriticalCode execution2026-10-14

Next.js ‘use cache’ remote code execution via typed arrays

Next.js 16 apps using the App Router with Cache Components can be open to unauthenticated remote code execution when a ‘use cache’ function returns multiple typed arrays. There is no workaround; upgrade to 16.4.1.

01.

What it is

Next.js security release, 14 October 2026: “A vulnerability in applications using App Router with Cache Components can lead to unauthenticated remote code execution when a `use cache` function returns multiple typed arrays.”

Vercel says there is no known workaround and to “upgrade immediately even if your application does not have similar functions.” The related upstream React advisory is GHSA-xqc2-xf4c-x3h3.

No CVE ID had been published for this advisory at the time of writing.

02.

How to check

  1. Affected: next (npm) 16.0.0 through 16.4.0.
  2. You’re exposed if you use the App Router with Cache Components and a ‘use cache’ function returns typed arrays (Uint8Array, Float32Array and so on), but Vercel says to upgrade either way.
03.

How to fix

  1. Upgrade next to 16.4.1 or later.
npm ls next
npm install [email protected]
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.