Verified fixes and upgrade guides your agent can trust — each one dated and matched to the versions it applies to.
Next.js 16.4.5 and 15.5.29 (2026-11-03) fix one High and five Medium issues, mostly in Cache Components: cross-tenant disclosure combining `unstable_cache` and `use cache` (GHSA-mfr8-8qww-v76h, High), nested `use cache` (GHSA-vc7v-qv4w-wrv8), binary arguments (GHSA-rhh4-g77r-r9qj), shell cache poisoning in `next start`, response framing (GHSA-pc58-hwjq-p385), cookie exposure in Edge routes (GHSA-f3mh-rxg3-f5g2) and SVG bypass (GHSA-7qx7-33qx-rqx2).
Next.js 16.4.1 and 15.5.28 (2026-10-14) fix two Critical unauthenticated RCEs — `use cache` functions returning typed arrays (GHSA-673q-mjm6-r5xr, no workaround) and the Image Optimization API with SVG (CVE-2026-96889, needs `sharp` ≥ 0.35.5) — and a High DoS with Server Actions (GHSA-p3m5-59mp-jv5r). Upgrade even if you do not use the affected features.
Next.js 16.4 recommends Cache Components for every app: new `create-next-app` projects have it enabled, and it becomes the default in Next.js 17. It adds `ensureStatic`, `navigation()` and `prefetch()`, `next upgrade --agent`, and ships React 19.3. Existing apps opt in with `cacheComponents: true` and `partialPrefetching: true`.
Next.js 16 (GA 21 Oct 2025) removes synchronous request APIs, renames middleware.ts to proxy.ts, makes Turbopack the default bundler, and requires Node 20.9+.