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.
References
| Link | Resource |
|---|---|
| https://github.com/vercel/next.js/releases/tag/v16.3.8 | Release Notes |
| https://github.com/vercel/next.js/security/advisories/GHSA-h694-7cp9-m8p3 | Vendor Advisory |
Configurations
History
05 Oct 2026, 15:01
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Vercel
Vercel next.js |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.3 |
| CPE | cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:* | |
| References | () https://github.com/vercel/next.js/releases/tag/v16.3.8 - Release Notes | |
| References | () https://github.com/vercel/next.js/security/advisories/GHSA-h694-7cp9-m8p3 - Vendor Advisory |
01 Oct 2026, 15:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-01 15:17
Updated : 2026-10-05 15:01
NVD link : CVE-2026-103004
Mitre link : CVE-2026-103004
CVE.ORG link : CVE-2026-103004
JSON object : View
Products Affected
vercel
- next.js
CWE
CWE-524
Use of Cache Containing Sensitive Information
