Skip to content
Heist/ feed
Medium

Next.js: Pending `use cache` fill can leak Draft Mode content into regular responses and persisted pages

Type: advisorySource: Official CVE List1 source record

Next.js is a React framework for building full-stack web applications. From 16.3.0 until 16.3.8, pending use cache fills for the same key are shared without separating Draft Mode requests from regular requests. An overlapping regular request can receive unauthenticated unpublished content from an editor's Draft Mode fill, while an overlapping Draft Mode request can receive published content from a regular fill. When the regular request prerenders a page, the draft-dependent content can persist in the generated page and be served to later visitors until revalidation. Sites are affected when Cache Components or experimental.useCache is enabled and cached functions return draft-dependent content. This issue is fixed in version 16.3.8.

Announced Source revision 1
Original source ↗

CVE-2026-94544

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-94544

next.js

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "vercel",
    "product": "next.js",
    "versions": [
      {
        "status": "affected",
        "version": ">= 16.3.0, < 16.3.8"
      }
    ]
  }
]
Related CVEs
CVE-2026-94544

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#8956 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement