Next.js November 2026 security release: cross-tenant cache disclosure in `use cache` — update to 16.4.5 / 15.5.29
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 November 2026 security release (2026-11-03)
As of: 2026-11-07 · Source: November 2026 Security Release (announced 2026-10-27). Fixed versions: 16.4.5 (Active LTS) and 15.5.29 (Maintenance LTS); npm confirms both as current on 2026-11-07.
| Severity | Issue | Who is affected |
|---|---|---|
| High | GHSA-mfr8-8qww-v76h cross-tenant cache disclosure when one public use cache function is called both directly and from unstable_cache | Cache Components on, function reads a root parameter (e.g. tenant id): one request can get another's result and the cache stores it |
| Medium | GHSA-vc7v-qv4w-wrv8 nested use cache serves content for one root-parameter value to another | Cache Components, inner function reads a root param and returns an early value |
| Medium | GHSA-rhh4-g77r-r9qj distinct binary arguments to use cache share a cache identity | Apps that use binary args to separate users |
| Medium | Shared shell cache poisoning (no GHSA listed) via crafted URL | Self-hosted next start, Cache Components on, Partial Prefetching off/unset |
| Medium | GHSA-pc58-hwjq-p385 stale compressed-response framing can swap responses between clients | Self-hosted, returns a fetched Response unchanged, behind an HTTP/1.1 proxy that queues pipelined requests |
| Medium | GHSA-f3mh-rxg3-f5g2 x-middleware-set-cookie header exposes cookie values (even HttpOnly) to same-origin JS | Edge Route Handlers / Pages Router Edge API routes using NextResponse.cookies.set() |
| Medium | GHSA-7qx7-33qx-rqx2 SVG rejection bypass in Image Optimization (dangerouslyAllowSVG: false) | Images from an allowed source, native backend that can decode SVG |
npm install [email protected] # for 16.x
npm install [email protected] # for 15.5
The cache issues only apply with Cache Components / use cache; Next.js 16.4 makes that the default for new apps (see Next.js 16.4). Earlier fixes: October 2026 update.