← Vulnerabilities

ReleaseNext.jsJavaScript / Node.js

November 2026 Security Release

VulnPulse explainer

Next.js 16.4.5 and 15.5.29 fix seven flaws, most of them caches serving one tenant's or user's content to another

On November 3 the Next.js team shipped 16.4.5 and 15.5.29 to fix seven vulnerabilities. More than half come from how Cache Components (use cache) builds cache keys, which can let content made for one user or tenant be returned to someone else.

Contents
  1. Who is affected
  2. In plain words
  3. How it works
  4. How the attack unfolds
  5. What to do
  6. Not yet known
  7. Sources

Who is affected

Teams that build or run apps on Next.js. Going by the version ranges in the GitHub advisories, the 16.x line can be hit by all seven. Only three list 15.x as affected: the Edge-route cookie issue, the image optimizer SVG issue, and the one about passing a fetched response straight through. The four cache issues only matter for apps using Cache Components or use cache. The SVG issue, the fetched-response issue and one of the cache issues assume a self-hosted deployment.

In plain words

Picture a kitchen that labels pre-made lunch boxes by part of the order instead of by who ordered it. Under the right timing, a box packed for one customer lands on another customer's shelf and keeps being handed out until someone clears it.

How it works

A cache finds stored results by a key that should describe exactly which inputs produced them. The four cache issues are cases where part of that key goes missing or different inputs end up with the same key. Two are timing problems where an entry is saved before its root params (the root layout's route parameters, often used to separate tenants or locales) have been recorded in the key. One is that binary arguments such as a Uint8Array can map different values to the same key. The last lets a single crafted URL write request-specific values, or a 404, into a page shell that many URLs share. Of the other three: on Edge routes, setting a cookie also copies its value into an internal response header that same-origin JavaScript can read, even for HttpOnly cookies; passing a fetched response through unchanged can leave its framing headers out of step with the body, which can mix up responses between clients when an HTTP/1.1 reverse proxy sits in front; and an image disguised as AVIF can get past the setting that blocks SVG.

How the attack unfolds

  1. Shared shell issue: without logging in, an attacker sends one crafted URL to a route that matches the conditions
  2. The server renders a layout with a value from that request and stores the result as a shell that many URLs share
  3. Visitors to pages that use that shell then get altered content or a 404; the advisory says a stored 404 even survives a server restart
  4. In the cache-key issues (timing and binary arguments), the attacker does not necessarily pick the content; whoever's result is stored first can be served to others, which is how data leaks

What to do

  • Developers on Next.js: move 16.x apps to 16.4.5 and 15.x apps to 15.5.29. These are the two fixed releases named in the announcement
  • If you cannot upgrade right away: for the shared shell issue, the advisory's workaround is setting partialPrefetching to true in next.config. For the unstable_cache issue, the advisory says not nesting a use cache function inside unstable_cache avoids it
  • Operators who split tenants or locales by root params: the advisory says wrongly stored entries stay until they are revalidated or evicted, so after upgrading, also decide what to do with entries already in the cache
  • Self-hosted apps that relay fetched responses unchanged and sit behind a proxy speaking HTTP/1.1: upgrade first

Not yet known

  • The severity labels disagree. The Next.js post calls the unstable_cache plus use cache issue High, while its GitHub advisory (GHSA-mfr8-8qww-v76h) rates it Medium at CVSS v4 6.3. All seven advisories are rated Medium, between 6.0 and 6.9
  • The patched-version fields in most advisories are empty, and one says 16.4.2, which does not match the 16.4.5 in the announcement. This explainer follows the announcement for fixed versions
  • The advisory for the fetched-response issue also lists versions below 16.0.0, but the announcement only names 15.5.29 and 16.4.5; no fix is offered for lines older than 15
  • As of November 6, neither the announcement nor the advisories mention exploitation in the wild

Sources

Written in our own words by VulnPulse from the original article and public sources. Check the sources for authoritative details. Updated:

Original notice (source text)

The November 2026 security release for Next.js is now available

Read on Next.js Blog

On 11/04/2026, 03:00 AM, Next.js Blog published "November 2026 Security Release" (type: Release). Related technologies: Next.js, JavaScript / Node.js.