Next.js November 2026 Security Release: Upgrade to 16.4.5 or 15.5.29 for Seven Cache and Edge Fixes
What Shipped on November 3?
On October 27 the Next.js team gave advance notice of a scheduled November security release. It landed on Tuesday, November 3, 2026. The November 2026 Security Release ships fixes in two release lines:
- Next.js 16.4.5 (Active LTS)
- Next.js 15.5.29 (Maintenance LTS)
npm install next@16.4.5 # if you are on 16.x
npm install next@15.5.29 # if you are on 15.5
This is the third Next.js security drop I have covered in a month, after 16.4 and the October 14 update. If you only have five minutes, run the right command, redeploy, and come back for the details.
One thing changed between the notice and the release. The October 27 post said the release would fix "seven medium vulnerabilities." The final post lists seven issues, but rates one of them High. Plan for that one first.
The Seven Issues at a Glance
Six of the seven issues have a GitHub advisory linked from the release post. CVE IDs below are from those advisory pages.
| Advisory | Severity | Area | Affected versions (per advisory) |
|---|---|---|---|
GHSA-mfr8-8qww-v76h (CVE-2026-119790): cross-tenant cache disclosure with unstable_cache + use cache |
High | Cache Components | >= 16.3.0 |
GHSA-vc7v-qv4w-wrv8 (CVE-2026-119351): cross-root-parameter disclosure in nested use cache |
Medium | Cache Components | >= 16.2.0 |
GHSA-rhh4-g77r-r9qj (CVE-2026-119349): cache disclosure and poisoning through binary use cache arguments |
Medium | Cache Components | >= 16.0.0, <= 16.4.2 |
| Shared shell cache poisoning in self-hosted apps (no advisory linked in the post) | Medium | next start + Cache Components |
Not stated |
| GHSA-pc58-hwjq-p385 (CVE-2026-119348): response injection through stale compressed response framing | Medium | Self-hosted, behind HTTP/1.1 proxies | Range on the advisory is unclear |
| GHSA-f3mh-rxg3-f5g2 (CVE-2026-119346): cookie values exposed in an internal header on Edge routes | Medium | Edge Route Handlers / Edge API routes | 16.0.0–16.4.2, 15.0.0–15.5.28 |
| GHSA-7qx7-33qx-rqx2 (CVE-2026-119347): SVG rejection bypass in Image Optimization | Medium | next/image optimizer |
16.0.0–16.4.2, 15.0.0–15.5.28 |
A note on the advisory pages: when I checked them, most showed "None" in the "Patched versions" field, and one listed 16.4.2. The release post is the clearest guide, and it names 16.4.5 and 15.5.29. Upgrade to those and don't try to cherry-pick an older patch.
Four of the seven issues are about Cache Components and use cache. Since Next.js 16.4 the team recommends Cache Components for every app, so expect more 16.x projects to be in scope as teams adopt it. Apps that never enabled Cache Components are not affected by those four.
1. Cross-Tenant Cache Disclosure (High)
This is the one to read closely if you run a multi-tenant app.
According to the release post, apps with Cache Components can leak cached content across root-parameter values when the same public use cache function is called both directly and from inside unstable_cache, and that function reads a root parameter such as a tenant ID.
During a cold cache fill, a concurrent call through unstable_cache can get another request's result without checking its root parameters. That result can then be stored and served to later callers until it is revalidated or evicted. Where root parameters separate tenants, "the result can contain another tenant's data."
Workaround if you can't upgrade today: the advisory says to stop calling a 'use cache' function through unstable_cache(). Outside the race, that nesting already throws an error, and the advisory calls avoiding it "a complete workaround." A quick search will show whether you do this:
grep -rn "unstable_cache" app/ src/ lib/ 2>/dev/null
Check each hit to see if the wrapped function, or anything it calls, has a 'use cache' directive.
2. The Other Three Cache Components Bugs (Medium)
- Nested
use cachewith root parameters. If an inner cached function reads a root parameter and returns an early value alongside a slower async value, and the outer function finishes without waiting for the slow value, the outer entry can be stored before the inner dependencies are recorded. The result: tenant-, site- or locale-specific content can be served across that boundary. The post notes an attacker "does not inject arbitrary response content"; the app's own content is reused in the wrong place. - Binary arguments to
use cache. Distinct binary arguments can produce the same cache identity. If you pass binary values (for example, buffers or typed arrays) to tell users or accounts apart, one caller can receive another user's result, or poison it. The post says this "does not permit arbitrary access to unrelated cache entries." - Shared shell poisoning (self-hosted only). This affects
next startwith Cache Components on and Partial Prefetching disabled or unset. A crafted URL can store request-specific values in a page shell used by other URLs, causing wrong content or persistent 404s. The route shape is narrow: a prerenderable dynamic parameter requested with a value not built at build time, at least two deeper parameters that are never prerendered, a blocking fallback shell, and a layout that reads the shallower of those deeper parameters inside a Suspense boundary. The post says setups with Partial Prefetching enabled were not affected in the reported tests.
What to check
- Do any cached functions read root params (tenant, site, locale)? Those are the ones these bugs can cross.
- Do you pass
Uint8Array,ArrayBufferor similar values intouse cachefunctions as keys? Switch to a string ID if you can. - Are you self-hosting with
next start? You are in scope for the shell bug and the next one.
3. Response Injection Behind HTTP/1.1 Proxies (Medium)
Self-hosted apps that return an attacker-controlled fetched Response unchanged can forward decompressed body bytes with the original compressed response's framing headers. Behind an HTTP/1.1 reverse proxy that queues pipelined requests on a shared backend connection, responses can then go to the wrong clients.
The post is clear that this "does not apply to every reverse-proxy configuration." Still, the pattern below is common in proxy-style route handlers, so look for it:
// app/api/proxy/route.ts: the risky shape
export async function GET(req: Request) {
const upstream = await fetch(someUserControlledUrl);
return upstream; // returned unchanged
}
After upgrading, it is still a good idea not to pass a raw upstream Response straight through. Copy the body and only the headers you need.
4. Cookie Values Leaked on Edge Routes (Medium)
App Router Edge Route Handlers and Pages Router Edge API routes that set cookies with NextResponse.cookies.set() can expose the serialized cookie in the internal x-middleware-set-cookie response header. Unlike Set-Cookie, that header can be read by same-origin JavaScript, so even HttpOnly cookies are exposed.
Exploiting it needs attacker-controlled JavaScript already running on your origin, so it is not a way in on its own. The post says the reproduced leak did not affect Node.js Route Handlers or routes using cookies().set(). If you set session cookies from Edge routes, treat this as a priority.
5. SVG Bypass in Image Optimization (Medium)
An attacker-controlled image from an allowed source can be misclassified as AVIF and slip past images.dangerouslyAllowSVG: false. The optimizer can then decode the original bytes as SVG. Your remotePatterns allowlist still applies, and the issue needs a native image backend that can decode SVG. The post says it raises exposure to SVG parser bugs and resource exhaustion, but does not itself show XSS or remote code execution.
This is the second SVG-related image optimizer fix in a month. If you allow images from broad hosts (for example, a whole CDN or user-upload bucket), narrow remotePatterns to the paths you actually need.
Upgrade Checklist
- Upgrade.
next@16.4.5on 16.x,next@15.5.29on 15.5. Commit the lockfile. - Rebuild and redeploy. Clear any persistent cache handler data if you use one, so entries filled before the fix don't keep being served. The High issue describes poisoned entries living "until the entry is revalidated or evicted."
- Search for
unstable_cachewrappinguse cachefunctions. Remove that nesting either way; it already throws outside the race. - Self-hosting? Review proxy-style route handlers and check whether your reverse proxy pipelines HTTP/1.1 requests to the Node server.
- Edge routes setting cookies? Make sure you are patched before your next release.
- Scanners. Search for both the GHSA and CVE IDs above; tools may index one before the other.
