Skip to content
RCE Write-up Advanced

CVE-2025–55182 — Critical RCE in React Server Components

CVE-2025-55182 is a critical remote code execution vulnerability in React Server Components (RSC) caused by unsafe deserialization of Flight payloads. An unauthenticated attacker can send a crafted payload to load an arbitrary Node.js module and execute arbitrary code on the server.

medium.com

Published on medium.com

CVE-2025–55182 is a critical remote code execution (RCE) vulnerability affecting React Server Components (RSC) and frameworks that implement RSC, such as Next.js, Waku, and other RSC-enabled stacks. The vulnerability has received a CVSS score of 10.0, placing it in the highest severity category.

Virendra Kumar, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An unauthenticated attacker could execute arbitrary server-side code, read or modify files, escalate privileges, and pivot into internal systems, effectively taking over the server.

What the attacker needed

Target runs vulnerable RSC version; no authentication needed; no user interaction needed

How it was found

  1. Use a technology-detection tool to identify the site's stack.
  2. Check the version of React, Next.js, or RSC-related packages if visible.
  3. If the site appears vulnerable, set up a local copy of a similar stack for testing.
  4. Clone the public exploit repository and change into its directory.
  5. Run the provided nuclei template against the target.
  6. Run the Python exploit script with a command to execute.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

React Server Components (RSC) is a way for a server to send special data to a browser so it can build parts of a web page. This report says the server trusts that data too much: it lets the sender name any internal piece of code and run it. So an attacker can make the server run their own commands without logging in.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.