Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/ravindurathnayaka/cve-2025-55182-poc
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubravindurathnayaka/cve-2025-55182-poc

CVE-2025-55182-PoC

React2Shell (CVE-2025-66478): A Python-based Proof of Concept for Critical Remote Code Execution (RCE) in Next.js Server Components. Features an interactive CLI, custom payload injection, and cleaner output formatting. For educational research only.

View Repository
42411 months agoNot yet reviewed
Share

⚡ React2Shell Exploit PoC (CVE-2025-66478)

Next.js Remote Code Execution (RCE) via Prototype Pollution in Server Components

Python Exploit Type CVE


🕵️‍♂️ Overview

This repository contains a Proof of Concept (PoC) for CVE-2025-66478 (also referenced as CVE-2025-55182 in some contexts), a critical vulnerability affecting Next.js applications that use specific versions of React Server Components (RSC).

By manipulating the serialization process of RSCs, an unauthenticated attacker can inject a malicious payload via prototype pollution (__proto__:then). This can lead to execution of arbitrary system commands on the server through child_process.execSync.

Developed by: ArkhamKnight47


🚀 Features

  • Interactive CLI — Simple prompts for target URL and command.
  • Payload Injection — Automatically builds the required multipart/form-data payload.
  • Smart Output Cleaning — Parses raw JSON responses and displays only clean command output (e.g., strips 1:E{"digest":...}).
  • Matrix Theme — Green-on-black aesthetic with ASCII art banner.
  • Cross-Platform — Handles newline differences (\n vs \r\n) for clean output on Windows and Linux targets.

🛠️ Installation & Usage

Prerequisites

  • Python 3.x
  • requests library

Setup

# Clone the repository
git clone https://github.com/RavinduRathnayaka/CVE-2025-55182-PoC.git
cd CVE-2025-55182-PoC

# Install dependencies
pip install requests

Running the Exploit

python CVE-2025-66478.py

You will be prompted for:

  • Target URL — e.g. http://localhost:3000
  • Command — e.g. id, whoami, cat /etc/passwd

📌 Example Output

[?] TARGET URL > http://192.168.1.5:3000
[?] COMMAND    > cat /etc/passwd

[*] EXECUTING EXPLOIT...
[+] PAYLOAD SUCCESSFUL. OUTPUT BELOW:
============================================================
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
nextjs:x:1001:65533::/home/nextjs:/sbin/nologin
============================================================

⚠️ Disclaimer

This tool is provided for educational and security research purposes only.

The author (ArkhamKnight47) takes no responsibility for misuse of this code. Testing this exploit against systems you do not own or do not have explicit permission to test is illegal and unethical.

  • ❌ Do not use against production systems without authorization
  • ✅ Do use to validate vulnerabilities in your own applications
  • ✅ Do use to learn about RSC serialization and prototype pollution risks

Use responsibly. Learn ethically. Secure your stack.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    968
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    556
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    347
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    346
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    319
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    297

Explore all tools

Browse our collection of tools

View all tools →