# CVE-2026-103004: Vercel Next.js cache leak across root param values in nested use cache

Source: https://junglewise.ai/threats/cve-2026-103004-next-js-versions-from-16-3-0-to-16-3-7-warm-use-cache-handlers  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-01. Updated: 2026-10-05  
License: CC BY 4.0 with a link back

CVE-2026-103004 · Severity: medium · CVSS 5.3 · Published 2026-10-01

Next.js is a React web framework used to build server-side rendered web applications. When Cache Components are enabled, nested `use cache` functions can incorrectly reuse cached responses across different root parameter values, causing users to see content meant for other users. This information disclosure occurs automatically without user interaction and can persist across multiple users and downstream caches.

Technologies: [next (npm)](https://junglewise.ai/threats/technologies/npm-next), [Vercel Next.js](https://junglewise.ai/threats/technologies/next-js). Vendors: [npm](https://junglewise.ai/threats/vendors/npm), [Vercel](https://junglewise.ai/threats/vendors/vercel).

## Quick answers

**Is CVE-2026-103004 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-103004 being exploited in the wild.

**How severe is CVE-2026-103004?** Medium severity, with a CVSS score of 5.3, published 1 October 2026.

**Which products and versions are affected?** next (npm) >= 16.3.0, < 16.3.8, SEMVER:introduced=16.3.0,fixed=16.3.8; Vercel Next.js 16.3.0 to 16.3.7.

**Is there a fix for CVE-2026-103004?** Yes. next (npm): upgrade to 16.3.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-103004 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-103004?** Check whether you run next (npm) or Vercel Next.js at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- next (npm): upgrade to 16.3.8 or later

  ```sh
  npm install next@16.3.8
  ```


## Technical details

A nested `use cache` function that calls another `use cache` function reading a root parameter can have its cache key incorrectly computed, omitting the root parameter when the inner call is served from an existing cache entry. This causes the outer cache entry to be written once and reused across all root parameter values, whether the page is prerendered at build time, at runtime, or rendered dynamically. The leak is non-attacker-controlled but depends on which invocation writes the cache entry first; shared cache headers can propagate the misdirected content further downstream.

## Affected products

- Vercel Next.js 16.3.0 to 16.3.7

## Identifiers

- CVE-2026-103004
- GHSA-h694-7cp9-m8p3

## Timeline

- 2026-09-30: disclosed
- 2026-09-30: patched

## References

- [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)

## Related threats

- [Vercel Next.js remote code execution in use cache functions](https://junglewise.ai/threats/next-js-unauthenticated-remote-code-execution-in-use-cache-functions-ac3e73d3)
- [Next.js denial of service in App Router with Server Actions](https://junglewise.ai/threats/cve-2026-94482-next-js-denial-of-service-in-app-router-using-server-actions)
- [Next.js unauthenticated remote code execution in Image Optimization API](https://junglewise.ai/threats/next-js-unauthenticated-remote-code-execution-in-image-optimization-api-f1b22a87)
- [Next.js information disclosure in Draft Mode via use cache](https://junglewise.ai/threats/cve-2026-94544-next-js-is-a-react-framework-for-building-full-stack-web)
- [Next.js Pages Router response cache key bypass](https://junglewise.ai/threats/cve-2026-94543-next-js-is-a-react-framework-for-building-full-stack-web)
