CVE-2026-119790: Next.js: Information disclosure across root params when a 'use cache' function is called through unstable_cache()
Published 2026-11-16 · Updated 2026-11-16 · Also known as GHSA-mfr8-8qww-v76h
Summary
Next.js applications using 'use cache' may incorrectly leak data across different root parameters due to a race condition during process startup. Developers using affected versions of Next.js should upgrade to version 16.4.5 to resolve this caching vulnerability.
Who is affected
The vulnerability affects Next.js applications that utilize both 'use cache' functions and 'unstable_cache()' calls simultaneously when those functions rely on root layout parameters. This flaw occurs during a cold process start where a race condition allows cached data to be improperly associated with the wrong root parameters, causing cross-request information disclosure. Outside of this specific race condition, the framework generally prevents nesting these functions.
Exploitability
The vulnerability is rated as MEDIUM severity, relying on a race condition during process initialization for exploitation. With an EPSS score of 0.004, the exploit likelihood is relatively low, and it is not currently listed as a CISA Known Exploited Vulnerability.
Remediation
- Upgrade the next package to version 16.4.5 or later.
- Avoid nesting 'use cache' functions inside 'unstable_cache()' calls to prevent the underlying unsupported behavior.
How to check your project
- Check the package.json or package-lock.json file to determine if the next dependency is within the range 16.3.0 to 16.4.4.
- Audit application code for the concurrent usage of 'use cache' and 'unstable_cache()' that rely on root layout parameters.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | next |
>= 16.3.0, < 16.4.5 | 16.4.5 | npm install [email protected] |
Tracked tools affected
Next.js · Next.js security advisories · Fixed in Next.js 16.4.5 release notes
CVSS 4.0 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
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Attack requirements | Present |
| Privileges required | None |
| User interaction | None |
| Confidentiality (vulnerable system) | Low |
| Integrity (vulnerable system) | None |
| Availability (vulnerable system) | None |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
Is this vulnerability actively exploited in the wild?
No, there is no evidence of active exploitation as this issue is not listed on the CISA Known Exploited Vulnerabilities catalog.
Does this issue occur during normal application operation?
The disclosure specifically occurs due to a cross-request deduplication race during a cold process start; otherwise, the framework throws an error for unsupported nesting of these functions.
What is the primary consequence of this flaw?
The primary impact is information disclosure, where cached data intended for one root parameter is incorrectly returned to requests for other root parameter values.
Original advisory description
References
- WEB https://github.com/vercel/next.js/security/advisories/GHSA-mfr8-8qww-v76h
- WEB https://github.com/vercel/next.js/commit/d605874e5a4b8b6b7dca1b6e07bcabb44d0e2e5b
- PACKAGE https://github.com/vercel/next.js
- WEB https://github.com/vercel/next.js/releases/tag/v16.4.5
- WEB https://nextjs.org/blog/november-2026-security-release
Source records: GHSA-mfr8-8qww-v76h (OSV.dev) · EPSS by FIRST, 2026-11-21.