Exploit database

Vulnerability

CVE-2026-75604

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

Vulnerability details

Score
9.0
Severity
critical

CVSS 3.1 · GitHub_M

Vector string

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

4 sources
Next.js Unauthenticated RCE on Windows Servers
MSF-windows--http--nextjs_unauth_rce_cve_2026_75604MetasploitWindows / remotePreferred

This module exploits a Remote Code Execution (RCE) vulnerability in Next.js applications hosted on Windows servers. Specifically crafted requests can execute arbitrary code on the target server. The affected versions include releases from 13.4.0 up to 15.5.24, and 16.0.0 up to 16.3.3, utilizing both Pages and App Routers without Cache Components.

2026-08-26nextjs_unauth_rce_cve_2026_75604.rb
rafabd1/cve-2026-75604-poc
GH-de84cb5e0f615114e778d74c228c31f4GitHubUnofficial GitHub source

CVE-2026-75604 Next.js Windows RCE poc

2026-08-2512 files · 111 stars
e4zyy/project-cve-2026-75604
GH-e1526e1c2d1dab3c218dcabe299408c1GitHubUnofficial GitHub source

A Python-based exploitation framework for CVE-2026-75604 that enables authorized penetration testers to validate Next.js Windows cache traversal vulnerabilities. Deploys reverse shells and webshells via path traversal, with built-in target verification and proxy support for seamless integration into standard pentest workflows.

2026-08-274 files · 3 stars
hackspeak/cve-2026-75604
GH-78adb7a698dd333f524ded3ad3b65b74GitHubUnofficial GitHub source

CVE-2026-75604 (Next.js Windows RCE) PoC - unauthenticated RCE via cache path traversal + forged Server Action; for authorized security testing

2026-08-2613 files · 2 stars