Sceawere

Vulnerability Detail

CVE-2026-75604UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV

Next.js Windows Path Traversal Vulnerability

Vulnerability Metadata

Severity
Critical
Score / CVSS
9
Creation Date
2h ago
Vendor
vercel
Product
next.js
Attack Type
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Vector String
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Attack Complexity
HIGH

Narrative and Response

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.

Executive Summary

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Executive Summary Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Technical Details

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Detailed Technical Analysis Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Mitigations

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Remediation & Mitigations Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

References

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Intelligence References Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Additional Metadata

{
  "score": "9.0",
  "pubDate": "2026-09-01T22:17:12.697Z",
  "pubdate": "2026-09-01T22:17:12.697Z",
  "executiveSummary": "This vulnerability is a path traversal flaw affecting Next.js applications deployed on Windows-hosted servers. It stems from improper sanitization of backslash characters within route segments during the construction of incremental-cache file paths.\nBy supplying specially crafted, encoded Windows path separators in a remote request, an unauthenticated attacker can escape the intended cache directory boundaries. This allows unauthorized access to sensitive build-time artifacts and private server-side data.\nThe most critical risk involves the disclosure of the server-reference-manifest encryption key. Exposure of this cryptographic material significantly degrades the security posture of the application, potentially enabling remote code execution (RCE).\nThe vulnerability affects Next.js versions 13.4.0 through 15.5.24 and 16.3.3. Environments utilizing both Pages Router and App Router (specifically configurations without Cache Components) are susceptible if hosted on the Windows operating system. Organizations should prioritize updating to the fixed versions to remediate the flaw and prevent potential arbitrary code execution.",
  "technicalDetails": "The vulnerability is rooted in the insufficient escaping of path delimiters within the Next.js routing and caching logic, specifically in the files 'packages/next/src/shared/lib/router/utils/escape-path-delimiters.ts' and 'packages/next/src/server/lib/incremental-cache/file-system-cache.ts'. On Windows-based systems, the backslash character ('\\') functions as a directory separator, distinct from the forward slash ('/') used in POSIX-compliant systems. The application fails to normalize or restrict these characters when constructing file system paths for the incremental cache.\nAn attacker can exploit this by crafting a request containing encoded Windows path separators (e.g., URL-encoded sequences that decode to backslashes). When the Next.js router processes these segments, the inadequate escaping logic fails to prevent the traversal of the directory tree. Because the incremental-cache utilizes these segments to define file paths on the local file system, the attacker can break out of the designated cache storage directory.\nThe attack flow proceeds as follows: 1. The attacker identifies an application hosted on a Windows environment. 2. The attacker submits a malicious request where the path contains character sequences that resolve to backslashes in the context of the Windows file system. 3. The vulnerable 'escape-path-delimiters.ts' logic fails to treat these as literals, allowing the 'file-system-cache.ts' module to construct a path that traverses into parent directories. 4. The application reads from or writes to files outside the intended cache root, specifically targeting sensitive files such as the server-reference-manifest. 5. Upon successful retrieval of the manifest, the attacker extracts the encryption key contained within.\nThe impact of this disclosure is severe. The server-reference-manifest encryption key is used to sign and secure server actions; access to this key allows an attacker to forge requests, manipulate server-side state, or potentially achieve remote code execution by bypassing signature verification processes intended to protect the internal API surfaces of the application. This vulnerability does not require authentication or elevated privileges, and the exploitation vector is strictly network-based, targeting the public-facing router interface of the Next.js application."
}
CVE-2026-75604: Next.js Windows Path Traversal Vulnerability (CRITICAL Severity, CVSS: 9.0) - Sceawere