CVE-2026-103004: CWE-524: Use of Cache Containing Sensitive Information in vercel next.js
Next.js versions from 16.3.0 to 16.3.7 warm `use cache` handlers using `next/root-params` and can leak their return value to pages with different root params. With Cache Components enabled (cacheComponents: true), a 'use cache' function that calls another 'use cache' function that reads a root param can be keyed incorrectly when the inner call is served from an existing entry: the enclosing function's cache key then omits that root param. The enclosing entry is written once and reused for all root param values, so a response for one root param value can serve content produced for a different value — whether the page is prerendered at build time or at runtime, or rendered dynamically. Shared cache headers let downstream caches redistribute the content further. What values are leaked cannot be attacker controlled. Which value's content is served depends only on which invocation wrote the entry first. This has been patched in 16.3.8.
AI Analysis
Technical Summary
Next.js versions from 16.3.0 to 16.3.7 have a vulnerability in their 'use cache' handlers when Cache Components are enabled (cacheComponents: true). A 'use cache' function that calls another 'use cache' function reading a root param can produce cache keys that omit that root param. Consequently, the enclosing cache entry is shared across different root param values, causing responses for one root param to serve content intended for another. This affects pages prerendered at build time, runtime, or rendered dynamically. Shared cache headers can further propagate this content leakage downstream. The leaked values are not attacker-controlled; the served content depends on the first cache entry written. The vulnerability is patched in version 16.3.8.
Potential Impact
The vulnerability allows sensitive information cached for one root parameter value to be served to requests with different root parameter values. This can cause unintended data leakage between pages, potentially exposing sensitive data to unauthorized viewers. However, the leaked values are not attacker-controlled, limiting exploitation scope. The CVSS 4.0 score is 6.3 (medium severity), reflecting network attack vector, low complexity, partial attack complexity, and low impact on confidentiality.
Mitigation Recommendations
Upgrade Next.js to version 16.3.8 or later, where this caching issue has been fixed. No other mitigation is required as the vendor has provided an official fix.
CVE-2026-103004: CWE-524: Use of Cache Containing Sensitive Information in vercel next.js
Description
Next.js versions from 16.3.0 to 16.3.7 warm `use cache` handlers using `next/root-params` and can leak their return value to pages with different root params. With Cache Components enabled (cacheComponents: true), a 'use cache' function that calls another 'use cache' function that reads a root param can be keyed incorrectly when the inner call is served from an existing entry: the enclosing function's cache key then omits that root param. The enclosing entry is written once and reused for all root param values, so a response for one root param value can serve content produced for a different value — whether the page is prerendered at build time or at runtime, or rendered dynamically. Shared cache headers let downstream caches redistribute the content further. What values are leaked cannot be attacker controlled. Which value's content is served depends only on which invocation wrote the entry first. This has been patched in 16.3.8.
CVSS v4.0
Score 6.3medium
Affected software
vercel
next.js
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Next.js versions from 16.3.0 to 16.3.7 have a vulnerability in their 'use cache' handlers when Cache Components are enabled (cacheComponents: true). A 'use cache' function that calls another 'use cache' function reading a root param can produce cache keys that omit that root param. Consequently, the enclosing cache entry is shared across different root param values, causing responses for one root param to serve content intended for another. This affects pages prerendered at build time, runtime, or rendered dynamically. Shared cache headers can further propagate this content leakage downstream. The leaked values are not attacker-controlled; the served content depends on the first cache entry written. The vulnerability is patched in version 16.3.8.
Potential Impact
The vulnerability allows sensitive information cached for one root parameter value to be served to requests with different root parameter values. This can cause unintended data leakage between pages, potentially exposing sensitive data to unauthorized viewers. However, the leaked values are not attacker-controlled, limiting exploitation scope. The CVSS 4.0 score is 6.3 (medium severity), reflecting network attack vector, low complexity, partial attack complexity, and low impact on confidentiality.
Mitigation Recommendations
Upgrade Next.js to version 16.3.8 or later, where this caching issue has been fixed. No other mitigation is required as the vendor has provided an official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-09-29T20:46:08.335Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6abe75d3a43b0b3b89bddd09
Added to database: 10/01/2026, 15:01:39 UTC
Last enriched: 10/01/2026, 15:16:46 UTC
Last updated: 10/02/2026, 03:47:06 UTC
Views: 15
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.