Skip to main content

Next.js EUVDEUVD-2026-126594

| CVE-2026-119349 MEDIUM
Use of Multiple Resources with Duplicate Identifier (CWE-694)
2026-11-16 GitHub_M GHSA-rhh4-g77r-r9qj
6.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify use-cache endpoint taking binary argument
  2. Exploit
    Craft distinct binary/File argument colliding on cache key
  3. Execution
    Request shares victim's cached entry
  4. Impact
    Disclose 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 use cache directive on a function which receives binary arguments - specifically Uint8Array, Blob, or File values (the feature is gated behind experimental useCache). The vulnerable condition is that such binary arguments determine cached output and vary per user or per request; the CVSS AT:P metric reflects this app-level prerequisite. Limiting factors: applications that do not enable/use use cache, or that only pass non-binary (string/number/JSON) arguments to cached functions, are not affected; no authentication is required (PR:N) and no user interaction is needed, but the data exposed is limited to whatever is placed in the shared cache entry. Updating to 16.4.5 is the stated fix.

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 use cache directive with binary arguments (Uint8Array/Blob/File), which is a specific, non-default coding pattern rather than an out-of-the-box exposure. There is no KEV listing and no EPSS score was provided, so there is no evidence of active or probable widespread exploitation; the signal set points to a real but conditional data-exposure/poisoning bug rather than an urgent mass-exploitation event. The vuln.today decision label is 'this_month' (not act_now/emergency), which is consistent with the moderate CVSS and absence of exploitation evidence. Net: treat as a prioritized-but-not-emergency fix - genuinely important for any App Router deployment that passes binary arguments to cached functions, and largely irrelevant for deployments that do not use that pattern. Impact is capped at Low/Low because collisions leak or poison whatever is cached rather than granting code execution or full account takeover.

Exploit ScenarioDerived

An App Router application caches a function (via use cache) that takes a per-user binary argument, such as a Uint8Array or uploaded File. Because distinct binary arguments can hash to the same cache key, an unauthenticated attacker issues a request whose binary argument collides with a victim's, causing the server to return the victim's cached result (cross-user disclosure) or to overwrite the shared entry so other users receive attacker-influenced data (cache poisoning). No public exploit identified at time of analysis; the fix commit includes an e2e test demonstrating that previously-colliding binary/File arguments now produce distinct cache entries.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

next.js 16.0.0, < 16.4.5

Affected Packages

npm next fix: 16.4.5
euvd next_js fix: 16.4.5

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

Vendor (GitHub_M) PRIMARY 6.3 MEDIUM
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
vuln.today AI 4.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 16, 2026 - 20:18 EUVD
CVE Published
Nov 16, 2026 - 18:39 cve.org
MEDIUM 6.3

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 27 npm packages depend on next (25 direct, 2 indirect)

Ecosystem-wide dependent count for version 16.0.0.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
High
Next.js is a very widely deployed enterprise and web React framework
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-55182 CRITICAL POC
10.0 Dec 03

React Server Components in React 19.x contain a critical pre-authentication remote code execution vulnerability (CVE-202

CVE-2017-16877 HIGH POC
7.5 Nov 17

ZEIT Next.js before 2.4.1 has directory traversal under the /_next and /static request namespace, allowing attackers to

CVE-2025-55184 HIGH POC
7.5 Dec 11

Pre-authentication denial of service in React Server Components (versions 19.0.0 through 19.2.1) allows unauthenticated

CVE-2025-55183 MEDIUM POC
5.3 Dec 11

Information disclosure in React Server Components 19.x, distributed as react-server-dom-webpack, react-server-dom-turbop

CVE-2026-75604 CRITICAL POC
9.0 Sep 01

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

CVE-2025-57822 HIGH POC
8.2 Aug 29

Server-side request forgery in Vercel Next.js affects self-hosted deployments whose custom middleware calls next()/NextR

CVE-2024-34351 HIGH POC
7.5 May 14

Next.js is a React framework that can provide building blocks to create web applications. Rated high severity (CVSS 7.5)

CVE-2023-46298 HIGH POC
7.5 Oct 22

Next.js before 13.4.20-canary.13 lacks a cache-control header and thus empty prefetch responses may sometimes be cached

CVE-2018-6184 HIGH POC
7.5 Jan 24

ZEIT Next.js 4 before 4.2.3 has Directory Traversal under the /_next request namespace. Rated high severity (CVSS 7.5),

CVE-2025-67779 HIGH
7.5 Dec 12

Unsafe deserialization in React Server Components Server Function endpoints allows remote unauthenticated attackers to t

CVE-2026-119790 MEDIUM POC
6.3 Nov 16

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

CVE-2026-119351 MEDIUM POC
6.3 Nov 16

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy