Next.js: Cache leak across root param values in nested 'use cache' functions via delayed inner stream metadata
CVE-2026-119351Published 16 Nov 2026, 18:27 UTC
Real-world risk
1.1/ 10Low
Routine
If the vulnerable configuration applies to you: 2.6
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
Next.js is a React framework for building full-stack web applications. From 16.2.0 until 16.4.5, Next.js applications with Cache Components enabled can reuse an outer 'use cache' entry across root param values when a nested 'use cache' call reads a root param through next/root-params and returns a value containing pending promises. React Flight can deliver the ready portion to the outer function before the inner cache finishes publishing its root-param dependencies. The outer entry can then complete and be persisted under a key that omits the root param, causing the first written value to be served for other root param values and allowing the outer entry to ignore nested cache tag invalidation and lifetimes. The leaked value is not attacker controlled and depends on which invocation writes the entry first. This variant does not require an existing inner cache entry or a slow cache handler and is not covered by the fix for CVE-2026-103004. This issue is fixed in version 16.4.5.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Next.jsUbiquitous | >= 16.2.0, < 16.4.5 | 16.4.5 |
What to do
Update to a fixed version: 16.4.5.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 27), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.450
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.45 × threat 0.851.147
- Rounded to one decimal between 0.1 and 101.1
Exploitation and evidence timeline
- 16 Nov 2026 Published
- 3 Dec 2026 Risk 1.1 (cvss fallback)
Weakness
CWE-362
References
- https://github.com/vercel/next.js/security/advisories/GHSA-vc7v-qv4w-wrv8vendor-advisory
- https://github.com/vercel/next.js/commit/80c96ede21798d4ad54da12fe50d5b00a09b06e3misc
- https://github.com/vercel/next.js/releases/tag/v16.4.5misc
- https://nextjs.org/blog/november-2026-security-releasemisc
- CVE-2026-119351 on CVE.org