Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2025-55182: React2Shell

Published Dec 3, 2025 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days33 mentions · peak 5 in a dayToday
CVSS10.0Critical · v3.1
EPSS53.8%99th percentile
CISA KEVYesAdded Dec 5, 2025
In the wildActivePer CISA KEV
Vendors
VercelMeta Platforms
IdentifiersCVE-2025-55182CWE-502 · Deserialization of Untrusted Data
Also known ascve_2025_55182_(react2shell)react2shell_(cve_2025_55182)react2shell_vulnerabilityreact4shell

React2Shell is a pre-authentication remote code execution vulnerability in React Server Components affecting react-server-dom-parcel, react-server-dom-turbopack, and react-server-dom-webpack versions 19.0.0, 19.1.0, 19.1.1, and 19.2.0. Unsafe deserialization during decoding of attacker-controlled React Flight payloads submitted to Server Function endpoints allows a crafted HTTP request to execute arbitrary code on the application server. Frameworks incorporating affected packages, including Next.js App Router deployments, are also exposed. Exploitation requires neither authentication nor user interaction.

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 within the permissions of the server process. Attackers can steal application configuration, environment secrets, database credentials, cloud credentials, Kubernetes tokens, and API keys; alter application behavior; execute malicious programs; and disrupt services. Observed exploitation has included credential theft, backdoor deployment, and cryptocurrency mining. Concurrent mining on compromised workloads has caused resource starvation and collateral performance degradation in shared hosting infrastructure. Broader cloud or infrastructure compromise depends on the credentials, privileges, and network access available to the application.

Mitigation

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

Until patched deployments are available, restrict network access to affected application endpoints and apply React2Shell-specific WAF protections. On AWS WAF, enable the updated AWSManagedRulesKnownBadInputsRuleSet or deploy and test the corresponding custom blocking rule. Treat WAF filtering as defense in depth rather than a substitute for patching, because exploitation has used multiple request encodings and payload variations. Monitor suspicious Server Function requests, unexpected application-process execution, secret collection, and anomalous credential usage. Client-only React applications and applications without an RSC-capable framework, bundler, or plugin are not affected.

Remediation

Patch, then assume compromise.

Upgrade all affected react-server-dom packages to current supported, patched releases. The initial fixes for this CVE are 19.0.1, 19.1.2, and 19.2.1 in their respective release lines. For affected Next.js deployments, initial patched stable releases are 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, and 16.0.7. Prefer current patch releases because subsequent advisories address additional vulnerabilities. Verify resolved dependency versions in lockfiles and software inventories, reinstall dependencies with patched versions, rebuild, and redeploy affected applications. Investigate potentially exploited servers and revoke or rotate every secret accessible to a compromised process, including SSH keys, database credentials, cloud credentials, and API tokens.

Public exploits

Exploits

305 exploits validated by Mallory's analysis. Hidden: 172 rejected by Mallory's analysis as not a working exploit; 23 not yet analyzed, such as Exploit-DB entries; 119 not loaded here. 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 · networkWeaponizedR2C-CVE-2025-55182-66478This repository is a comprehensive, weaponized exploitation toolkit for CVE-2025-55182 (React Server Components RCE) and CVE-2025-66478 (Next.js Server Actions RCE). It includes: - Burp Suite BCheck scripts for automated detection and active exploitation, supporting both React and Next.js attack surfaces. These scripts use multiple vectors: unsafe deserialization, prototype pollution, and gadget chains, with out-of-band (OOB) validation via DNS and HTTP callbacks to attacker-controlled endpoints. - A Burp Suite extension (React2Shell Pro) providing a full-featured GUI, passive and active scanning, payload library (30+ payloads), and exploitation automation. The extension supports advanced detection, confidence scoring, and integrates with Burp Collaborator for OOB RCE validation. - A Bash-based CLI exploitation framework (scanner_advanced.sh) for interactive and batch exploitation, supporting multiple payloads and cyberpunk-themed UI. - A Python-based Shodan scanner (shodan_scanner_advanced.py) for mass discovery of vulnerable targets, with interactive configuration and JSON reporting. - A Nuclei template (cve-2025-55182.yaml) for automated, zero-false-positive scanning using mathematical validation of RCE. The exploit chain targets unauthenticated network-accessible endpoints, exploiting unsafe deserialization in the Flight protocol and prototype pollution to achieve arbitrary code execution. The toolkit is highly mature, supporting both detection and full exploitation, with payloads for command execution, reverse shells, data exfiltration, and persistence. Multiple endpoints are targeted, including '/', '/_next', '/_next/data', and custom Next.js/React RSC endpoints. OOB validation is performed via DNS and HTTP callbacks to attacker-controlled domains (e.g., {collab}). The repository is suitable for red team operations, penetration testing, and vulnerability research against modern React and Next.js applications. It is not a detection-only toolkit; it provides full exploitation capabilities and is considered weaponized.cybertechajju · Disclosed Dec 7, 2025 · python · bash · networkWeaponizedCVE-2025-55182-Simple-Scanner-mainThis repository is a multi-implementation exploit toolkit for CVE-2025-55182, a claimed unauthenticated remote code execution issue in React Server Components / Next.js server actions caused by unsafe deserialization. The repo contains 6 files: a Nuclei template (CVE-2025-55182.yaml), a README, a Bash scanner/exploiter, a Go implementation, and a Python implementation. Because the repository includes a Nuclei template, it can be considered framework-associated, but the repo also ships standalone exploit clients. Main capability: all implementations send a crafted multipart/form-data POST request to the target root path (/), setting Next.js-specific headers such as Next-Action, X-Nextjs-Request-Id, and X-Nextjs-Html-Request-Id. The malicious form field contains JSON that abuses prototype/constructor resolution and injects JavaScript into the _response._prefix field. That JavaScript calls process.mainModule.require('child_process').execSync('<attacker command>') on the server, captures stdout, and forces a NEXT_REDIRECT exception whose digest embeds the command output in /login?a=<output>;307;. The client then parses the X-Action-Redirect response header to determine success and recover output. Repository structure and purpose: the Nuclei YAML is a detection/exploitation check that runs arithmetic commands via either Unix shell syntax or PowerShell and validates success by matching the redirect header. The Bash script is the most feature-rich component, supporting single-target mode and mass scanning from a list, automatic protocol normalization, temporary multipart body generation, output decoding, and saving vulnerable hosts to vulnerable_hosts.txt. The Python script is a simpler standalone exploit emphasizing safer JSON escaping and disabled TLS verification. The Go program provides a compilable high-performance client, also disabling TLS verification and refusing redirects so the header can be inspected directly. Operationally, this is more than a detector: it supports arbitrary attacker-supplied commands and mass exploitation workflows. The README explicitly documents reconnaissance steps using subfinder, httpx, and nuclei, then exploitation with custom commands such as id, whoami, uname -a, and cat /etc/passwd. No hardcoded C2 or external callback infrastructure is present; the exploit is self-contained and uses the target application's own redirect header as the exfiltration channel.jan0x190 · Disclosed Dec 8, 2025 · Framework: nuclei · yaml · bash · web · networkWeaponizedCVE-2025-55182-Auto-Exploit-ToolkitThis repository is a weaponized, automated exploitation toolkit targeting CVE-2025-55182, a critical web application vulnerability (likely prototype pollution leading to RCE). The main script, auto_exploit.py, is a comprehensive Python tool that automates reconnaissance, payload generation, delivery, and post-exploitation (including an interactive RCE shell and file upload capabilities). It features over 20 payload variants, including obfuscated and encoded forms, and implements techniques to bypass WAFs/Cloudflare (randomized headers, encoding, and cookie management). The tool is designed for both automated and interactive exploitation, with reporting and logging features. The README provides detailed usage instructions, example outputs, and describes the architecture and features. The toolkit is suitable for red-team operations and advanced penetration testing, and is not a simple PoC but a full-featured exploitation framework. The only code file is auto_exploit.py, which is the entry point and contains all exploit logic. No hardcoded IPs or domains are present; the tool is designed to be used against arbitrary targets specified by the user.hadipra5 · Disclosed Dec 9, 2025 · python · networkWeaponizedReact2ShellThis repository, React2Shell, is a comprehensive exploit and scanning toolkit for CVE-2025-55182, a critical unauthenticated remote code execution (RCE) vulnerability in React Server Components (RSC) and Next.js App Router. The toolkit includes: - A Python CLI tool (cli/react2shell.py) for scanning, command execution, reverse shell, file reading, and interactive shell against vulnerable targets. It supports WAF bypass, proxying, and batch scanning. - A Chrome browser extension for in-browser detection, fingerprinting, and exploitation of the vulnerability. - A full Docker-based lab environment (lab/) with vulnerable, patched, and WAF-protected Next.js instances for safe testing, including CTF flags to demonstrate impact. - Nuclei templates for automated scanning and detection. The exploit leverages prototype pollution in the React Flight protocol, allowing arbitrary command execution via specially crafted multipart POST requests to RSC endpoints. The payload is highly weaponized, supporting multiple attack modes and bypass techniques. The repository also provides extensive documentation, usage examples, and detection/fingerprinting logic. Multiple HTTP endpoints are targeted, including custom paths (e.g., /adfa), API endpoints, and standard Next.js routes. Sensitive files such as /root/flag.txt and /app/.env are used to demonstrate the impact of successful exploitation. The toolkit is suitable for both red team operations and blue team defense validation, and is intended for authorized security testing only.sho-luv · Disclosed Dec 12, 2025 · python · javascript · networkWeaponizedCVE-2025-55182-POCRepository purpose: a Go-based scanner/exploitation tool for CVE-2025-55182 targeting Next.js applications, supporting bulk scanning and multiple post-exploitation actions (command execution, Godzilla in-memory webshell injection, and reverse shell). Structure (14 files): - main.go: primary entry point implementing CLI parsing, target ingestion (single URL, file list, directory of .txt lists), concurrency via worker pool, progress/statistics, and result reporting/saving. - protocol/*: custom HTTP client wrapper (GET/POST) with redirect handling, TLS cert parsing, gzip body handling, randomized User-Agent, and optional proxy support. Notable operational choices include InsecureSkipVerify=true and Connection: close with DisableKeepAlives=true to avoid connection reuse/leaks during high-concurrency scanning. - utils/*: payload generation and helper utilities. - utils/payload.go: generates (a) a Godzilla-compatible memory shell injection that hooks Node’s http server request handling and activates on a specific header (Next-Action) derived from a random key; uses RC4 to decrypt/encrypt command channel data; returns connection parameters (pass/key/actionHash/digest). Also generates a Linux reverse shell payload using nc and a FIFO in /tmp. - utils/crypto.go: builds an AES-256-CBC encrypted JavaScript stub that decrypts base64 ciphertext and eval()s it on the target (used to obfuscate payloads). - utils/utils.go: URL normalization, deduplication, URL decode, random string helpers, JSON marshaling without HTML escaping, and chunked writing of env/sensitive-scan outputs to env_<timestamp>_<idx>.json. - README.md: documents capabilities and CLI flags; explicitly states support for batch detection, command execution, Godzilla memory shell injection, reverse shell, proxying, and saving results to success.json. Exploit capabilities observed in code/README: - Network-based scanning of multiple targets with configurable threads/timeouts. - Vulnerability verification (described as random-number product check). - Remote command execution on vulnerable Next.js targets (Windows/Linux mentioned). - In-memory Godzilla webshell injection: persistence via http.Server.prototype.emit hook; trigger via Next-Action header; RC4-encrypted request/response channel; outputs operator connection details. - Reverse shell: spawns sh with a netcat callback to operator-supplied IP:PORT. Fingerprintable observables/endpoints: - Output artifacts: success.json; env_<timestamp>_<idx>.json; ignored paths results/, data/, target_list.txt, config.ini. - Operator infrastructure: optional HTTP proxy (commonly http://127.0.0.1:8080); reverse shell destination IP:PORT provided via -rs. - On-target indicators: Next-Action header value (sha1 of random key); Node.js module usage (child_process, crypto); /tmp/f FIFO usage; NEXT_REDIRECT error/digest strings used in payload control flow. Overall assessment: This is an operational exploit/scanner (not just detection) with customizable operator inputs (targets, proxy, command, reverse shell address) and multiple payload modes, making it closer to weaponized tooling than a minimal PoC.luoqichen · Disclosed Mar 6, 2026 · go · networkWeaponizedCVE-2025-55182This repository demonstrates an exploit for CVE-2025-55182, a pre-authentication remote code execution (RCE) vulnerability in React Server Components (version 19.0.0, as per package.json). The repository contains both a vulnerable server implementation (server.js) and an exploit script (exploit.js). The exploit works by sending a specially crafted POST request with form data to the vulnerable server at http://localhost:3000. The form data is constructed to abuse the decodeReply function from react-server-dom-webpack, ultimately injecting arbitrary JavaScript code that is executed on the server. The injected code uses Node.js's child_process.execSync to run system commands, and the output is returned in the HTTP response. The repository structure includes: - exploit.js: The main exploit script, which takes a command as an argument and sends the exploit payload to the server. - server.js: A minimal vulnerable server that demonstrates the flaw in handling React Server Component actions. - webpack-runtime.js: A shim to mimic Webpack's module loading in a raw Node.js environment. - package.json and package-lock.json: Define dependencies, notably react-server-dom-webpack@19.0.0. - Dockerfile: For containerized setup of the vulnerable environment. The exploit is operational and demonstrates real code execution, but is not weaponized for mass exploitation. The only network endpoint targeted is http://localhost:3000, as set up by the included server.js. The README provides user instructions and context for the vulnerability and exploit.wiixx44 · Disclosed Sep 18, 2021 · javascript · json · networkOperationalCVE-2025-55182-React2Shell-RCE-ShellThis repository contains a Python-based exploit tool for CVE-2025-55182, a critical prototype pollution vulnerability in Next.js applications that can lead to remote code execution (RCE). The main file, 'CVE-2025-55182-exploit.py', is a comprehensive script that allows an attacker to interactively exploit the vulnerability by sending specially crafted HTTP requests to a target Next.js application. The exploit leverages prototype pollution to inject a malicious property into the application's JavaScript prototype chain, ultimately executing arbitrary system commands on the server via Node.js's child_process.execSync. The tool provides an interactive shell interface, encoding command output in base64 for reliable transmission. The README.md provides usage instructions, system requirements, and ethical guidelines. The exploit is operational and suitable for penetration testing and security research against vulnerable Next.js deployments accessible over the network.MysticalHearts · Disclosed Jan 27, 2023 · python · networkOperationalCVE-2025-55182-expThis repository contains a single main exploit script (exp.py) targeting CVE-2025-55182, a remote code execution vulnerability in React Server Components (react-server-dom-webpack 19.0.0-19.2.0) and Next.js (15.x, 16.x) with App Router and Server Actions enabled. The exploit leverages prototype pollution in the Flight protocol deserialization to achieve arbitrary code execution on the server. The script is written in Python and provides a command-line interface for checking vulnerability, executing arbitrary commands, establishing a reverse shell, or exfiltrating data from the target. It supports both single-target and batch modes, includes stealth features (randomized User-Agents, proxy support), and can be used for authorized penetration testing and research. The only code file is exp.py; other files are documentation, license, and configuration. The exploit is operational, providing real RCE capabilities, but is not part of a larger framework.iksanwkk · Disclosed Apr 24, 2024 · python · networkOperationalCVE-2025-55182This repository provides a working exploit for CVE-2025-55182, a critical Remote Code Execution (RCE) vulnerability in React Server Components (Next.js) due to prototype pollution in the React Flight Protocol deserialization process. The main exploit script (CVE-2025-55182.py) is a Python tool that allows an attacker to send a specially crafted multipart/form-data POST request to a target server. The payload leverages prototype pollution to gain access to the Function constructor and injects JavaScript code that executes arbitrary shell commands on the server. The output of the command is exfiltrated via the X-Action-Redirect (NEXT_REDIRECT) HTTP header. The script supports both HTTP and HTTPS targets, allows disabling SSL verification, and provides verbose output for debugging. The included YAML file (cve-2025-55182.yaml) is a Nuclei template for automated scanning and detection of the vulnerability, using a similar payload and matching on the command output in the response headers. The README provides installation and usage instructions, system requirements, and an overview of the tool's features. The exploit is operational and can be used to achieve remote code execution on vulnerable Next.js servers across multiple platforms (Linux, Windows, macOS).phornnato · Disclosed May 28, 2024 · python · yaml · networkOperationalReactExploitGUIThis repository, ReactExploitGUI, is a comprehensive exploitation toolkit targeting CVE-2025-55182 in Next.js applications. It provides a cross-platform GUI (PySide6-based) for Windows and macOS, as well as a Python source code version. The tool is capable of: - Detecting the presence of CVE-2025-55182 on remote Next.js targets. - Executing arbitrary system commands (RCE) on both Linux and Windows targets via a crafted multipart/form-data POST request that abuses Node.js internals. - Injecting memory-resident webshells (memshells) that support C2 frameworks like Godzilla and AntSword, as well as a simple custom shell. - Establishing reverse shells to attacker-controlled hosts, with payloads for both Linux (bash/nc) and Windows (PowerShell). - Bypassing WAFs using various obfuscation and encoding techniques. The repository is structured with clear separation between detection (core/detector.py), exploitation (core/exploit.py), memory shell injection (core/memshell.py), reverse shell (core/reverse_shell.py), payload construction (core/payload_builder.py), and WAF bypass (core/waf_bypass.py). The GUI is implemented in gui/main_window.py, and main.py serves as the main entry point for launching the application. The tool does not hardcode any specific target endpoints but dynamically constructs payloads and endpoints based on user input. However, it does use certain fixed endpoints for webshell C2 (e.g., /api/v1/n0rth, /api/v1/a0t) and for exfiltrating command output (/login?a=...). Overall, this is a mature, operational exploit toolkit with a user-friendly interface, supporting both detection and full exploitation (RCE, webshell, reverse shell) of CVE-2025-55182 in Next.js applications.vick333-peniel · Disclosed Apr 21, 2025 · python · yaml · networkOperationalCVE-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 · networkOperationalAshwesker-CVE-2025-55182This repository provides a fully operational exploit for CVE-2025-55182, a critical unauthenticated remote code execution (RCE) vulnerability affecting Next.js (versions 14.3.0-canary.77 through 16.x) and React 19.x with React Server Components enabled. The exploit leverages unsafe deserialization in the React Flight Protocol, allowing attackers to execute arbitrary system commands or spawn a reverse shell on the target server without authentication. The repository contains two main Python scripts: - CVE-2025-55182.py: A proof-of-concept exploit that sends a crafted multipart/form-data POST request to the '/_next/static/chunks/react-flight' endpoint, executing arbitrary commands provided by the attacker. - CVE-2025-55182-revshell.py: An automated reverse shell exploit that attempts multiple payloads (bash, netcat, PowerShell) to establish a shell connection back to the attacker's machine. A Nuclei-compatible YAML template (CVE-2025-55182.yaml) is also included for detection and fingerprinting of vulnerable targets, probing both the main and alternative endpoints. The exploit is highly effective, requiring no authentication or user interaction, and can result in full system compromise. The README provides detailed usage instructions, affected product versions, and mitigation advice. The attack vector is purely network-based, targeting exposed Next.js/React RSC endpoints. The payloads are delivered via HTTP POST requests, and the exploit supports both Linux and Windows targets.Ashwesker · Disclosed Dec 3, 2025 · python · yaml · networkOperationalBlackash-CVE-2025-55182Repository contains two Python exploit scripts and a README describing an alleged unauthenticated RCE in React Server Components/Next.js (CVE-2025-55182). The core technique in both scripts is a network-delivered multipart/form-data POST to the default Next.js App Router Flight endpoint `/_next/static/chunks/react-flight`, embedding a crafted payload that looks like an unsafe deserialization of a `Function` object. The injected JavaScript calls `global.process.mainModule.require('child_process').exec('<command>')` to execute arbitrary OS commands on the server. Structure/purpose: - `CVE-2025-55182.py`: General-purpose unauthenticated RCE PoC. Takes `<target_url>` and an arbitrary `<command>`, builds the multipart body with a fixed boundary, and POSTs to the Flight endpoint with TLS verification disabled. It treats several HTTP status codes (200/400/404/500) as indicative that the payload was delivered. - `CVE-2025-55182-revshell.py`: Operationalized variant that attempts to obtain an interactive session. It takes `<target_url>` and `<LHOST:LPORT>`, then sends up to three command payloads intended to work across Linux/Windows: (1) bash `/dev/tcp` reverse shell, (2) netcat FIFO reverse shell using `/tmp/f`, (3) PowerShell TCP reverse shell. It posts each payload to the same Flight endpoint. - `README.md`: Marketing-style description, affected version claims, and copy/paste usage examples including exfiltration to `webhook.site` and downloading tools from an attacker HTTP server. Main exploit capabilities: - Unauthenticated remote command execution against a reachable Next.js RSC/Flight endpoint. - Reverse shell establishment to an attacker-controlled TCP listener (netcat) via multiple OS-specific payloads. Notable observables: - Target path: `/_next/static/chunks/react-flight`. - User-Agent strings: `Mozilla/5.0 (CVE-2025-55182 PoC)` and `Mozilla/5.0 (CVE-2025-55182)`. - Multipart boundaries: `----WebKitFormBoundaryCVE202555182` and `----WebKitFormBoundary1337pwn`. Overall, this is exploit code (not merely detection) that attempts to achieve RCE and optionally an interactive reverse shell by abusing a presumed unsafe deserialization pathway in React/Next.js server-side request handling.shen771 · Disclosed Dec 4, 2025 · python · markdown · networkOperationalCVE-2025-55182-POC-SCANNERRepository purpose: a security research toolkit for CVE-2025-55182 (React Server Components / Next.js Server Actions) providing both vulnerability scanning and active exploitation. Key capability described (docs): the React Flight/Server Actions decoding path ultimately calls react-server-dom-webpack's requireModule(metadata) and returns moduleExports[metadata[2]] without an own-property check. By controlling the server reference id in the form module#export syntax (notably using #constructor) and leveraging property-chain traversal in bound arguments, an unauthenticated attacker can reach powerful Node.js gadgets if they are present in the server webpack bundle. Exploit capabilities (as documented in scanner/readme.md and technical analysis): - Pre-auth network exploitation via crafted Server Action/Flight requests. - Gadget probing/detection for vm, child_process, fs, module. - RCE via vm.runInThisContext / vm.runInNewContext or child_process exec/spawn variants. - Arbitrary file read/write via fs.readFileSync / fs.writeFileSync. - Two-step RCE concept: write a malicious JS module then load it via module#_load (noted as less likely in real bundles). - Persistence/data-theft workflows: extract SSH keys, cloud credentials, shell configuration files, and system files. - Batch and auto scanning modes with concurrency, WAF/CDN detection, exploit verification, and report generation (text/JSON/HTML) are claimed in documentation. Repository structure (8 files): - Top-level README.md: high-level CVE description, affected versions, references. - docs/TECHNICAL-ANALYSIS.md: deep dive into vulnerable functions (resolveServerReference, requireModule, getOutlinedModel) and gadget chains/payload examples. - docs/VULNERABLE-PACKAGES.md: research on npm packages likely to pull dangerous Node built-ins into bundles. - scanner/ package: only __init__.py is present in provided content; it exports many classes (Scanner/Exploiter/AutoScanner/ExploitEngine, enums, dataclasses), implying a larger implementation (e.g., scanner/scanner.py) that is not included in the analyzed file listing. - scanner/readme.md: usage guide and modes; shows intended CLI entrypoint 'python scanner.py ...' but scanner.py is not present in the provided files. - scanner/requirements.txt: requests dependency. - tests/test_scanner.py: unit tests for the exported API (colors, enums, dataclasses, batch tester), again implying missing core implementation modules. Assessment: This is not a standalone exploit drop-in as provided here; it is an operationally oriented scanner/exploitation toolkit by design, but the core exploit/scanner implementation files referenced by imports and usage (e.g., scanner.py / scanner/scanner.py) are absent from the supplied repository snapshot. The documentation, however, clearly describes the intended network entry point (POST /formaction with $ACTION_* fields) and payload/gadget mechanisms for achieving pre-auth RCE and file/persistence actions on vulnerable React/Next.js deployments.im-hanzou · Disclosed Dec 4, 2025 · python · markdown · network (pre-auth HTTP POST to React Server Actions / Flight endpoint; prototype-chain property access leading to gadget invocation and RCE)OperationalCVE-2025-55182-react2shellThis repository is a real exploit toolkit for CVE-2025-55182, not just a detector. Its primary component is `react2shell.mjs`, a standalone Node.js exploit that crafts malicious multipart React Server Components / Next.js Server Actions requests to achieve unauthenticated RCE. The exploit sends POST requests directly to a supplied target URL with a `Next-Action` header and `multipart/form-data` body, abusing Flight protocol references such as `$1:__proto__:then` and `$1:constructor:constructor` to reach the JavaScript `Function` constructor. It then executes attacker-controlled JavaScript that invokes `child_process.execSync()` for command execution with output capture, or `child_process.spawn()` for detached/background execution. Capabilities in the main exploit include: single command execution (`-c`), blind execution (`--blind`), interactive pseudo-shell (`-i`), and binary deployment (`--deploy`). Deployment mode is more advanced than a simple PoC: it auto-selects or accepts an LHOST, starts a temporary HTTP server on the attacker side, instructs the target to download the binary via `curl`/`wget`, chmod it, and execute it detached so it survives the built-in 5-second synchronous execution timeout. Output is exfiltrated by parsing the RSC error `digest` field from the server response. The repository also contains a separate Bash scanner, `cve-2025-55182-check.sh`, which is a detection utility rather than the exploit itself. It tests one or more URLs using crafted multipart payloads and classifies targets based on HTTP behavior: 500 as vulnerable, 400 as patched, and 404 as not found. Additional detection templates are provided for Nuclei, Burp Suite, and OWASP ZAP under `templates/`. Supporting material includes `TECHNICAL.md`, which documents the exploit chain in detail; `poc/vuln-app/`, a deliberately vulnerable Next.js 15.0.0 / React 19.0.0 demo application exposing a server action; and `test/fixture/` plus `test/exploit.test.mjs`, which provide an automated integration-test environment validating command execution and deployment behavior against a local vulnerable instance. Overall, the repository is structured as a practical offensive toolkit with both exploitation and detection components centered on vulnerable Next.js/React Server Actions deployments.Saturate · Disclosed Dec 5, 2025 · javascript · typescript · network · webOperationalPOC-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 · networkOperationalreact2shellThis repository contains a proof-of-concept exploit for CVE-2025-55182, an unauthenticated remote code execution vulnerability in Next.js (various versions). The exploit is implemented in a single Python script (react2shell.py) and is accompanied by a README.md with usage instructions and references. The script allows an attacker to check if a target is vulnerable and, if so, to execute arbitrary shell commands or spawn a reverse shell by sending a specially crafted HTTP POST request to the target's web server. The payload leverages Node.js's child_process.execSync to execute commands. The exploit is operational and can be used to gain shell access to vulnerable Next.js servers without authentication. The only code file is 'react2shell.py', which serves as the entry point and contains all exploit logic.xkey8 · Disclosed Dec 5, 2025 · python · networkOperationalreact2shell-labThis repository is a comprehensive lab environment for demonstrating and testing CVE-2025-55182, a critical unauthenticated remote code execution (RCE) vulnerability in React Server Components (React 19.0.0-19.2.0) and Next.js (15.x-16.x). The structure includes a vulnerable Next.js application (app/), a working proof-of-concept exploit (exploit/rce_final.py), and a vulnerability checker script (check-cve.sh). The main exploit is implemented in Python and crafts a malicious multipart/form-data POST request to the server (default: http://localhost:3000), exploiting unsafe deserialization and prototype pollution to execute arbitrary system commands via Node.js's child_process module. The exploit supports arbitrary command execution, file manipulation, and reverse shell payloads. The repository also includes documentation, configuration files, and static assets for the lab environment. The exploit is operational and provides full server compromise if the target is vulnerable. No hardcoded external IPs or domains are present; the default target is localhost, but this can be changed by the user.alsaut1 · Disclosed Dec 5, 2025 · python · typescript · networkOperationalCVE-2025-55182_full_exploitThis repository provides a full exploit for CVE-2025-55182, a remote code execution (RCE) vulnerability in Next.js. The main file, 'exploit.py', is a Python script that takes a list of target URLs and a command to execute. For each target, it sends a specially crafted multipart POST request to the root endpoint of the target web application. The payload leverages a prototype pollution and JavaScript injection technique to execute arbitrary shell commands on the server via Node.js's 'child_process.execSync'. The output of the command is extracted from the HTTP response and displayed to the user. The exploit is operational and automates both detection and exploitation, providing direct command execution on vulnerable servers. The repository also includes a 'requirements.txt' for dependencies and a README with usage instructions. No hardcoded endpoints are present; the script targets user-supplied URLs.mohit121312 · Disclosed Dec 5, 2025 · python · networkOperationalCVE-2025-55182-bypassThis repository contains a set of operational exploits for CVE-2025-55182, a critical vulnerability in Next.js (15.x, 16.x) and react-server-dom-webpack (19.0.0-19.2.0) that allows remote code execution (RCE) via crafted multipart/form-data POST requests. The exploit bypasses WAF rules by omitting the 'Next-Action' header, using only multipart form fields with specific $ACTION_* names and JSON payloads that trigger the vulnerable code path. The repository includes: - 'test-bypass-2step.cjs': A two-step exploit script that extracts action IDs from the target page and sends a crafted payload to achieve RCE, writing a proof file to /tmp/2STEP-RCE.txt. - 'test-chunked-v14.cjs': An advanced exploit that uses chunked transfer encoding and large padding to evade WAFs, sending the payload in a second chunk after exhausting WAF inspection buffers. - 'antibot.cjs': A Puppeteer-based exploit that automates browser interaction to bypass JavaScript challenges (e.g., Cloudflare, Vercel) and deliver the payload via browser fetch, supporting various encoding and evasion options. - A minimal Next.js application (app/actions.js, app/page.js, app/layout.js) for local testing. The exploits are highly customizable, support multiple evasion techniques (chunked transfer, unicode escapes, variable field names), and demonstrate successful RCE on both local and remote targets. The README provides detailed technical background, payload structure, WAF evasion strategies, affected versions, and remediation advice. The main attack vector is network-based, targeting HTTP POST endpoints on vulnerable Next.js/react-server-dom-webpack servers. The repository is operational and suitable for real-world exploitation and testing.ejpir · Disclosed Dec 5, 2025 · javascript · nodejs · networkOperationalReact2Shell_CVE-2025-55182This repository provides a fully operational exploit for CVE-2025-55182, a critical unauthenticated remote code execution (RCE) vulnerability in React Server Components (RSC) as used in Next.js applications. The main script, 'CVE-2025-55182.py', is a Python tool that launches an interactive shell, allowing the attacker to execute arbitrary system commands on a vulnerable server via the RSC protocol endpoint. The exploit works by sending a crafted multipart/form-data POST request with a malicious JSON payload that triggers a deserialization flaw, resulting in arbitrary JavaScript execution on the server. The exploit is highly configurable: it supports command-line arguments for host, port, endpoint, and advanced session options (such as SSL verification). It also features a modular WAF bypass system, with modules located in the 'waf_modules' directory (e.g., 'cloudflare_waf_bypass.py', 'vercel_waf_bypass.py'), each providing a 'modify_request' function to alter the exploit payload for bypassing specific web application firewalls. The repository includes a README with detailed usage instructions, affected and patched versions, and legal disclaimers. The exploit is not part of a larger framework and is self-contained. The only network endpoint directly targeted is the RSC HTTP(S) endpoint of the vulnerable application, which is user-supplied at runtime. No hardcoded IPs, domains, or additional endpoints are present. The code is mature and operational, providing a real shell if the target is vulnerable.yanoshercohen · Disclosed Dec 5, 2025 · python · networkOperationalCVE-2025-55182This repository is a comprehensive security toolkit for detecting and exploiting two critical RCE vulnerabilities (CVE-2025-55182 and CVE-2025-66478) in React Server Components (RSC) / Next.js applications. The toolkit consists of: 1. A Chrome extension (files in the 'extension/' directory) that passively and actively detects vulnerable Next.js/RSC applications when browsing, and provides a UI for executing arbitrary commands on vulnerable targets. The extension includes content scripts for detection, a popup interface for user interaction, and background scripts for communication. 2. A Python-based CORS proxy (extension_proxy.py) that allows the extension or other tools to bypass browser CORS restrictions when sending crafted exploit payloads to remote targets. The proxy constructs multipart/form-data POST requests with a payload that triggers command execution on the server, and returns the output via a custom HTTP header. 3. A Shodan scanner (shodan_scanner.py) that uses the Shodan API to search for potentially vulnerable public hosts running Next.js/RSC, and can automate vulnerability checks and exploitation attempts against them. The exploit payload leverages a deserialization or prototype pollution flaw in Next.js/RSC to inject JavaScript code that executes arbitrary shell commands on the server using Node.js's child_process module. The output is exfiltrated via a crafted HTTP redirect header. The toolkit is operational and provides both detection and exploitation capabilities, with a user-friendly interface and automation features for large-scale scanning. No hardcoded target domains or IPs are present; the toolkit is designed to be used interactively or in bulk against user-supplied or discovered targets.emredavut · Disclosed Dec 6, 2025 · javascript · python · networkOperationalcve-2025-55182-test-lab-windowsThis repository provides a comprehensive test environment for CVE-2025-55182 (React2Shell), a critical remote code execution (RCE) vulnerability affecting React 19.x and Next.js 15.x. The environment includes Dockerized vulnerable and patched Next.js applications, WAF (NGINX and Apache ModSecurity) configurations, and automated exploit scripts. The main exploit (tests/exploit-working.js) demonstrates a working RCE by abusing prototype pollution and deserialization in the React Flight protocol. The exploit crafts a multipart/form-data POST request with a malicious payload that pollutes Object.prototype and leverages the Function constructor gadget to execute arbitrary shell commands on the server. The exploit is fully automated and can be run via Node.js or PowerShell/batch wrappers. The repository also includes WAF rules for both NGINX and Apache ModSecurity, designed to detect and block known exploit patterns in headers and request bodies. The test environment exposes several HTTP endpoints for the vulnerable and patched apps, as well as WAF-protected proxies. Health check and API endpoints are provided for monitoring and validation. Overall, this repository is a high-fidelity operational exploit and defense testbed for CVE-2025-55182, suitable for both offensive and defensive security research. The exploit is confirmed to work against default Next.js/React deployments prior to the patched versions, and the included WAF rules provide practical detection and mitigation strategies.fankh · Disclosed Dec 6, 2025 · javascript · json · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Meta PlatformsReactapplication
VercelNext.Jsapplication
FAQ

Frequently asked questions

Is CVE-2025-55182 exploited in the wild?
Yes. As of Nov 28, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Dec 5, 2025.
Is there a public exploit for CVE-2025-55182?
Yes. Mallory tracks 305 public exploits or proofs of concept for CVE-2025-55182, the earliest disclosed Sep 18, 2021.
Is there a patch for CVE-2025-55182?
Upgrade all affected react-server-dom packages to current supported, patched releases. The initial fixes for this CVE are 19.0.1, 19.1.2, and 19.2.1 in their respective release lines.
What products are affected by CVE-2025-55182?
Vercel Next.Js and Meta Platforms React.
How severe is CVE-2025-55182?
CVE-2025-55182 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 53.8% (99th percentile) as of Nov 28, 2026.
Activity feed

Recent activity

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

View more in app →
+148 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 evidence129Every report linking this CVE to a named adversary.
Associated malware265Malware families linked to this CVE, with evidence and IOCs.
Detection signatures6YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity45Community discussion across Reddit, Mastodon, and other social sources.