Next.js: Cache leak across root param values in nested 'use cache' functions via delayed inner stream metadata
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| 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…
该漏洞的 VulnPulse 解读Next.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
2026/11/18 01:13,GitHub Advisory Database 发布了“Next.js: Cache leak across root param values in nested 'use cache' functions via delayed inner stream metadata”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:JavaScript / Node.js、Next.js、React。CVE:CVE-2026-119351。