Python-based exploitation framework for CVE-2026-75604, enabling authorized pentesters to validate Next.js Windows cache traversal vulnerabilities with reverse shell and webshell deployment, target verification, and proxy support.
Defensive security research and authorized validation only.
This repository concerns CVE-2026-75604, a critical vulnerability that may permit unauthenticated remote code execution on certain Windows-hosted Next.js deployments.
Attribution above is reproduced from the original script header and has not been independently verified.
This project must only be used against:
Do not use this project to access third-party websites, servers, cloud workloads, customer systems, or networks without permission. Unauthorized access, persistence, payload deployment, and command execution may violate computer-misuse laws and contractual obligations.
The maintainer and contributors are not responsible for misuse.
CVE-2026-75604 affects certain Next.js applications hosted on a Windows filesystem. Under affected conditions, insufficient path validation in caching-related behavior can enable unauthenticated remote code execution.
According to the official Next.js security release:
15.5.24 and 16.3.3.The included --check-only mode should be treated as a technology fingerprinting check, not proof that a host is vulnerable.
It may look for indicators such as:
X-Powered-By response header referencing Next.js__next content markers in the returned pageA positive result only suggests that the target may use Next.js. It does not establish:
For production environments, validate exposure through asset inventory, deployment configuration, package-lock files, SBOMs, or an approved vulnerability-scanning process—not by attempting payload delivery.
For Next.js 15.5 deployments:
npm install [email protected]
For Next.js 16.3 deployments:
npm install [email protected]
After upgrading, rebuild and redeploy the application using your normal CI/CD process.
Check the version tracked by your dependency manifest:
npm ls next
Also confirm that the deployed artifact/container uses the updated dependency rather than relying only on a local development environment.
Immediately identify self-hosted Next.js applications running on:
Treat exposed, internet-facing systems as highest priority.
Until patching and redeployment are complete:
These are temporary risk-reduction measures, not substitutes for upgrading.
Investigate for possible exploitation if an affected Windows-hosted service was internet-accessible before patching.
Review:
.js, .cmd, .bat, .ps1, .exe, or .dll filesnode.exeIf compromise is suspected:
This repository is provided for educational and defensive-security purposes. Do not use it to gain unauthorized access, deploy malicious code, establish shells, exfiltrate data, or disrupt services.