Mohsin Nawaz®

Next.js November 2026 Security Release: What to Actually Check Before You Patch

Next.js patched 7 vulnerabilities on Nov 3, 2026, one High-severity cross-tenant cache leak. Here's which apply to your setup and how to patch and verify.

By 6 min read

  • Next.js
  • Security
  • Cache Components
  • Web Development
Developer reviewing code against a checklist before applying a framework security patch
On this page
  1. All Seven Advisories at a Glance
  2. Are You Actually Exposed?
  3. The One That Matters Most: Cross-Tenant Cache Disclosure
  4. If You Self-Host: Two More to Know
  5. Two Narrower Ones
  6. How to Patch
  7. What to Check After Patching
  8. FAQ
  9. Do I need to patch immediately, or can this wait for a normal maintenance window?
  10. I'm not using Cache Components at all. Does any of this affect me?
  11. How do I know if my app actually uses Cache Components?
  12. Is seven advisories in one release unusual?
  13. Takeaway

Next.js shipped its scheduled November security release on November 3, 2026: one High-severity advisory and six Medium ones, patched in 16.4.5 (Active LTS) and 15.5.29 (Maintenance LTS). If you're running Next.js in production, the honest answer to "do I need to care" is: patch regardless, it's a one-line dependency bump, but whether any specific advisory actually threatens your app depends entirely on your configuration, Cache Components, self-hosting, Edge routes, remote image sources. Here's how to tell which ones apply to you before you panic or shrug this off.

All Seven Advisories at a Glance

Severity Issue Affected setup Advisory / CVE
High Cross-tenant cache disclosure (unstable_cache + use cache) Cache Components enabled, reads a root parameter GHSA-mfr8-8qww-v76h / CVE-2026-119790
Medium Cross-root-parameter leak in nested use cache Cache Components, nested public use cache functions GHSA-vc7v-qv4w-wrv8 / CVE-2026-119351
Medium Cache key collision via binary use cache arguments Apps passing binary args to distinguish users/accounts GHSA-rhh4-g77r-r9qj / CVE-2026-119349
Medium Shared shell cache poisoning Self-hosted (next start), Cache Components on, Partial Prefetching off GHSA-vvgp-ww4w-46vf / CVE-2026-119350
Medium Response injection via stale compressed framing Self-hosted behind an HTTP/1.1 pipelining reverse proxy GHSA-pc58-hwjq-p385 / CVE-2026-119348
Medium Cookie exposure via x-middleware-set-cookie Edge Route Handlers / Pages Router Edge API routes setting cookies GHSA-f3mh-rxg3-f5g2 / CVE-2026-119346
Medium SVG rejection bypass in Image Optimization Remote image sources allowlisted, images.dangerouslyAllowSVG: false GHSA-7qx7-33qx-rqx2 / CVE-2026-119347

Severity is as rated in the Next.js release notes. The GitHub Advisory Database lists all seven as Medium, so check which rating your own scanner uses before you triage by it.

Are You Actually Exposed?

  • Using Cache Components (cacheComponents: true in next.config.ts, or unstable_cache alongside use cache)? Three of the seven advisories apply to you directly, including the one High-severity issue.
  • Self-hosting with next start rather than deploying to Vercel or a similar platform? Two more apply, one only if you also use Cache Components, the other only behind a specific reverse-proxy setup.
  • Setting cookies from an Edge Route Handler or a Pages Router Edge API route? One applies.
  • Accepting remote images from allowlisted sources with images.dangerouslyAllowSVG: false set? The last one applies, and only with a native image optimization backend capable of decoding SVG.
  • None of the above? Patch anyway. Dependency hygiene matters even when nothing currently applies, since "currently" changes the moment you ship a new feature.

Whiteboard decision tree with one starting question branching into four checks, one path highlighted

I ran this exact check on the site you're reading. It's a Next.js App Router site with Cache Components off, no use cache or unstable_cache, no Edge routes, no middleware, no cookies set by the app, and only local images, so none of the seven applied. It was still on 16.2.11, below both patched lines, so I upgraded to 16.4.6 (the newest 16.x release at the time of writing) anyway. The build produced the same set of static pages before and after, every route still loaded, and nothing changed visually.

The One That Matters Most: Cross-Tenant Cache Disclosure

This is the only High-severity advisory in the batch, and it's worth understanding even if you don't think it applies to you. If your app has Cache Components enabled and calls the same public use cache function both directly and from inside unstable_cache, two requests racing to fill a cold cache entry can get crossed: a concurrent unstable_cache call can return another request's result without checking whether the root parameters, like a tenant ID, actually matched.

For a multi-tenant SaaS, a shared dashboard, a white-labeled storefront, anything where a route like /[tenant]/... gates what data a user sees, that's not a theoretical bug. It's one customer's cached data served to another customer, until the cache entry revalidates or gets evicted. If you built or maintain anything with per-tenant routing and Cache Components turned on, read the full advisory before anything else on this list.

If You Self-Host: Two More to Know

Shared shell cache poisoning (GHSA-vvgp-ww4w-46vf) hits self-hosted apps (next start) running Cache Components with Partial Prefetching off or unset. A specific route shape, a prerenderable dynamic parameter requested with a value not generated at build time, plus deeper parameters that are never prerendered, plus a layout reading one of those deeper parameters inside a Suspense boundary, lets an unauthenticated request poison a shared loading shell. The result is wrong content served to other URLs, or persistent 404s. In the reported tests, build-generated values and configurations with Partial Prefetching enabled weren't affected, so enabling it may reduce exposure, but the patch is the actual fix.

The compressed-response framing issue (GHSA-pc58-hwjq-p385) is narrower: it needs your app to forward an attacker-controlled fetched Response unchanged, and it needs an HTTP/1.1 reverse proxy that pipelines requests on a shared backend connection. If neither describes your setup, this one's low priority.

Two Narrower Ones

Cookie exposure (GHSA-f3mh-rxg3-f5g2) only hits Edge Route Handlers or Pages Router Edge API routes that set cookies with NextResponse.cookies.set(). The serialized cookie leaks into an internal x-middleware-set-cookie response header, which same-origin JavaScript can read, even for cookies marked HttpOnly. Node.js Route Handlers and routes setting cookies through cookies().set() weren't affected in Vercel's reproduction.

The SVG rejection bypass (GHSA-7qx7-33qx-rqx2) lets an image from an allowlisted remote source get misclassified as AVIF and decoded as SVG anyway, even with images.dangerouslyAllowSVG: false set. It doesn't bypass your source allowlist, and it doesn't itself prove XSS or RCE, but it does reopen exposure to SVG-parser vulnerabilities you thought you'd closed.

How to Patch

npm install next@16.4.5   # if you're on the 16.x line
# or
npm install next@15.5.29  # if you're on the 15.5 maintenance line

Laptop terminal window during a dependency upgrade, one line highlighted

Run your test suite before deploying. These are framework-internal fixes, not API changes, but Cache Components is young enough that behavior around cache keys can shift subtly. The release only ships fixes for 16.4.5 and 15.5.29. If you're on an earlier minor, such as 16.2 or 16.3, there is no patched build of your line: you have to move up to 16.4.5 or later, so read the upgrade notes for the minors in between before you bump.

What to Check After Patching

  • If you run multi-tenant routing with Cache Components, add a quick regression test: two different tenant IDs hitting the same cached route concurrently, asserting the response never crosses.
  • If you self-host, check whether Partial Prefetching is enabled (the release notes don't name the option, so check the Next.js docs for your version); if not, decide whether to enable it as defense in depth alongside the patch.
  • If you set cookies from Edge routes, grep for NextResponse.cookies.set() in Edge Route Handlers and Pages Router Edge API routes, and confirm nothing sensitive leaked into client-readable headers before the patch.
  • Re-check images.dangerouslyAllowSVG is still doing what you think it's doing, by confirming your image optimization backend's actual behavior post-patch, not just the config value.

FAQ

Do I need to patch immediately, or can this wait for a normal maintenance window?

Patch this week unless you have a specific reason not to. It's a dependency version bump, not a migration, and the one High-severity issue affects a real, common pattern: multi-tenant apps with Cache Components enabled.

I'm not using Cache Components at all. Does any of this affect me?

Four of the seven advisories require Cache Components, nested use cache, or binary cache arguments. If you haven't opted into cacheComponents: true or adopted use cache, those don't apply. The compressed-response, cookie and SVG issues are independent of Cache Components and worth checking regardless.

How do I know if my app actually uses Cache Components?

Check next.config.ts for cacheComponents: true, and grep your codebase for 'use cache' directives and unstable_cache imports. If neither appears, you're not exposed to the cache-related advisories.

Is seven advisories in one release unusual?

No. This was a scheduled, pre-announced release: Vercel published a notice on October 27, a week ahead, so teams could plan the upgrade. The volume reflects an actively maintained framework working with external researchers through Vercel's bug bounty program, not a sign the framework is unusually risky.

Takeaway

Patch to 16.4.5 or 15.5.29 this week regardless. Then spend fifteen minutes on the decision tree above, Cache Components, self-hosting, Edge cookies, remote SVG sources, to find out which of the seven actually touched your app, and fix your test coverage for the ones that did.

If you'd rather have someone run that check on your app, or handle the upgrade, web development covers the Next.js work I take on, or you can get in touch directly.

Keep reading