{"id":"CVE-2026-119351","aliases":["GHSA-vc7v-qv4w-wrv8"],"url":"https://o3.security/vulnerability/CVE-2026-119351","summary":"Next.js: Cache leak across root param values in nested 'use cache' functions via delayed inner stream metadata","details":"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 outer function can then finish, and its cache entry is persisted under a key that omits that root param. The entry is written once and reused for all root param values, so a response for one root param value can serve content produced for a different value. Entries written this way can also ignore tag invalidation and cache lifetimes of the nested caches they consumed.\n\nWhat values are leaked cannot be attacker controlled. Which value's content is served depends only on which invocation wrote the entry first.\n\nThis is a variant of https://github.com/advisories/GHSA-h694-7cp9-m8p3 that the fix for that advisory does not cover: it does not require the inner call to be served from an existing entry, and it does not depend on a slow cache handler.","published":"2026-11-16T18:27:43.696Z","modified":"2026-11-17T21:00:35.826508165Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"next","fixedVersion":"16.4.5"}],"fix":{"url":"https://github.com/vercel/next.js/commit/80c96ede21798d4ad54da12fe50d5b00a09b06e3","label":"vercel/next.js@80c96ed"},"references":[{"type":"WEB","url":"https://github.com/vercel/next.js/releases/tag/v16.4.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119351.json"},{"type":"ADVISORY","url":"https://github.com/vercel/next.js/security/advisories/GHSA-vc7v-qv4w-wrv8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119351"},{"type":"FIX","url":"https://github.com/vercel/next.js/commit/80c96ede21798d4ad54da12fe50d5b00a09b06e3"},{"type":"ARTICLE","url":"https://nextjs.org/blog/november-2026-security-release"},{"type":"PACKAGE","url":"https://github.com/vercel/next.js"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-11-17T21:00:35.826508165Z"}}