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

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-10-01T14:50:27.033Z
- Modified: 2026-10-22T16:30:40.995Z
- Also known as: GHSA-h694-7cp9-m8p3
- Weaknesses: CWE-524
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- vercel next.js: < 16.3.8; from 16.3.0 before 16.3.8
- next (npm): from 16.3.0 before 16.3.8

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/vercel/next.js/security/advisories/GHSA-h694-7cp9-m8p3> (vendor-advisory, web)
- <https://github.com/vercel/next.js/releases/tag/v16.3.8> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-103004> (advisory)
- <https://github.com/vercel/next.js/commit/e92db4536a7f34ae2dbda583cfa1b4e0d06d1865> (web)
- <https://github.com/vercel/next.js> (package)

## Sources

- CVE List: [CVE-2026-103004](https://www.cve.org/CVERecord?id=CVE-2026-103004), CVE Terms of Use, modified 2026-10-01
- GitHub Advisory Database: [GHSA-h694-7cp9-m8p3](https://github.com/advisories/GHSA-h694-7cp9-m8p3), CC-BY-4.0, modified 2026-10-22
- NVD: [CVE-2026-103004](https://nvd.nist.gov/vuln/detail/CVE-2026-103004), Public domain, modified 2026-10-05

---

Page: https://cve.day/CVE-2026-103004 · Whole record: https://cve.day/CVE-2026-103004.json · Rebuilt by cve.day 2026-11-25T22:59:41.840Z
