CVE-2026-119349: Next.js: Cross-user cache disclosure and poisoning in Next.js use cache with binary arguments
Published 2026-11-19 · Updated 2026-11-19 · Also known as GHSA-rhh4-g77r-r9qj
Summary
Next.js fails to properly generate unique cache keys for binary arguments passed to functions using the use cache directive, leading to cross-user cache disclosure and poisoning. Engineering and security teams managing Next.js applications using binary data in the App Router must update to the patched release.
Who is affected
Applications using the Next.js App Router and the use cache directive with binary arguments, such as Uint8Array or Blob values, are affected. This vulnerability allows distinct arguments to produce identical cache keys, resulting in cached results being improperly shared across different users.
Exploitability
The vulnerability is network-accessible with low attack complexity and requires no privileges or user interaction, but it depends on specific application conditions (passing binary arguments to cached functions). The EPSS score is 0.004 (percentile 0.340) and it is not present in the CISA Known Exploited Vulnerabilities list.
Remediation
- Upgrade the npm package 'next' to version 16.4.5 or later.
How to check your project
- Check package.json and lockfiles to verify if the 'next' package version falls within the range introduced at 16.0.0 and fixed before 16.4.5.
- Search the codebase for usages of the 'use cache' directive combined with binary arguments such as Uint8Array or Blob values.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | next |
>= 16.0.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:L/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) | Low |
| 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
What causes the cache collision in Next.js?
Passing binary arguments like Uint8Array or Blob values to functions using the use cache directive can produce identical cache keys for distinct arguments.
What versions of Next.js are vulnerable?
Versions introduced from 16.0.0 up to, but not including, 16.4.5 are vulnerable.
Is this vulnerability actively exploited in the wild?
No, it is not documented in the CISA Known Exploited Vulnerabilities catalog.
Original advisory description
References
- WEB https://github.com/vercel/next.js/security/advisories/GHSA-rhh4-g77r-r9qj
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-119349
- WEB https://github.com/vercel/next.js/commit/6596840a0fa3c2633735b05e41ca3d9ab01ece41
- 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-rhh4-g77r-r9qj (OSV.dev) · EPSS by FIRST, 2026-11-26.