Rapid7

module

Unauthenticated RCE in React Server Components (React2Shell)

Disclosed
Dec 3, 2025
Created
Dec 9, 2025

Description

A critical unauthenticated Remote Code Execution (RCE) vulnerability exists in React Server
Components (RSC) Flight protocol. The vulnerability allows attackers to achieve prototype
pollution during deserialization of RSC payloads by sending specially crafted multipart
requests with "__proto__", "constructor", or "prototype" as module names.

This module supports multiple vulnerable frameworks including Next.js and Waku.

Authors

Maksim Rogov
Valentin Lobstein [email protected]
Lachlan Davidson
maple3142

Platform

Linux,Unix,Windows

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/multi/http/react2shell_unauth_rce_cve_2025_55182
msf exploit(react2shell_unauth_rce_cve_2025_55182) > show targets
...targets...
msf exploit(react2shell_unauth_rce_cve_2025_55182) > set TARGET < target-id >
msf exploit(react2shell_unauth_rce_cve_2025_55182) > show options
...show and set options...
msf exploit(react2shell_unauth_rce_cve_2025_55182) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.