Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessTrigger cold-start direct 'use cache' fill reading a root param
-
DeliverySend concurrent unstable_cache() request during in-flight fill
-
ExploitJoin leader's fill, bypassing root-param check
-
ExecutionPersist result under cache key omitting root params
-
ImpactLater requests for other root params receive foreign data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a specific application code pattern: the same 'use cache' function must be invoked both directly during rendering and through unstable_cache(), and that function must read a root param (root-layout route parameters commonly used to scope data per locale or tenant). The leak only occurs during the first fill after a cold process start, and the unstable_cache() request must arrive while that initial fill is still in flight - a narrow timing race (reflected as AT:P). Strong limiting factors: outside this race the nesting already throws 'use cache' inside unstable_cache() is unsupported, so steady-state/warm caches are not affected; exploitation is probabilistic, not attacker-controllable on demand; and avoiding the nesting of 'use cache' inside unstable_cache() is a complete workaround. Disclosure is bounded to cached data of one root-param value served to requests for another, persisting only until revalidation or eviction. |
| Impact | This is a medium-severity information-disclosure flaw whose real-world priority is modest. The CVSS 4.0 score is 6.3 (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): network-reachable and unauthenticated (PR:N), but it carries AT:P (attack requirements present), which correctly reflects the CWE-362 race condition - the attacker cannot trigger it on demand. Only confidentiality is affected, and only at Low (VC:L), because what leaks is cached response data belonging to a different root-param value (for example another locale or tenant), not credentials or full data stores. No EPSS score, no CISA KEV entry, and no public exploit were supplied, so there is no public exploit identified at time of analysis; the vuln.today decision label is this_month, i.e. patch on a normal cycle rather than act_now/emergency. The limiting signals (AT:P race timing, cold-process-start-only window, and a required application code pattern) dominate over the unauthenticated network vector, so this reads as a genuine but lower-urgency bug rather than a high-impact priority. EPSS data is missing and should be checked for a widely deployed framework, but nothing in the input suggests widespread or automatable exploitation. |
| Exploit ScenarioDerived | In a multi-locale or multi-tenant Next.js app that calls the same 'use cache' function both directly during rendering and through unstable_cache(), where that function reads a root param, a request restarts the process (cold start) and a concurrent unstable_cache() request arrives while the first fill is still in flight. The joining request bypasses the root-param check, and unstable_cache() persists the leader's root-param-specific result under a key that omits root params, so later requests for other root-param values receive that foreign entry until revalidation or eviction. No public exploit code exists; the patch commit includes a public regression test that demonstrates the race in a controlled e2e harness, but triggering it in production is probabilistic and timing-dependent. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
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 or tenant) receive cached data produced for a different root-param value, but only when an application invokes the same 'use cache' function both directly during rendering and through unstable_cache(), and that function reads a root param. The leak is confined to the first fill after a cold process start and requires the unstable_cache() call to land while that initial fill is still in flight, a narrow timing window reflected in the CVSS 4.0 AT:P metric and the assessed AC:H; steady-state and warm caches are unaffected. No public exploit code has been identified at time of analysis, and exposure is bounded to cached data served across root params until revalidation or eviction. Vendor-released patch: 16.4.5.
RemediationAI
Upgrade the next package to 16.4.5, the vendor-released fix, which turns the cross-root-param join into a fail-closed error on the deduplication path (commit d605874e5a4b8b6b7dca1b6e07bcabb44d0e2e5b); see https://github.com/vercel/next.js/security/advisories/GHSA-mfr8-8qww-v76h and https://github.com/vercel/next.js/releases/tag/v16.4.5. If an immediate upgrade is not possible, the vendor documents avoiding nesting 'use cache' inside unstable_cache() as a complete workaround: do not route the same cache function through both a direct render-time call and unstable_cache(), and do not have such a shared function read root params. Existing cached entries produced before the fix should be assumed potentially cross-contaminated until they are revalidated or evicted, so purge the affected cache entries as part of the upgrade; the trade-off of that purge is a cold cache and the associated latency and origin load. Because exploitation is a probabilistic race that requires a cold process start and a concurrent request during the initial fill, restarting server processes does not remove the exposure and is not a substitute for the upgrade.
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 'use cache' is a directive that memoizes the result of a server-side function; root params are route parameters of the root layout (packages/next/src/server/use-cache/use-cache-wrapper.ts computes a cache-key suffix from them via computeRootParamsCacheKeySuffix) and are commonly used to scope data per locale or tenant. The root cause is a classic CWE-362 race in the cross-request deduplication layer: on a cold process start the first fill is registered under a coarse key because no root-param reads are known yet, so a concurrent unstable_cache() call, which carries no root params, can join the in-flight fill and receive the leader's root-param-specific result before the mismatch check would reject it. unstable_cache() then persists that value under a key that omits root params, so later requests for other root-param values are served the same entry until revalidation or eviction. The fixture in the fix deliberately holds the cold fill in flight for two seconds to make the join window deterministic. The upstream commit d605874e5a4b8b6b7dca1b6e07bcabb44d0e2e5b closes this by throwing a createRootParamsUnavailableError (message: 'used root params (...) inside "use cache" nested within unstable_cache. Root params are not available in this context.') on both the fork path and the join path when the fill read root params and the joiner has none, making the join fail closed rather than forking or persisting a cross-root-param entry.
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:N/VA:N/SC:N/SI:N/SA:N
Unauthenticated network trigger (AV:N/PR:N/UI:N) but a cold-start timing race makes reliable exploitation hard (AC:H); only cross-root-param cached data leaks, so C:L with no integrity or 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.3.0 until 16.4.5, Next.js applications using the same 'use cache' function directly during rendering and through unstable_cache() can disclose cached data across root params when that function reads a root param. During the first fill after a cold process start, cross-request deduplication allows a concurrent unstable_cache() request to join the direct call's in-flight fill and receive its result before the root param mismatch is rejected. unstable_cache() then persists that result under a key that omits root params, causing later requests for other root param values to receive the same entry until revalidation or eviction. Exploitation requires the unstable_cache() request to arrive while the first fill is in flight. Outside this race, nesting 'use cache' inside unstable_cache() raises an unsupported-operation error, and avoiding that nesting prevents the issue. This issue is fixed in version 16.4.5.
Blast Radius
ecosystem impact- 34 npm packages depend on next (30 direct, 5 indirect)
Ecosystem-wide dependent count for version 16.3.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.
Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).
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
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
Server-side request forgery in the Next.js Image Optimization endpoint lets a remote, unauthenticated attacker cause the
EUVD-2026-126578
GHSA-mfr8-8qww-v76h
NVD
CVE.org
EPSS
Exploit-DB