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.
Severity (CVSS)
| Base score | 9 |
|---|---|
| Severity | Critical |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-22 — CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vercel | next.js | >= 13.4.0, < 15.5.24; >= 16.0.0, < 16.3.3 |
References
- https://github.com/vercel/next.js/security/advisories/GHSA-p293-qw3h-jr36 (x_refsource_CONFIRM)
- https://github.com/vercel/next.js/commit/968b9fcb26bdeb8e0a861a9df05361474666d51b (x_refsource_MISC)
- https://github.com/vercel/next.js/commit/b0f3460a92b955d3ca41fccff9a525a2b910fbf3 (x_refsource_MISC)
- https://github.com/vercel/next.js/releases/tag/v15.5.24 (x_refsource_MISC)
- https://github.com/vercel/next.js/releases/tag/v16.3.3 (x_refsource_MISC)
Generated from the official CVE List on 02 Sep 2026 07:07 UTC.