---
id: "CVE-2026-94544"
page: "https://infrastack.ai/live/CVE-2026-94544"
kind: "vulnerability"
aliases: ["CVE-2026-94544", "GHSA-3w37-wq28-93x7"]
title: "Next.js: Pending `use cache` fill can leak Draft Mode content into regular responses and persisted pages"
severity: "medium"
cvss: 6.3
epss: 0.00179
exploited: false
status: "open"
category: "runtime"
products: [{"name": "next", "fixed": ["16.3.?"], "affected": "= 16.3.0", "ecosystem": "npm"}, {"name": "next", "fixed": ["16.3.8"], "affected": ">= 16.3.0, < 16.3.8", "ecosystem": "npm"}, {"name": "vercel next.js", "fixed": ["16.3.8"], "affected": ">= 16.3.0, < 16.3.8", "ecosystem": "vendor"}]
ecosystems: ["npm", "vendor"]
tags: ["cache-components", "cwe-524", "draft-mode", "next.js", "runtime", "self-hosted"]
not_affected_if: ["cache-components-disabled", "no-draft-mode", "static-export"]
published_at: "2026-09-30T16:14:35+00:00"
first_seen_at: "2026-11-09T22:53:14+00:00"
updated_at: "2026-11-09T23:10:12+00:00"
sources: [{"source": "ghsa-repo", "url": "https://github.com/vercel/next.js/security/advisories/GHSA-3w37-wq28-93x7", "first_seen_at": "2026-11-09T22:53:14+00:00"}, {"source": "ghsa", "url": "https://github.com/advisories/GHSA-3w37-wq28-93x7", "first_seen_at": "2026-11-09T22:57:50+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-94544", "first_seen_at": "2026-11-09T23:10:12+00:00"}]
exploit_sources: [{"type": "epss", "score": 0.00179, "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-94544"}]
---

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

Link for people: https://infrastack.ai/live/CVE-2026-94544 (this .md is for agents)

Next.js shares pending `use cache` fills across requests with the same key without checking whether a request is in Draft Mode. A regular visitor overlapping an editor's preview can receive unpublished draft content, and that content can be saved into a statically generated page served to later visitors.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- npm:next affected = 16.3.0 fixed 16.3.?
- npm:next affected >= 16.3.0, < 16.3.8 fixed 16.3.8
- vendor:vercel next.js affected >= 16.3.0, < 16.3.8 fixed 16.3.8

## How to check

- Check the installed Next.js version with `npx next --version` or `node -p "require('next/package.json').version"`.
- Look for `cacheComponents` or `experimental.useCache` enabled in `next.config.js` or `next.config.ts`.
- Check whether Draft Mode (`draftMode()`) is used with cached functions that return draft-dependent content.

## Fix

- next: `16.3.8`

## Timeline

- 2026-11-09T22:53:14+00:00 ghsa-repo https://github.com/vercel/next.js/security/advisories/GHSA-3w37-wq28-93x7
- 2026-11-09T22:57:50+00:00 ghsa https://github.com/advisories/GHSA-3w37-wq28-93x7
- 2026-11-09T23:10:12+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-94544

## Documents

- [advisory] Maintainer's advisory: github.com https://github.com/vercel/next.js/security/advisories/GHSA-3w37-wq28-93x7
- [advisory] Maintainer's advisory: api.github.com https://api.github.com/repos/vercel/next.js/security-advisories/GHSA-3w37-wq28-93x7
- [fix] Patch: github.com https://github.com/vercel/next.js/commit/bd9214f9a32854a011bf5fe58e481dffe1bbf598
- [fix] Release notes: github.com https://github.com/vercel/next.js/releases/tag/v16.3.8

## From the sources

<!-- https://linear.app/vercel/issue/NSEC-352 -->

Pending `use cache` fills are shared across requests for the same key without distinguishing Draft Mode requests from regular requests. When two such requests overlap, the second request receives the first request's fill:

- A regular request that overlaps an editor's Draft Mode request receives unpublished content, without any authentication.
- A Draft Mode request that overlaps a regular request receives published content instead of the draft.

If the overlapping regular request prerenders a page — for example an on-demand prerender of a route that was not prerendered at build time — the unpublished content can be persisted into the generated page and served to all later visitors of that route until the page is revalidated. Since cached functions can be shared across routes, the poisoned page does not need to be the page the editor is previewing.

Sites are affected if they enable Cache Components (or `experimental.useCache`) and serve Draft Mode previews whose cached functions return draft-dependent content.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
