Skip to main content
← All vulnerabilities
CVE-2026-94544GHSA-3W37-WQ28-93X7

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 16.3.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • vercel next.js

    From 16.3.0 · fixed in 16.3.8

  • nextnpm

    From 16.3.0 · fixed in 16.3.8

References 3

GitHub · vercel/next.js