Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify use-cache endpoint taking binary argument
-
ExploitCraft distinct binary/File argument colliding on cache key
-
ExecutionRequest shares victim's cached entry
-
ImpactDisclose cached data or poison response for other users
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V6 - Authentication Use of multiple resources in auth
|
| Exploitation Conditions | Exploitation requires that the target be a Next.js App Router application (versions 16.0.0 through 16.4.4) that uses the |
| Impact | This is a moderate-severity cache-keying flaw (CWE-694, duplicate/ambiguous cache identifier) rated CVSS 4.0 6.3 with vector AV:N/AC:L/AT:P/PR:N/UI:N and Low confidentiality + Low integrity impact (VC:L/VI:L), no availability impact. The network vector and PR:N mean no authentication is required to reach the vulnerable code path, but the AT:P (attack-requirements present) metric correctly signals that exploitation is not unconditional: the target application must actually use the |
| Exploit ScenarioDerived | An App Router application caches a function (via |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Identical cache keys generated for distinct binary arguments in Next.js App Router's use cache directive (versions 16.0.0 through 16.4.4) allow one request to read or overwrite cached results produced for a different user, enabling cross-user disclosure of cached data or cache poisoning. The flaw only manifests in applications that enable the experimental use cache feature and pass Uint8Array, Blob, or File values into a cached function whose output varies per requester. No public exploit code has been identified at time of analysis and the issue is not in CISA KEV; the vendor has released a fix in Next.js 16.4.5, and the priority label is this_month. Rated CVSS 4.0 6.3 (AV:N/AC:L/AT:P/PR:N/UI:N, VC:L/VI:L), with the independent assessment mapping to CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N because exploitation depends on the application-level prerequisite of using binary arguments in a cached function.
RemediationAI
Vendor-released patch: Next.js 16.4.5 - upgrade the next npm dependency to 16.4.5 or later (release notes: https://github.com/vercel/next.js/releases/tag/v16.4.5; advisory: https://github.com/vercel/next.js/security/advisories/GHSA-rhh4-g77r-r9qj). The upstream fix commit 6596840a0fa3c2633735b05e41ca3d9ab01ece41 rewrites the cache-key framing for binary fields in packages/next/src/server/use-cache/use-cache-wrapper.ts. If the upgrade cannot be scheduled immediately, the exposure can be removed at the application level: stop passing Uint8Array, Blob, or File values directly into use cache functions and instead pass a deterministic non-binary digest (for example a hex or base64 string of the bytes plus the file name and MIME type), so the pre-fix serializer produces distinct keys - the trade-off is that the caller must compute and maintain that digest, and any cached entries already written under colliding keys should be purged or invalidated. Disabling the experimental.useCache flag removes the vulnerability entirely but forfeits caching behaviour across the application, so it is only practical where the feature is not yet relied upon. Because the priority label is this_month and no exploit code or KEV listing is present, the upgrade fits a routine monthly patch cycle rather than an emergency change, but any application that caches per-user binary-derived content should be treated as the first candidate for the update.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Next.js App Router implements the use cache directive (gated behind experimental.useCache) by deriving a deterministic cache key from the serialized arguments of the wrapped function; a failure to make that serialization unambiguous leads to CWE-694, use of incorrectly resolved identifier (duplicate/ambiguous cache identifier). The source evidence in the upstream commit shows the vulnerable serialization routine in packages/next/src/server/use-cache/use-cache-wrapper.ts (encodeFormData and the surrounding cache-key builder) appending string values with a lowercase hex length prefix and a colon, with no self-delimiting framing for binary fields. Because a binary value's byte length occupies fewer code units than a string of the same stated length, a string value could absorb the framing of subsequent fields, so two different argument sets can collapse onto the same key. The fix in commit 6596840a marks binary fields with a B sentinel (which cannot appear in a lowercase-hex length prefix), records the field name and MIME type with hex-length framing, and uses the ArrayBuffer byte length so the field is self-delimiting; lastModified is deliberately excluded because it defaults to construction time and does not survive multipart submission. The accompanying end-to-end tests confirm that 44 and 4400 byte arrays, and Files differing only by name or type, now yield distinct cache entries. Only the cache-key serialization is affected - there is no memory corruption, injection, or availability impact; the exposure ceiling is whatever data an application stores in a shared cache entry, and the integrity impact is limited to substituting that cached output for other requests.
Know when Next Js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable without auth (AV:N/PR:N); AC:H because exploitation depends on the app passing binary args to a cached function and crafting a colliding argument; Low confidentiality and integrity from cache disclosure/poisoning, no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Next.js is a React framework for building full-stack web applications. From 16.0.0 until 16.4.5, Next.js App Router applications that pass binary arguments, such as Uint8Array or Blob values, to functions using the 'use cache' directive can generate identical cache keys for distinct arguments. Requests with different binary arguments can therefore share a cached result, causing cross-user disclosure of cached data or allowing one request to poison results returned to another user. This issue is fixed in version 16.4.5.
Blast Radius
ecosystem impact- 27 npm packages depend on next (25 direct, 2 indirect)
Ecosystem-wide dependent count for version 16.0.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
React Server Components in React 19.x contain a critical pre-authentication remote code execution vulnerability (CVE-202
ZEIT Next.js before 2.4.1 has directory traversal under the /_next and /static request namespace, allowing attackers to
Pre-authentication denial of service in React Server Components (versions 19.0.0 through 19.2.1) allows unauthenticated
Information disclosure in React Server Components 19.x, distributed as react-server-dom-webpack, react-server-dom-turbop
Path traversal in Next.js (13.4.0 through 15.5.23 and 16.x before 16.3.3) running on Windows-hosted servers lets a remot
Server-side request forgery in Vercel Next.js affects self-hosted deployments whose custom middleware calls next()/NextR
Next.js is a React framework that can provide building blocks to create web applications. Rated high severity (CVSS 7.5)
Next.js before 13.4.20-canary.13 lacks a cache-control header and thus empty prefetch responses may sometimes be cached
ZEIT Next.js 4 before 4.2.3 has Directory Traversal under the /_next request namespace. Rated high severity (CVSS 7.5),
Unsafe deserialization in React Server Components Server Function endpoints allows remote unauthenticated attackers to t
Cached-data disclosure in Next.js 16.3.0 through 16.4.4 lets a request for one root-param value (for example one locale
Next.js 16.2.0 through 16.4.4 with the opt-in Cache Components feature can persist an outer 'use cache' entry under a ke
EUVD-2026-126594
GHSA-rhh4-g77r-r9qj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB