CVE-2026-103004next.js cache leak across root param values in nested 'use cache' functions
A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.3% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.3%
- percentile 20%
- Fix
- Named by a source
- CVE published 1 Oct 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.3% (+0) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- next (npm): upgrade to 16.3.8 or later on your release line.
- Commit / pull request: https://github.com/vercel/next.js/commit/e92db4536a7f34ae2dbda583cfa1b4e0d06d1865
- Advisory: https://github.com/vercel/next.js/security/advisories/GHSA-h694-7cp9-m8p3
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-103004
Who should check
next (npm) pkg:npm/next
- Affected>= 16.3.0, < 16.3.8Fixed in16.3.8OSV (GHSA-h694-7cp9-m8p3)
vercel next.js product:vercel/nextjs
- Affected< 16.3.8Affected range ends before16.3.8as published by CNA (CVE List)
- Affected>= 16.3.0, < 16.3.8Affected range ends before16.3.8as published by CPE data (via the NVD API)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 5.3 MEDIUM (version 3.1)
- Score from
- NVD
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-524
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- yes
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 1 Oct 2026Published
References
- otherhttps://github.com/vercel/next.js/releases/tag/v16.3.8
- advisoryhttps://github.com/vercel/next.js/security/advisories/GHSA-h694-7cp9-m8p3
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-103004
- commit / pull requesthttps://github.com/vercel/next.js/commit/e92db4536a7f34ae2dbda583cfa1b4e0d06d1865
- otherhttps://github.com/vercel/next.js
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-103004 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-h694-7cp9-m8p3 (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 34 min ago · osv 34 min ago · nvd 3 min ago · epss 33 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-h694-7cp9-m8p3