Critical RCE Vulnerability in React Server Components Exposes Next.js, Vercel Issues Automated Patch
A critical remote code execution (RCE) vulnerability has been identified within React Server Components, directly impacting major frameworks like Next.js. The flaw, stemming from insecure deserialization in the React Flight protocol, enables unauthenticated attackers to execute arbitrary code on the server. This represents a severe security breach for any application using the affected technology stack.
The vulnerability is formally tracked under GitHub Security Advisory GHSA-9qr9-h5gf-34mp, React's CVE-2025-55182, and Next.js's CVE-2025-66478. Vercel, a primary backer of Next.js, has initiated automated patching efforts, generating pull requests for affected projects like the example portfolio. However, the company explicitly warns that its automated fix cannot be guaranteed as comprehensive and may contain mistakes, urging developers to conduct thorough reviews before merging changes.
The discovery places immense pressure on development teams worldwide to audit and update their Next.js and React Server Component implementations immediately. The risk of exploitation is high, given the widespread adoption of these technologies for modern web applications. This incident triggers intense scrutiny of the security posture surrounding meta-frameworks and server-side rendering protocols, highlighting a critical point of failure that could lead to widespread server compromises if not addressed promptly.