CVE Catalog

CVE-2026-94544

MediumCVSS 6.3
Published: Updated: Translated: NVD NIST

Summary

Next.js versions 16.3.0 through 16.3.8 share cache fills for the same key 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.

Risk Assessment

The risk involves potential disclosure of unpublished content (e.g., drafts) to unauthorized users, which could lead to leakage of sensitive information or compromise of published content integrity.

Recommendation

It is recommended to immediately upgrade Next.js to version 16.3.8 or later to eliminate the risk associated with improper cache sharing.

Other vulnerabilities in Next.js

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS