Skip to content

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

MediumCVSS 6.3 EPSS 0.25%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Red Hat

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.

Upgrade path

13 packages: 2 fixed, 11 with no fix yet.

PackageAffectedFixed inStatus
redhat/firefox(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/firefox(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/firefox(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/firefox(Red Hat rhel_els 7) All versions No fix listed No fix yet
redhat/rhelai3/bootc-cuda-rhel9(Red Hat enterprise_linux_ai 3) All versions No fix listed No fix yet
redhat/rhelai3/bootc-gaudi-rhel9(Red Hat enterprise_linux_ai 3) All versions No fix listed No fix yet
redhat/rhelai3/bootc-rocm-rhel9(Red Hat enterprise_linux_ai 3) All versions No fix listed No fix yet
redhat/rhelai3/disk-image-cuda-rhel9(Red Hat enterprise_linux_ai 3) All versions No fix listed No fix yet
redhat/thunderbird(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/thunderbird(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/thunderbird(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
npm next(npm) >= 16.3.0, < 16.3.8 16.3.8 Fixed
vercel next.js = < 16.3.8; >= 16.3.0, < 16.3.8 16.3.8 Fixed

Affected products

ProductAffected versionsFixed in
redhat/firefox(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/thunderbird(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/firefox(Red Hat:rhel_els:7) All versions No fix listed
redhat/firefox(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/thunderbird(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/firefox(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/thunderbird(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/bootc-gaudi-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhtas/rekor-search-ui-rhel9(Red Hat:trusted_artifact_signer:1) All versions No fix listed
vercel next.js = < 16.3.8 No fix listed
npm next(npm) >= 16.3.0, < 16.3.8 16.3.8
vercel next.js >= 16.3.0, < 16.3.8 16.3.8

References