Every CVESearch/Get API key

CVE-2026-119351

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

Explain with AI
ChatGPTClaudeGoogle AI
Severity
6.3Medium
Network attack, no privileges, no user interactionCVSS 4.0, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
0.32% in 30 days
Percentile26th
EPSS, scored
Listed fix
16.4.5 for next
From GitHub Advisories and OSV8 other affected packages

Overview

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.

CVSS 4.0 vector

Exploitability

Attack vector
Network
Complexity
Low
Attack requirements
Present
Privileges needed
None
User interaction
None

Impact on the vulnerable system

Confidentiality
Low
Integrity
None
Availability
None

Impact on subsequent systems

Confidentiality
None
Integrity
None
Availability
None
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

Exploit chance over time

Up 0.1 points since Nov 17, 2026
EPSS score, scored every day from Nov 17, 2026 to Dec 4, 2026: lowest 0.24% on Nov 17, 2026, highest 0.40% on Nov 25, 2026, 0.32% on the last day.

Affected

Packages 9

Affected packages
PackageAffectedFixed
next
npm
16.2.0 to 16.4.4
16.4.5
16.2.0 up to 16.4.5
16.4.5
homepage-1
Docker Hardened Images:Debian:13
1.13.2-0 and later, plus listed versions
1.13.2-11.13.2-2
None listed
homepage-2
Docker Hardened Images:Debian:13
2.8.0-0 and later, plus listed versions
2.8.0-12.9.1-0
None listed
homepage
Docker Hardened Images:Debian:13
1.13.2-0 and later, plus listed versions
1.13.2-11.13.2-101.13.2-111.13.2-121.13.2-13
Show 41 more versionsShow less
1.13.2-141.13.2-151.13.2-161.13.2-171.13.2-181.13.2-191.13.2-21.13.2-201.13.2-31.13.2-41.13.2-51.13.2-61.13.2-71.13.2-81.13.2-92.0.0-02.0.0-12.1.0-02.1.2-02.1.2-12.2.0-02.3.0-02.4.0-02.4.0-12.5.0-02.5.0-12.6.0-02.6.0-12.6.0-22.7.0-02.7.0-12.7.0-22.7.0-32.7.0-42.7.0-52.7.0-62.8.0-02.8.0-12.8.0-22.8.0-32.9.1-0
None listed
langfuse-3
Docker Hardened Images:Debian:13
3.225.0-0 and later, plus listed versions
3.225.0-13.225.1-03.225.1-13.225.10-03.225.11-0
Show 24 more versionsShow less
3.225.12-03.225.12-13.225.12-23.225.14-03.225.15-03.225.15-13.225.15-23.225.2-03.225.3-03.225.4-03.225.5-03.225.5-13.225.7-03.225.7-13.225.8-03.225.8-13.225.9-03.227.0-03.227.0-13.227.1-03.227.1-13.227.1-23.227.1-33.227.1-4
None listed
langfuse-4
Docker Hardened Images:Debian:13
4.3.1-0 and later, plus listed versions
4.10.0-04.11.0-04.12.0-04.13.0-04.14.0-0
Show 44 more versionsShow less
4.15.0-04.26.0-04.36.1-04.38.0-04.4.0-04.41.0-04.43.0-04.44.0-04.46.0-04.47.0-04.48.0-04.5.0-04.5.0-14.50.0-04.53.0-04.6.0-04.63.0-04.67.0-04.69.0-04.70.0-04.70.1-04.71.0-04.71.0-14.72.0-14.74.0-04.75.0-04.76.0-04.76.0-14.77.0-04.78.0-04.79.0-04.79.0-14.80.0-04.80.0-14.81.0-04.82.0-04.83.0-04.84.0-04.84.0-14.86.0-04.87.0-04.88.0-04.9.0-04.90.0-0
None listed
langfuse-worker-3
Docker Hardened Images:Debian:13
3.174.1-1 and later, plus listed versions
3.186.0-03.187.0-03.187.0-13.188.0-03.191.0-0
Show 45 more versionsShow less
3.191.0-13.193.0-03.194.0-03.194.1-03.194.1-13.195.0-03.197.1-03.198.0-03.200.0-03.201.1-03.202.1-03.203.1-03.203.3-03.204.0-03.205.0-03.205.1-03.206.0-03.208.0-03.210.0-03.212.0-03.213.0-03.214.0-03.216.0-03.216.0-13.218.0-03.219.0-03.221.1-03.222.0-03.222.0-13.223.0-03.224.0-03.224.1-03.224.1-13.224.2-03.224.2-13.224.3-03.224.3-13.225.0-03.225.0-13.225.0-23.225.0-33.225.1-03.225.1-13.225.1-23.225.10-0
None listed
langfuse-worker-4
Docker Hardened Images:Debian:13
4.13.0-0 and later, plus listed versions
4.14.0-04.15.0-04.17.0-04.19.0-04.21.0-0
Show 45 more versionsShow less
4.22.0-04.24.0-04.26.0-04.27.0-04.28.0-04.28.1-04.30.0-04.31.0-04.32.0-04.33.0-04.34.0-04.35.0-04.36.0-04.36.1-04.51.0-04.53.0-04.54.0-04.55.0-04.55.0-14.63.0-04.64.0-04.67.0-04.69.0-04.70.0-04.70.1-04.71.0-04.71.0-24.74.0-04.75.0-04.75.0-14.76.0-04.77.0-04.77.0-14.78.0-04.79.0-04.80.0-04.80.0-14.81.0-04.82.0-04.82.0-14.83.0-04.84.0-04.84.0-14.86.0-04.86.0-1
None listed
supabase-studio
Docker Hardened Images:Debian:13
2026.08.03-0 and later, plus listed versions
2026.09.07-02026.09.07-12026.09.07-22026.09.07-42026.09.07-5
Show 11 more versionsShow less
2026.10.12-02026.10.12-12026.10.12-22026.11.02-02026.11.02-12026.11.02-22026.11.02-32026.11.02-42026.11.02-52026.11.02-62026.11.23-0
None listed

The JSON record also has 30 more versions.

Products 1

Sources

CVE List Score usedCVSS 4.06.3

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

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.

Record
CVE-2026-119351
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-362
Updated
2026-11-16
EUVDEUVD-2026-126604CVSS 4.06.3

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.

Record
EUVD-2026-126604
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Updated
2026-11-18
GitHub AdvisoriesGHSA-vc7v-qv4w-wrv8CVSS 4.06.3

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

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.

What values are leaked cannot be attacker controlled. Which value's content is served depends only on which invocation wrote the entry first.

This 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.

Record
GHSA-vc7v-qv4w-wrv8
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-362
Updated
2026-11-17
NVDCVSS 4.06.3

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.

Record
CVE-2026-119351
CVSS 4.0
6.3 MediumCVSS: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
Weakness
CWE-362
Updated
2026-11-16
OSVCVSS 4.06.3

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

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.

Record
CVE-2026-119351
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-362
Updated
2026-11-17
OSVDHI-l4ck-bvdv-hccc-eccsCVSS 4.06.3

Next.js is a React framework for building full-stack web applications. From 16.2.0 until 16.4.5, Next.js applications…

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.

Record
DHI-l4ck-bvdv-hccc-eccs
CVSS 4.0
6.3 MediumCVSS: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
Updated
2026-12-04
OSVGHSA-vc7v-qv4w-wrv8CVSS 4.06.3

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

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.

What values are leaked cannot be attacker controlled. Which value's content is served depends only on which invocation wrote the entry first.

This 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.

Record
GHSA-vc7v-qv4w-wrv8
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-362
Updated
2026-11-17

History

Recorded by Every CVE

Changes recorded by Every CVE
DayChangedSources
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, severityOSV
Affected packagesOSV
Affected packagesOSV
Show 6 more daysShow less
Changes recorded by Every CVE
DayChangedSources
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, other IDs, referencesOSV
Published dateEUVD, OSV
Published dateEUVD
Affected packages, referencesOSV
Affected packages, key facts, referencesGitHub Advisories
Other IDs, referencesNVD, OSV
Other IDs, published dateEUVD
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open