Skip to main content
Mallory
UnratedPublic exploitVulnerability

CVE-2025-66478: React2Shell

Published Aug 12, 2026 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days3 mentions · peak 1 in a dayToday
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildReported17 exploitation records in Mallory
IdentifiersCVE-2025-66478CWE-502

CVE-2025-66478 was rejected as a duplicate of CVE-2025-55182, known as React2Shell. It originally tracked the downstream impact on Next.js of an unsafe deserialization vulnerability in the React Server Components Flight protocol. Crafted HTTP payloads processed by Server Function request handling can cause unauthenticated server-side JavaScript execution and operating-system command execution. Affected Next.js deployments use App Router with vulnerable React Server Components dependencies, including unpatched 15.x and 16.x releases and experimental canary releases beginning with 14.3.0-canary.77. The underlying affected React packages are react-server-dom-webpack, react-server-dom-parcel, and react-server-dom-turbopack versions 19.0.0, 19.1.0, 19.1.1, and 19.2.0.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises application confidentiality, integrity, and availability through arbitrary code execution with the application process's privileges. Attackers can steal application secrets, cloud credentials, database credentials, and user data; modify application behavior; deploy malware or persistence; and potentially pivot into accessible internal services. Active exploitation has included credential harvesting, cryptomining, backdoors, and proxy tunnels. Root or administrator access is not inherent and depends on process privileges or additional exploitation.

Mitigation

If you can’t patch tonight, do this now.

Use vendor-provided WAF protections as a temporary measure and defense in depth, not as a substitute for upgrading. AWS WAF users can enable AWSManagedRulesKnownBadInputsRuleSet version 1.24 or an appropriate later version containing the relevant protection, or deploy and test the vendor-provided custom blocking rule. Monitor application and endpoint telemetry for suspicious child processes spawned by Node.js and anomalous Server Function requests. Scanning and exploitation can produce similar application errors, so error signatures alone do not establish successful compromise.

Remediation

Patch, then assume compromise.

Upgrade affected Next.js deployments to a patched release in the applicable release line: 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, or 16.0.7, or a later supported security release. For experimental canary deployments, follow the corresponding vendor upgrade guidance. Independently managed affected React Server Components packages should be upgraded to 19.0.1, 19.1.2, or 19.2.1, or later patched releases. Rebuild and redeploy affected applications, and verify the deployed dependency versions. Investigate potentially exposed deployments for compromise and revoke or rotate exposed secrets; patching alone does not remove existing attacker access.

Public exploits

Exploits

57 exploits validated by Mallory's analysis. Hidden: 105 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries. Showing the 25 most capable, earliest first.

View more in app →
react2shell_unauth_rce_cve_2025_55182.rbThis repository contains a single Metasploit module (Ruby file) that exploits a critical unauthenticated remote code execution (RCE) vulnerability in React Server Components (RSC) Flight protocol, affecting both React and Next.js applications. The exploit leverages prototype pollution during deserialization of specially crafted multipart requests, allowing arbitrary command execution on the server without authentication. The module is highly weaponized, supporting both Unix/Linux and Windows targets, and can deliver any Metasploit payload (e.g., reverse shell, meterpreter). The main attack vector is network-based, targeting HTTP(S) endpoints of vulnerable React/Next.js applications. The only fingerprintable endpoint is the configurable TARGETURI (default '/'), which should point to the root or relevant path of the target application. The module is well-structured, with functions for building malicious payloads, sending multipart requests, and executing arbitrary commands via Node.js's child_process. It references two CVEs (CVE-2025-55182 and CVE-2025-66478) and is attributed to multiple security researchers. The repository is a typical Metasploit exploit module, designed for operational use against real-world targets.Disclosed Dec 3, 2025 · Framework: metasploit · ruby · networkWeaponizedreact2shellThis repository provides a comprehensive detection and exploitation toolkit for two critical remote code execution (RCE) vulnerabilities: CVE-2025-55182 (React Server Components Deserialization RCE) and CVE-2025-66478 (Next.js Server Actions RCE). The structure includes a Python-based CLI scanner (scanner.py) and multiple Nuclei YAML templates for automated detection and exploitation workflows. The scanner and templates support both safe detection (side-channel error analysis) and full RCE confirmation, including out-of-band (OOB) DNS/HTTP callbacks for blind exploitation. The Nuclei templates target HTTP POST endpoints on potentially vulnerable React/Next.js servers, using multipart payloads that exploit insecure deserialization to achieve arbitrary code execution. The toolkit is weaponized, supporting evasion, WAF bypass, and platform-specific payloads (including Windows PowerShell). The repository is suitable for both vulnerability assessment and exploitation in penetration testing or red teaming contexts.grp-ops · Disclosed Dec 5, 2025 · Framework: nuclei · python · yaml · networkWeaponizedCVE-2025-55182This repository provides a proof-of-concept (PoC) and testing lab for CVE-2025-55182 (React Server Components RCE) and the related Next.js downstream CVE-2025-66478. The main exploit is implemented as a Nuclei template (nuclei-template/CVE-2025-55182.yaml), which sends a crafted HTTP POST request to the root endpoint (/) of a vulnerable Next.js/React RSC application. The payload leverages unsafe deserialization in the RSC 'Flight' protocol, resulting in unauthenticated remote code execution via Node.js child_process. The exploit demonstrates successful code execution by redirecting the user to /login?a=<result>, where <result> is the output of a system command (multiplication of two random numbers). The repository also includes a Dockerfile and Next.js application code to set up a vulnerable environment for testing. The PoC is operational and suitable for both detection and exploitation in a controlled lab. No hardcoded IPs or external domains are present; all exploitation is performed via HTTP requests to the local or target server.ahmed-dev-op · Disclosed Jul 15, 2025 · Framework: nuclei · javascript · yaml · networkOperationalCVE-2025-55182-CVE-2025-66478-Exploit-GUIThis repository contains a Python-based GUI tool for scanning and exploiting CVE-2025-55182 and CVE-2025-66478 vulnerabilities in web applications. The main file, 'CVE-2025-55182 & CVE-2025-66478.py', implements both a graphical user interface (using tkinter) and the core exploit logic. The tool allows users to input a list of target hosts, configure custom HTTP headers, select between safe and exploit modes, and optionally supply custom commands for remote code execution. The exploit works by sending a specially crafted multipart/form-data POST request to the target, leveraging a vulnerability in the server's handling of form-data to achieve RCE via Node.js child_process.execSync. The tool supports multi-threaded scanning, result saving, and displays vulnerable hosts. The README provides a brief description and usage warning. No hardcoded IPs or domains are present; the tool is designed for user-supplied targets. The code is operational, providing both detection and exploitation capabilities, and is not part of a known exploit framework.onlylovetx · Disclosed Dec 5, 2025 · python · networkOperationalNextjs_RCE_Exploit_ToolThis repository is a Go-based GUI exploit tool targeting CVE-2025-55182. The main code is in 'main.go', which implements a desktop application using the Fyne GUI framework. The tool provides a user interface for exploiting the vulnerability, supporting features such as remote command execution, file management (upload, download, list), and arbitrary JavaScript execution on the target server. The exploit works by sending crafted HTTP requests to user-specified endpoints on the target, with payloads constructed for command execution, file operations, or JS code injection. The tool includes safety checks to prevent attacks on .gov, .edu, and Chinese (.cn) targets, using DNS and GeoIP lookups. Proxy support and SSL verification options are available. The repository contains standard Go module files and IDE configuration files, with all exploit logic contained in 'main.go'. No hardcoded target endpoints are present; the user supplies the target URL and endpoint. The tool is operational and provides a user-friendly interface for exploiting the specified CVE.pyroxenites · Disclosed Dec 5, 2025 · go · networkOperationalreact2shellThis repository, 'react2shell', is a comprehensive exploit toolkit and educational resource for CVE-2025-55182 (React Server Components RCE) and CVE-2025-66478 (Next.js downstream impact). It demonstrates unauthenticated remote code execution (RCE) against vulnerable React and Next.js servers using multiple Bash scripts that craft and deliver malicious HTTP requests. The exploit leverages a prototype pollution flaw in the React Flight protocol's deserializer, allowing arbitrary code execution by traversing the prototype chain to the JavaScript Function constructor. The repository includes: - Multiple exploit scripts (exploit-redirect.sh, exploit-throw.sh, exploit-blind.sh, exploit-reflect.sh, exploit-urlencoded.sh) supporting various exfiltration and stealth modes. - Helper tools for detection (detect.sh), action ID enumeration (enumerate-actions.sh), file exfiltration (exfil-file.sh), and an interactive shell (shell.sh). - A vulnerable Next.js test server (v16.0.6 + React 19.2.0) for safe demonstration. - Extensive documentation and technical analysis (README.md, CLAUDE.md, EXPLOIT_NOTES.md, PAYLOAD_REFERENCE.md). The exploit works by sending a crafted multipart or URL-encoded POST request with a 'Next-Action' header to any route on a vulnerable server. The payload abuses the deserialization process to execute arbitrary system commands, exfiltrate files, or provide an interactive shell. No authentication or special endpoint is required; any accessible route is potentially vulnerable. The toolkit supports output exfiltration via HTTP headers, error messages, or response bodies, and includes mechanisms to evade WAFs and operate in both development and production environments. The repository is operational and weaponized, providing ready-to-use scripts for exploitation, detection, and post-exploitation activities. It is intended for authorized security testing and educational purposes only.freeqaz · Disclosed Dec 5, 2025 · bash · typescript · networkOperationalPOC-CVE-2025-55182This repository provides a comprehensive exploitation framework for CVE-2025-55182 (and related CVE-2025-66478), a critical remote code execution vulnerability in Next.js applications using React Server Components (App Router). The main exploit script (CVE-2025-55182-Exp.py) is a Python3 tool that supports single and mass exploitation, interactive shell, reverse shell, and the deployment of a memory-resident web shell. The exploit works by sending crafted multipart/form-data POST requests to the root endpoint (/) of the target Next.js application, leveraging prototype pollution to execute arbitrary Node.js code on the server. The included payloads demonstrate both direct command execution (e.g., 'id') and the installation of a web shell accessible via /exec?cmd= on the compromised server. The YAML file (CVE-2025-66478.yaml) is a Nuclei template for detection, not exploitation. The repository is operational and provides real-world exploitation capabilities, including persistent access via a memory web shell. No hardcoded IPs or domains are present; the exploit is fully configurable via command-line arguments.imbas007 · Disclosed Dec 5, 2025 · python · yaml · networkOperationalreact2shell-ultimateThis repository provides a comprehensive Python-based scanner and exploit tool for the Next.js React Server Components (RSC) Remote Code Execution vulnerabilities CVE-2025-66478 and CVE-2025-55182. The main script, 'react2shell-ultimate.py', is a feature-rich tool that can: - Detect vulnerable Next.js versions via HTTP(S) requests. - Confirm RCE by executing a harmless calculation (41*271=11111) on the target. - Attempt multiple WAF bypass techniques (junk data padding, unicode encoding, Vercel-specific bypasses). - Scan local project files for vulnerable dependencies. - Support mass scanning via input files (targets.txt, urls.txt). - Output results in console, JSON, or file formats. The repository contains 5 files: a Python script (main exploit/scanner), a README with detailed usage and vulnerability information, a requirements.txt for dependencies, a LICENSE, and a .gitignore. The exploit is operational, providing both detection and exploitation capabilities, and is intended for authorized security testing. The tool targets a range of Next.js versions (see affected versions) and is designed for use by security professionals to identify and confirm RCE vulnerabilities in Next.js deployments.hackersatyamrastogi · Disclosed Dec 5, 2025 · python · networkOperationalCVE-2025-66478-Exploit-PocThis repository provides a full proof-of-concept (PoC) exploit for CVE-2025-66478, a critical remote code execution (RCE) vulnerability in Next.js (App Router, versions 15.x, 16.x, and certain canary releases). The repository consists of two main components: 1. A vulnerable Next.js application (in the 'next.js/' directory) configured to use a known-vulnerable version (next@16.0.6, react@19.0.0) and set up for local testing. 2. A Python exploit script ('exploit/main.py') that automates the attack. The script connects to the target Next.js server, extracts a required action ID from the main page, and sends a specially crafted multipart/form-data POST request. This request abuses insecure deserialization and prototype pollution in the React Server Components (RSC) Flight protocol, injecting a malicious 'then' property via the '__proto__' key. The server, upon deserialization, treats attacker-controlled objects as thenables (Promises) and executes arbitrary JavaScript code, which is used to run system commands via Node.js's 'child_process.execSync'. The exploit script provides an interactive shell-like interface, allowing the attacker to execute arbitrary system commands on the vulnerable server and receive their output. The default target is 'http://localhost:3000', but this can be changed with a command-line argument. The attack vector is network-based, requiring only HTTP access to the vulnerable server. The repository is well-structured for research and demonstration purposes, with clear documentation in both English and Korean, and includes setup instructions for both the vulnerable app and the exploit. No hardcoded IPs or external endpoints are present; the exploit is designed for local or specified remote testing. The exploit is operational and demonstrates real RCE, but is not weaponized for mass exploitation.namest504 · Disclosed Dec 6, 2025 · python · typescript · networkOperationalevilactThis repository is a Go-based high-performance vulnerability scanner and exploit tool targeting CVE-2025-55182 and CVE-2025-66478 in Next.js applications using React Server Components. The main file, 'main.go', implements a command-line tool that can scan single or multiple URLs (provided via the '-url' or '-file' options) for the presence of these vulnerabilities. The tool constructs a specially crafted JSON payload that injects JavaScript code into the target server, attempting to execute arbitrary system commands via Node.js's 'child_process' module. If the '-confirm-rce' flag is set, the tool attempts to confirm successful RCE by checking for a redirect header containing the output of the executed command. The scanner supports concurrent scanning, configurable via the '-threads' option, and provides detailed output on which targets are vulnerable and which have confirmed RCE. The repository consists of three files: a README with usage instructions, a Go module definition, and the main exploit code in 'main.go'. No hardcoded IPs or domains are present; targets are user-supplied. The attack vector is network-based, exploiting exposed Next.js endpoints. The exploit is operational, providing real RCE confirmation, but is not part of a larger framework.cypholab · Disclosed Dec 6, 2025 · go · networkOperationalrschunterThis repository contains RSC Hunter, a high-performance mass vulnerability scanner and exploit tool for CVE-2025-55182, a critical RCE affecting Next.js applications using React Server Components. The main code is in 'rschunter.py', which implements multi-threaded scanning, advanced detection (passive, active, error-based), and dual exploit techniques (function constructor injection and prototype pollution). The tool supports both Unix and Windows targets, includes WAF bypass features, and can detect Vercel/Netlify mitigations. It provides an interactive shell for post-exploitation command execution on vulnerable targets. The included 'nuclei-template.yaml' allows for integration with the Nuclei scanner. The repository is well-documented, with a comprehensive README, changelog, and test suite. The main attack vector is network-based, targeting HTTP(S) endpoints (/, /_next/data) of Next.js servers. The tool is operational and suitable for both detection and exploitation in authorized security testing contexts.sumanrox · Disclosed Dec 6, 2025 · python · yaml · networkOperationalchain-reactionThis repository is a high-performance Rust-based security scanner and exploit tool targeting Remote Code Execution (RCE) and Local File Inclusion (LFI) vulnerabilities in Next.js and React Server Components (RSC), specifically CVE-2025-55182 and CVE-2025-66478. The tool, 'chain-reaction', is capable of scanning single or multiple targets for these vulnerabilities, leveraging advanced techniques such as protocol fuzzing, WAF evasion, and out-of-band (OOB) detection via DNS/HTTP callbacks. It can also inject a persistent in-memory backdoor accessible at the /exec endpoint on vulnerable servers. The codebase is modular, with Rust source files implementing detection logic, payload generation (including various RCE and LFI gadgets), scanning orchestration, and utility functions. The repository includes a 'vulnerable-server' directory with a sample Next.js/React application for testing. The main entry point is src/main.rs, which parses command-line arguments and coordinates scanning and exploitation phases. The tool outputs results in both JSON and plain text formats and is intended for authorized security research and assessments.joaonevess · Disclosed Dec 6, 2025 · rust · typescript · networkOperationalReact2Shell-CVE-2025-55182Repository purpose: an educational proof-of-concept Next.js application branded as an “interactive code playground” that provides a server-side code execution API, demonstrating claimed CVEs (CVE-2025-55182 / CVE-2025-66478) affecting React Server Components / Next.js. Structure (6 files): - Dockerfile: builds a Node 20 Alpine container, installs dependencies, runs `next dev`, exposes port 3000. - package.json: pins `next` to 15.0.0 (described as vulnerable) with React 18.2.0. - pages/api/rce.js: core vulnerable component. Implements a Next.js API route that accepts POST JSON `{ code: string }` and executes it using `eval()` and `new Function()` depending on simple heuristics. Returns JSON with `success`, `result`, `resultType`, timestamp, and code length; returns eval errors as `success:false`. - pages/index.js: large frontend UI that calls `fetch('/api/rce')` to submit code and renders the returned JSON/error to the page. - README.md / LICENSE: documentation, disclaimers, Docker run instructions, and patch guidance. Exploit capability: network-accessible RCE via the `/api/rce` endpoint. Any remote user who can reach the service can submit arbitrary JavaScript for execution in the server’s Node.js context. CORS is set to `*`, enabling cross-origin browser-based triggering as well. No authentication, sandboxing, or allowlist is present, so the endpoint effectively provides arbitrary code execution and can be extended to filesystem/network actions through Node APIs.chitoz1300 · Disclosed Dec 8, 2025 · javascript · dockerfile · networkOperationalreact2shell-scanner-CVE-2025-55182This repository provides a comprehensive exploit and scanning toolkit for CVE-2025-55182 and CVE-2025-66478, which are critical unauthenticated remote code execution (RCE) vulnerabilities in React Server Components (RSC) and Next.js. The exploit leverages prototype pollution and unsafe deserialization in the React Flight protocol, allowing attackers to execute arbitrary JavaScript on the server, which is then used to run system commands via Node.js's child_process module. The repository includes: - High-fidelity scanner scripts (react2shell-scanner, cve-2025-66478-web-scan) for detection and mass scanning, supporting safe detection and full RCE verification. - A weaponized exploit script (test-lab/exploit.py) capable of executing arbitrary commands or establishing a reverse shell on vulnerable targets. - IOC databases (payloads-exploits/*.csv) with known malicious IPs, C2s, and exfiltration endpoints observed in the wild. - A Docker-based test lab with both vulnerable and patched Next.js applications for safe local testing. - Multiple payload examples, including those for exfiltration and malware delivery, with endpoints for C2 and data theft. The exploit is operational and can be used for both detection and full exploitation, including file read, command execution, and reverse shell. The attack vector is network-based, requiring only HTTP(S) access to the target. The toolkit is suitable for red team operations, vulnerability research, and blue team detection rule development. The repository is well-documented, with guides for setup, usage, and integration with security platforms.Security-Phoenix-demo · Disclosed Dec 8, 2025 · python · bash · networkOperationalreact-rceThis repository provides a full proof-of-concept (PoC) and vulnerable lab environment for CVE-2025-55182 (React) and CVE-2025-66478 (Next.js), which are critical pre-authentication remote code execution vulnerabilities in React Server Components via the Flight protocol. The structure includes: - `exploit/exploit.py`: The main exploit script, written in Python, which crafts and sends a malicious multipart/form-data POST request to a vulnerable Next.js server. The payload leverages prototype pollution in the Flight protocol to access the Function constructor and execute arbitrary system commands. The result of the command is returned in the X-Action-Redirect HTTP header. The script supports custom commands, Windows payloads, and Vercel WAF bypass variants. - `exploit/scanner.py`: A Python-based scanner to detect if a target is vulnerable to CVE-2025-55182, using non-destructive payloads and version checks. - `vulnerable-app/`: A Next.js 15.0.0 + React 19.0.0 application intentionally left vulnerable for testing. It includes server actions that process multipart/form-data, with no explicit RCE code but is vulnerable due to the underlying framework. - Documentation files (`README.md`, `CVE-RESEARCH.md`) provide detailed technical background, attack flow diagrams, payload structure, and usage instructions. The exploit is operational and allows for arbitrary command execution on unpatched targets. The repository is intended for educational and research purposes only. No hardcoded IPs or domains are present; the exploit is designed to target user-specified endpoints. The attack vector is network-based, requiring only a crafted HTTP POST request to the vulnerable server.randarts · Disclosed Dec 8, 2025 · python · javascript · networkOperationalCVE-2025-55182-POCThis repository is a comprehensive Proof-of-Concept (PoC) environment for CVE-2025-55182 (React2Shell) and CVE-2025-66478, which are critical remote code execution vulnerabilities affecting React 19.x and Next.js 14.3+/15.x/16.x with Server Actions enabled. The exploit leverages a flaw in the React Flight Protocol's deserialization logic, allowing prototype pollution and function constructor hijacking via specially crafted multipart/form-data POST requests. The payload enables arbitrary command execution on the server (e.g., 'id', 'ls', 'cat /etc/passwd'). The repository includes: - A vulnerable Next.js application (app/ directory) with Server Actions as the RCE trigger point. - Exploit payloads (exploit-payload.txt) and test scripts (test-exploit.sh, scan-targets.sh, curl-test.sh) for both single and batch exploitation. - Deep technical analysis and documentation (Cve 2025 55182 deep technical analysis.md, README.md, QUICKSTART.md) explaining the vulnerability, exploitation steps, and mitigation. - ModSecurity WAF rules (Cve-2025-55182-modsecurity-rules.conf) for temporary protection. The exploit is operational and can be used to test for and demonstrate RCE on affected targets. The repository also provides guidance for mitigation, including upgrading to patched versions and deploying WAF rules. The main attack vector is network-based, targeting HTTP POST endpoints that process React Server Actions with multipart/form-data. The exploit is not part of a framework but is a standalone PoC with all necessary components for testing and demonstration.HUAHUAI23 · Disclosed Dec 8, 2025 · typescript · javascript · networkOperationalReactNext2ShellThis repository provides a cross-platform Python-based scanner and exploitation tool for CVE-2025-55182 and CVE-2025-66478, targeting modern JavaScript stacks (API backends and Next.js apps). The main scanner (react_nextjs_scanner.py) safely probes for vulnerable endpoints and fingerprint leaks, while the exploitation shell (react_nextjs_shell.py) can provide an interactive RCE shell if a vulnerability is confirmed. The included Docker environment allows for local lab testing with a vulnerable Node.js backend. The backend's /login endpoint is vulnerable to RCE via the 'x-shell-cmd' HTTP header or 'shell_cmd' body parameter, which are executed unsafely using Node.js's child_process.exec. The exploit is operational, providing real RCE if the target is vulnerable, and is not just a detection script. The repository is structured with a clear separation between scanning and exploitation, and includes both Python and JavaScript code.FurkanKAYAPINAR · Disclosed Dec 8, 2025 · python · javascript · networkOperationalCVE-2025-55182This repository provides a proof-of-concept (PoC) exploit and a high-fidelity scanner for CVE-2025-55182 (and related CVE-2025-66478), a critical remote code execution (RCE) vulnerability in Next.js (React Server Components). The structure includes: - README.md: Detailed instructions for identifying vulnerable targets using Shodan, verifying with the scanner, and exploiting with the PoC. It also references related research and tools. - poc.py: A Python script that sends a crafted multipart/form-data POST request to a user-supplied target URL. The payload leverages prototype pollution and JavaScript code injection to execute arbitrary system commands (default: 'id') on the server, returning the output in the HTTP response. The exploit is operational and can be used to run any command. - scanner.py: A comprehensive Python scanner that can test multiple hosts for the vulnerability, supporting concurrency, WAF bypass techniques, and output formatting. It is designed for high-fidelity detection and can confirm code execution on vulnerable servers. - requirements.txt: Lists Python dependencies (requests, tqdm, urllib3). The main attack vector is network-based, targeting HTTP(S) endpoints of Next.js applications. The exploit does not hardcode any specific endpoints but requires the user to supply the target URL. The payload is delivered via POST requests with custom headers and multipart form data, exploiting server-side JavaScript execution. The repository is not part of a framework and is a standalone operational exploit and scanner.Jaycelation · Disclosed Dec 9, 2025 · python · networkOperationalreact2shellThis repository contains a proof-of-concept exploit for CVE-2025-55182 (React Server) and CVE-2025-66478 (Next.js), both critical unauthenticated remote code execution vulnerabilities in the React Server Components (RSC) 'Flight' protocol. The repository consists of a README.md describing the vulnerabilities and an exploit.py script. The exploit.py script is a Python program that crafts a malicious payload exploiting prototype pollution and JavaScript code injection to execute arbitrary system commands on the target server. The payload is sent via a POST request to a specified URL (default: http://10.82.190.47:3000/), and the output of the executed command is returned in the server's response. The exploit requires the target to be running a vulnerable version of react-server or Next.js with the RSC protocol exposed. No hardcoded credentials or detection logic is present; the script is operational and demonstrates real exploitation capability.dr4xp · Disclosed Dec 9, 2025 · python · networkOperationalPOC2-CVE-2025-55182This repository provides a comprehensive Python-based scanner and exploit for CVE-2025-66478 (and CVE-2025-55182), a critical RCE vulnerability in Next.js applications using React Server Components (RSC). The main script, 'react2shell-ultimate.py', supports multiple scanning modes: safe side-channel detection (no code execution), RCE proof-of-concept (executes a harmless calculation on the target), version detection, and local project dependency scanning. It includes advanced features such as WAF bypass techniques (junk data padding, Unicode encoding, Vercel-specific bypass), multi-threaded mass scanning, and multiple output formats (console, JSON, file). The tool targets Next.js versions 15.0.0 through 16.0.6 (and certain canary builds), and can scan both remote URLs and local project directories for vulnerable dependencies. The exploit's RCE PoC mode sends a payload that triggers a calculation on the server, confirming code execution if the result is returned in a response header. The repository is well-documented, with a detailed README, and is intended for authorized security testing only.iamblacksolo2-BugBounty · Disclosed Dec 10, 2025 · python · networkOperationalCVE-2025-55182This repository contains a Bash exploit script (CVE-2025-55182) and a README.md. The script targets a critical vulnerability (CVE-2025-55182, also referencing CVE-2025-66478) in Next.js applications, where prototype pollution in React Server Components can be leveraged for unauthenticated remote code execution (RCE). The exploit works by sending a specially crafted multipart/form-data HTTP POST request to the target Next.js server, injecting a payload that causes the server to execute arbitrary shell commands via Node.js's child_process.execSync. The script allows the attacker to specify the target domain, single or multiple commands, or a file containing commands. By default, it runs a set of reconnaissance commands (e.g., 'cat /etc/os-release', 'whoami', 'id', etc.) to demonstrate successful exploitation. The output is formatted for clarity, and the script provides feedback on which commands succeeded or failed. The README provides detailed usage instructions, default commands, and technical background on the vulnerability. No hardcoded IPs or domains are present beyond the default 'http://localhost:3000', but the script is designed to target any user-specified endpoint. The exploit is operational, providing real RCE if the target is vulnerable, and is not a detection-only script.rix4uni · Disclosed Dec 10, 2025 · bash · networkOperationalexploit-react-CVE-2025-55182This repository provides a comprehensive exploit toolkit for CVE-2025-55182 (React2Shell), a critical unauthenticated RCE vulnerability in React Server Components (RSC) and related frameworks (notably Next.js). The toolkit consists of: 1. A browser extension (in the 'extension/' directory) that passively detects RSC/Next.js applications, actively fingerprints endpoints for the Flight protocol, and provides an interactive terminal to execute arbitrary commands on vulnerable servers. The extension uses JavaScript for both detection and payload crafting, and its UI is implemented in HTML/CSS/JS. 2. A Python-based proxy server ('extension_proxy.py') that listens on localhost:8765 and relays exploit payloads to remote targets, bypassing browser CORS restrictions. It constructs multipart/form-data POST requests with serialized JavaScript objects that trigger the RCE via insecure deserialization on the server. 3. An automated reconnaissance script ('shodan_scanner.py') that uses the Shodan API to find potentially vulnerable public hosts by searching for Next.js/RSC indicators, and can test them for the vulnerability using the same exploit payload. The exploit works by sending a specially crafted HTTP POST request to an RSC endpoint, causing the server to execute arbitrary shell commands and return the output in a custom HTTP header. The extension provides command templates (e.g., 'whoami', 'ls -la', etc.) and displays the results in its UI. The toolkit is operational and can be used for both detection and exploitation, but requires the target to be running a vulnerable RSC implementation. No hardcoded target endpoints are present; the user supplies the target URL. The repository is well-structured, with clear separation between the browser extension, proxy, and scanning components.Tiger-Foxx · Disclosed Dec 11, 2025 · javascript · python · network · browserOperationalCOMPLETE-CVE-2025-55182This repository is a comprehensive toolkit for detecting and exploiting the RCE vulnerability CVE-2025-55182 (and related CVE-2025-66478) in Next.js applications using React Server Components (RSC). It includes: - A full-featured exploit (CVE-2025-55182-RCE/exploit.py) that allows remote code execution and reverse shell on vulnerable Next.js servers. The exploit works by sending a crafted multipart/form-data POST request that abuses prototype pollution to execute arbitrary OS commands via Node.js child_process. The output is exfiltrated via a custom HTTP header in the server's response. The exploit supports both direct command execution and reverse shell payloads, with options for payload type and listener configuration. - Detection and scanning tools: - A manual scanner (CVE-2025-55182-MANUAL/scanner.py) for high-fidelity detection, supporting both active RCE and safe side-channel checks, WAF bypass, and Windows/Unix payloads. - An automated Shodan-based scanner (CVE-2025-55182-AUTO-SHODAN-SCANNER/shodan_scanner.py) to find and test public internet-facing targets, with reporting and batch scanning capabilities. - A Chrome extension (CVE-2025-55182-AUTO-SHODAN-SCANNER/extension/) for browser-based detection and exploitation, including a UI for command execution and reverse shell payloads. - A local proxy (extension_proxy.py) to bypass CORS restrictions when testing from the browser extension. - Lab environments (CVE-2025-55182-RCE/lab/) with Docker Compose setups for both vulnerable and patched Next.js instances, allowing for safe local testing and demonstration. The repository targets Next.js applications using vulnerable versions of react-server-dom-webpack and related packages. It provides both detection and exploitation capabilities, with operational-level payloads and multiple attack vectors (network, browser). Numerous real-world vulnerable endpoints are included as examples from Shodan scans. The codebase is primarily Python and JavaScript/TypeScript, with supporting Docker and configuration files.W41T3D3V1L · Disclosed Dec 12, 2025 · python · javascript · network · browserOperationalpoc-cve-nextThis repository is a Go-based proof-of-concept exploit for a remote code execution (RCE) vulnerability in Next.js (referenced as CVE-2025-66478). The exploit consists of several Go source files, with the main logic in 'exploit.go' and the entry point in 'main.go'. The exploit works by connecting to a target Next.js application, extracting a dynamic Action ID from the HTML response, and then sending a specially crafted POST request with a JavaScript payload that leverages Node.js's 'child_process.execSync' to execute arbitrary system commands on the server. The output of the command is exfiltrated via a manipulated redirect mechanism. The exploit is interactive, allowing the user to input commands in a shell-like interface. The only required endpoint is the base URL of the vulnerable Next.js application, which must expose the Action ID in its HTML. The repository is not part of a framework and is a standalone operational exploit.viperh · Disclosed Dec 12, 2025 · go · networkOperationalnext88This repository contains 'next88', a high-performance Go-based scanner and exploit tool targeting React Server Components RCE vulnerabilities (CVE-2025-55182 and CVE-2025-66478) in Next.js applications. The main logic resides in 'main.go', which implements concurrent scanning of single or multiple hosts, supports various payloads for both Unix and Windows targets, and includes advanced WAF bypass techniques (junk data, double encoding, semicolon insertion, and Vercel-specific payloads). The tool can perform both safe (side-channel) and direct RCE PoC checks, detect source code exposure via ACTION_ID extraction, and output results in JSON format. It also supports real-time notifications via Discord webhooks. The README provides comprehensive usage instructions, including command-line options for custom paths, output formats, and integration with the AutoAR project. The Makefile and setup documentation facilitate easy building and integration. The tool is operational and suitable for both vulnerability detection and exploitation in real-world scenarios.h0tak88r · Disclosed Dec 13, 2025 · go · makefile · networkOperational
FAQ

Frequently asked questions

Is CVE-2025-66478 exploited in the wild?
Yes. As of Nov 19, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2025-66478?
Yes. Mallory tracks 57 public exploits or proofs of concept for CVE-2025-66478, the earliest disclosed Jul 15, 2025.
Is there a patch for CVE-2025-66478?
Upgrade affected Next.js deployments to a patched release in the applicable release line: 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, or 16.0.7, or a later supported security release. For experimental canary deployments, follow the corresponding vendor upgrade guidance.
Activity feed

Recent activity

238 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+38 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence5Every report linking this CVE to a named adversary.
Associated malware4Malware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity155Community discussion across Reddit, Mastodon, and other social sources.