CVE-2026-94544: Next.js Vulnerability Allows Draft Mode Content Leakage

next Updated 07 Oct 2026

Summary

07/10/2026
Yes i
Moderate
4.2

CVE-2026-94544: Pending use cache fills are shared across requests for the same key without distinguishing Draft Mode requests from regular requests. Affects next versions >= 16.3.0, < 16.3.8. Fixed in 16.3.8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Next.js is a popular React framework that enables developers to build server-rendered applications with ease. It offers features like static site generation, server-side rendering, and API routes. However, a vulnerability has been identified in versions prior to 16.3.8, where pending use cache fills can inadvertently expose Draft Mode content to unauthorized users.

Vulnerability Detail

The vulnerability arises from the way Next.js handles cache fills for Draft Mode requests. When a Draft Mode request overlaps with a regular request, the second request can receive the first request's fill. This means that a regular request can access unpublished content without authentication, while a Draft Mode request may receive published content instead of the draft. If a regular request prerenders a page, the unpublished content can be persisted and served to all subsequent visitors until the page is revalidated. This poses a significant risk to sites that enable Cache Components and serve Draft Mode previews.

How To Fix

Latest published version: 16.4.2 as of 22 Oct 2026

npm install next@16.4.2

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

16.3.8

This is the first release that contains the fix.

npm install next@16.3.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, consider disabling the Cache Components feature or avoiding the use of Draft Mode until you can update to the patched version. This will help mitigate the risk of content leakage.

Conclusion

The identified vulnerability in Next.js (CVE-2026-94544) poses a risk of leaking Draft Mode content through improper cache handling. It is crucial to update to version 16.3.8 or later to mitigate this risk. Additionally, utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for next →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 4.2, indicating a moderate severity level.

Next.js versions prior to 16.3.8 are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability can lead to unauthorized access to unpublished content, which may compromise the integrity and confidentiality of your application.

Yes, Vulert can monitor your project for open-source vulnerabilities in real-time using just the package-lock.json file.

Related vulnerabilities

Recent vulnerabilities recorded for next.

How To Fix

Latest published version: 16.4.2 as of 22 Oct 2026

npm install next@16.4.2

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

16.3.8

This is the first release that contains the fix.

npm install next@16.3.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback