CVE-2026-75604

Next.js: Unauthenticated Remote Code Execution on windows-hosted servers

Published Sep 1, 2026 CVSS 3.1 · 9 Critical EPSS 2.1% KEV · Not listed
Description
Next.js is a React framework for building full-stack web applications. From 13.4.0 until 15.5.24 and 16.3.3, Next.js applications using Pages Router or App Router without Cache Components on Windows-hosted servers do not consistently escape backslashes in route segments before constructing incremental-cache paths. In packages/next/src/shared/lib/router/utils/escape-path-delimiters.ts and packages/next/src/server/lib/incremental-cache/file-system-cache.ts, a remote request can supply encoded Windows path separators that traverse outside the intended cache root and expose private build data, including the server-reference-manifest encryption key. Disclosure of that key can enable remote code execution in the affected application. This issue is fixed in versions 15.5.24 and 16.3.3.

Analysis

AI-generated

Technical impact

This vulnerability causes a remote attacker, via an encoded Windows path separator in a route segment, to bypass file system isolation and read private build data—including the server‑reference‑manifest encryption key. The disclosure of the key allows execution of arbitrary code within the affected Next.js application. The weakness is a path traversal issue.

Affected Systems

Versions of Next.js from 13.4.0 up through 15.5.23 and 16.3.2 that use the Pages Router or App Router without Cache Components on Windows‑hosted servers are affected. The issue is addressed in releases 15.5.24 and 16.3.3.

Risk and Exploitability

The CVSS score of 9 indicates a critical severity. The EPSS score of 2% indicates a relatively low but non‑zero likelihood of exploitation, yet the vulnerability is listed in a public advisory and not yet in the CISA KEV catalog. The likely attack vector is a remote HTTP request targeting a Windows‑hosted Next.js application, exploiting the lack of backslash escaping in route segments. Once the attacker controls the cache key, remote code execution can be achieved.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Next.js version 15.5.24 or newer (including 16.3.3) to apply the fix for the backslash escape bug.
  • If an upgrade is not immediately possible, disable incremental caching or ensure that Cache Components are enabled so that the vulnerable path escaping code is bypassed.
  • Implement server‑side input validation to reject or sanitize route segments containing backslashes or encoded path separators, thereby mitigating path traversal attempts.

Generated by OpenCVE AI on September 10, 2026 at 14:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-p293-qw3h-jr36 Next.js: Unauthenticated Remote Code Execution on windows-hosted servers
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Vercel
Vercel next.js
Vendors & Products Vercel
Vercel next.js
Type Values Removed Values Added
Description Next.js is a React framework for building full-stack web applications. From 13.4.0 until 15.5.24 and 16.3.3, Next.js applications using Pages Router or App Router without Cache Components on Windows-hosted servers do not consistently escape backslashes in route segments before constructing incremental-cache paths. In packages/next/src/shared/lib/router/utils/escape-path-delimiters.ts and packages/next/src/server/lib/incremental-cache/file-system-cache.ts, a remote request can supply encoded Windows path separators that traverse outside the intended cache root and expose private build data, including the server-reference-manifest encryption key. Disclosure of that key can enable remote code execution in the affected application. This issue is fixed in versions 15.5.24 and 16.3.3.
Title Next.js: Unauthenticated Remote Code Execution on windows-hosted servers
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 4, 2026, 7:54 PM
Reserved
Aug 17, 2026, 11:49 PM
Status
Deferred
Published
Sep 1, 2026, 10:17 PM
Modified
Sep 9, 2026, 9:09 PM