CVE-2026-119351
Next.js: Cache leak across root param values in nested 'use cache' functions via delayed inner stream metadata
Also known as GHSA-vc7v-qv4w-wrv8
Mitigation
- Upgrade next to 16.4.5 or later.
Who should check
- Projects that depend on npm package next (>= 16.2.0, <= 16.4.4)
- Anyone running vercel next.js >= 16.2.0, < 16.4.5
Vulnerability facts
- Affected
- next >= 16.2.0, <= 16.4.4
- Fixed in
- 16.4.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.40% chance of exploitation in 30 days (percentile 26, 2026-11-26)
- CWE
- CWE-362
- Modified
Description
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-119351. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-119351.md Affected: next >= 16.2.0, <= 16.4.4 Fixed in: 16.4.5 Steps: 1. Search this machine and project for next (npm), vercel next.js: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-119351 being exploited?
There is no confirmed exploitation: CVE-2026-119351 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-119351?
Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-119351?
next >= 16.2.0, <= 16.4.4.
Is there a fix for CVE-2026-119351?
Yes. Fixed in 16.4.5. Upgrade next to 16.4.5 or later.
How do I check if I'm affected by CVE-2026-119351?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Next.js vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.3 | CVE-2026-119348 Next.js: Cross-client response injection and disclosure in self-hosted Next.js applications forwarding fetched responses | Next.js+1 | EPSS 35% | |
| MEDIUM 6.0 | CVE-2026-119346 Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes | Next.js+1 | EPSS 35% | |
| MEDIUM 6.3 | CVE-2026-119349 Next.js: Cross-user cache disclosure and poisoning in Next.js use cache with binary arguments | Next.js+1 | EPSS 39% | |
| MEDIUM 6.3 | CVE-2026-119350 Next.js: Cache poisoning of shared fallback shells in Cache Components via request-supplied placeholder route params | Next.js+1 | EPSS 11% | |
| MEDIUM 6.9 | CVE-2026-119347 Next.js: SVG rejection bypass in the image optimization | Next.js+1 | EPSS 41% |