Skip to main content

CVE-2026-103004: CWE-524: Use of Cache Containing Sensitive Information in vercel next.js

0
Medium
VulnerabilityCVE-2026-103004cvecve-2026-103004cwe-524
Published: 10/01/2026 (10/01/2026, 14:50:27 UTC)
Source: CVE Database V5
Vendor/Project: vercel
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

vercel

next.js

Affected versions
<16.3.8

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/01/2026, 15:16:46 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses