CVE-2025–55182: A Deep Dive into React’s Critical Server Comp
A critical unauthenticated remote code execution vulnerability was found in React Server Components, where untrusted payloads sent to React Server Function endpoints could be deserialized into dangerous object graphs. An attacker could send a single crafted HTTP request to execute arbitrary code on the server without authentication.
Published on shaxadd.medium.com
On December 3, 2025, the React team published a rare but alarming security advisory: a critical, unauthenticated remote code execution (RCE) vulnerability affecting React Server Components (RSC).
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
Root cause
Likely unsafe deserialization of attacker-controlled payloads in React Server Function endpoints, allowing crafted input to create object graphs that lead to code execution.
Impact
An unauthenticated attacker could achieve full remote code execution on the server with a single crafted HTTP request, and active scanning and exploitation attempts were observed shortly after disclosure.
What the attacker needed
React Server Components enabled; Network access to the server
The fix
The vulnerability was fixed in React versions 19.0.1, 19.1.2, and 19.2.1, and users were advised to upgrade immediately.
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 parts of a website run on the server instead of in the browser. The server receives data from users and turns it back into program objects, but it did not check that data safely. An attacker could send a specially crafted request that made the server run their code, without needing to log in.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.