CVE-2026-103004

Source
https://cve.org/CVERecord?id=CVE-2026-103004
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-103004.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-103004
Aliases
  • GHSA-h694-7cp9-m8p3
Published
2026-10-01T14:50:27Z
Modified
2026-10-07T02:47:28Z
Severity
  • 6.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
next.js cache leak on warm `use cache` handlers accessing root param
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-524"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/103xxx/CVE-2026-103004.json"
}
References

Affected packages

Git / github.com/vercel/next.js

Affected ranges

Type
GIT
Repo
https://github.com/vercel/next.js
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "16.3.8"
        },
        {
            "introduced": "16.3.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v16.*
v16.3.0
v16.3.1
v16.3.2
v16.3.3
v16.3.4
v16.3.5
v16.3.6
v16.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-103004.json"