Skip to content
RCE Write-up Advanced

React2Shell — React Server Components RCE CVE-2025–55182

The text claims a critical remote code execution flaw in React Server Components request handling, said to stem from unsafe deserialisation and command execution paths. It asserts an attacker could run arbitrary system commands on the server, read sensitive files and pivot inside infrastructure.

medium.com

Published on medium.com

The original lives on medium.com

We do not hold its text, 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

Root cause

Likely unsafe deserialisation of RSC request data combined with command execution paths, though the text does not explain the mechanism.

Impact

The text claims full server compromise, including arbitrary command execution, file and secret reading, and possible CI/CD compromise, but offers no evidence or demonstration.

What the attacker needed

Target runs React Server Components or Next.js

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 let a server build parts of a web page and send them to the browser. The text says a mistake in how the server reads those incoming requests could let someone make the server run their own commands, which is called remote code execution. It gives no technical detail about how that actually happens.

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.