{"vuln_id":"CVE-2026-103004","aliases":[],"description":"Next.js versions from 16.3.0 to 16.3.7 warm `use cache` handlers using `next/root-params` and can leak their return value to pages with different root params. With Cache Components enabled (cacheComponents: true), a 'use cache' function that calls another 'use cache' function that reads a root param can be keyed incorrectly when the inner call is served from an existing entry: the enclosing function's cache key then omits that root param. The enclosing 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 — whether the page is prerendered at build time or at runtime, or rendered dynamically. Shared cache headers let downstream caches redistribute the content further.\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 has been patched in 16.3.8.","published_at":"2026-10-01T15:17:25.877000Z","modified_at":"2026-10-05T15:01:42.313000Z","first_seen_at":"2026-11-21T19:15:49.092354Z","severity":"medium","severity_source":"nvd","cvss_score":6.3,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-524"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.0025,"epss_percentile":0.16469,"nvd_status":"Analyzed","enriched_at":"2026-11-22T11:46:11.955794Z","links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-103004"},"matched_alias":null,"items":[{"id":6230,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-119351: Next.js is a React framework for building full-stack web applications. From 16.2.0 until 16.4.5, Next.js applications with Cache Components enabled can reuse a…","summary":"Next.js is a React framework for building full-stack web applications. From 16.2.0 until 16.4.5, Next.js applications with Cache Components enabled can reuse an outer 'use cache' entry across root param values when a nested 'use cache' call reads a root param through next/root-params and returns a value containing pending promises. React Flight can deliver the ready portion to the outer function before the inner cache finishes publishing its root-param dependencies. The outer entry can then complete and be persisted under a key that omits the root param, causing the first written value to be served for other root param values and allowing the outer entry to ignore nested cache tag invalidation and lifetimes. The leaked value is not attacker controlled and depends on which invocation writes the entry first. This variant does not require an existing inner cache entry or a slow cache handler and is not covered by the fix for CVE-2026-103004. This issue is fixed in version 16.4.5.\n\nReferences:\nhttps://github.com/vercel/next.js/commit/80c96ede21798d4ad54da12fe50d5b00a09b06e3\nhttps://github.com/vercel/next.js/releases/tag/v16.4.5\nhttps://github.com/vercel/next.js/security/advisories/GHSA-vc7v-qv4w-wrv8\nhttps://nextjs.org/blog/november-2026-security-release","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119351","published_at":"2026-11-16T19:17:27.350000Z","updated_at":"2026-11-18T18:18:34.137000Z","fetched_at":"2026-11-21T19:15:31.482004Z","severity":"medium","cvss_score":6.3,"epss":0.0025,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-119351","vuln_ids":["CVE-2026-103004","CVE-2026-119351","GHSA-H694-7CP9-M8P3","GHSA-VC7V-QV4W-WRV8"],"tags":["CWE-362"],"cluster_id":1402,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/6230","html":"https://vulnwatch.ve1ve2.com/item/6230"}}]}