## Next.js: Cache leak across root param values in nested 'use cache' functions via delayed inner stream metadata

- 種別: advisory
- 重大度: medium
- 関連技術: nodejs, nextjs, react
- CVE: CVE-2026-119351
- 公開日時: 2026-11-17T16:13:26.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-vc7v-qv4w-wrv8)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-vc7v-qv4w-wrv8

影響: 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…