← 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 next@16.4.1
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

New advisories, CVEs and fixes for Lovable, Bolt, v0, Replit, Base44 and Cursor apps. No roundups of things you already read.

Free. The list is new, so the first issues go out once there are readers. Unsubscribe from any email in one click. We never sell or share addresses.