CVE-2026-119349: Next.js: Cross-user cache disclosure and poisoning in Next.js use cache with binary arguments
Medium
- OSV id
- GHSA-rhh4-g77r-r9qj
- Also known as
- CVE-2026-119349
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| next npm |
>= 16.0.0, < 16.4.5 | 16.4.5 |
How to fix it
Upgrade next to 16.4.5 or later.
npm install next@16.4.5
# if it is an indirect dependency: npm update next (or npm audit fix)
- If it is an indirect dependency, upgrade the package that depends on it, or force the version with "overrides" (npm), "resolutions" (Yarn) or "pnpm.overrides" (pnpm) in package.json.
- Check the changelog for breaking changes (especially across major versions), update the lockfile with the package manager, and run your tests.
Not sure whether your project uses an affected version? Check your lockfile below for free.
Details
Next.js App Router applications that pass binary arguments (such as Uint8Array or Blob values) to functions using the use cache directive can produce identical cache keys for distinct arguments, allowing cached results to be shared across users — cross-user disclosure of cached data or cache poisoning. This affects applications using use cache with binary arguments.
References
- GHSA-rhh4-g77r-r9qj on OSV.dev
- 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
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: GitHub Advisory Database via OSV.dev (CC-BY 4.0). Severity comes from the advisory's own rating when it has one, else from its CVSS score.