# CVE-2026-103004: next.js cache leak on warm `use cache` handlers accessing root param

> CVE-2026-103004: next.js cache leak on warm `use cache` handlers accessing root param. CVSS 5.3 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-103004
Last updated: 2026-10-05T15:01:42Z

- Published: 2026-10-01 14:50 UTC · Updated: 2026-10-05 15:01 UTC · Assigner: GitHub\_M
- CVSS: 5.3 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.25%, 16th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-524

## 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.

## Affected vendors and products

- vercel: next.js

## Tracked companies

- [Vercel](https://rewindex.com/company/vercel.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-103004)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-103004)
- [https://github.com/vercel/next.js/releases/tag/v16.3.8](https://github.com/vercel/next.js/releases/tag/v16.3.8)
- [https://github.com/vercel/next.js/security/advisories/GHSA-h694-7cp9-m8p3](https://github.com/vercel/next.js/security/advisories/GHSA-h694-7cp9-m8p3)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-103004 · Markdown: https://rewindex.com/cve/CVE-2026-103004.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-103004 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:13:27.974Z
