← 漏洞与更新

中危漏洞公告JavaScript / Node.jsNext.jsReact

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.416.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…

在 GitHub Advisory Database 阅读

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。