CVE-2025-55182 – RCE in React Server Components
github.com·2d·
Discuss: Hacker News
🧪CBOR Fuzzing
Preview
Report Post

CVE-2025-55182

This vulnerability allows RCE in React Server Functions, e.g. as offered by Next.js through insecure prototype references.

I’m not an expert in React or Next.js, so take all the information here with a grain of salt.

Background

React offers Server Functions1, which can be seen as sort of an RPC- over-HTTP. They can be used to fetch data from adjacent peers to ensure low latency, or perform authenticated requests that the client lacks credentials for.

React uses something called the React Flight Protocol2 for serialization of values passed to Server Functions.

The client passes "chunks" to the server, e.g. via form data:

files = {
"0": (...

Similar Posts

Loading similar posts...