Next.js: Cache leak across root param values in nested 'use cache' functions via delayed inner stream metadata
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| npm:next | >= 16.2.0, <= 16.4.4 | 16.4.5 |
With Cache Components enabled, an outer 'use cache' function can be keyed incorrectly even when its inner 'use cache' call generates a fresh entry. If the inner function reads a root param (via next/root-params) and returns a value that still contains pending promises — for example an object with data that is ready immediately alongside slower data — React Flight delivers the ready portion to the outer function before the inner entry has finished publishing its root param dependencies. The oute…
Read on GitHub Advisory Database
VulnPulse explainer for this vulnerabilityNext.js 16.4.5 and 15.5.29 fix seven flaws, most of them caches serving one tenant's or user's content to another
On 11/18/2026, 01:13 AM, GitHub Advisory Database published "Next.js: Cache leak across root param values in nested 'use cache' functions via delayed inner stream metadata" (type: Advisory). Severity is "Medium" (medium). Related technologies: JavaScript / Node.js, Next.js, React. CVE: CVE-2026-119351.