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.
Published: 2026-09-01
Score: 9 Critical
EPSS: 2.5% Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Sat, 05 Sep 2026 08:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 01 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Vercel
Vercel next.js
Vendors & Products Vercel
Vercel next.js

Tue, 01 Sep 2026 22:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-04T19:54:40.089Z

Reserved: 2026-08-17T23:49:03.450Z

Link: CVE-2026-75604

cve-icon Vulnrichment

Updated: 2026-09-02T12:04:23.041Z

cve-icon NVD

Status : Deferred

Published: 2026-09-01T22:17:12.697

Modified: 2026-09-09T21:09:13.080

Link: CVE-2026-75604

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-10T15:00:15Z

Weaknesses
  • CWE-22

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