Critical RCE Vulnerability in React Server Components Exposes Next.js and Other Frameworks
A critical remote code execution (RCE) vulnerability has been identified within React Server Components, posing a direct threat to major frameworks like Next.js. The flaw, stemming from insecure deserialization in the React Flight protocol, enables unauthenticated attackers to execute arbitrary code on affected servers. This vulnerability was discovered in the project `nginx-analytics`, highlighting a systemic risk in a foundational web technology.
The security issue is formally tracked under GitHub Security Advisory GHSA-9qr9-h5gf-34mp, React's CVE-2025-55182, and Next.js's CVE-2025-66478. In response, Vercel has generated an automated pull request to assist with patching efforts, though it explicitly warns that the fix may not be comprehensive and could contain errors. Developers are urged to review the provided guidance before merging any changes, as the automated nature of the patch requires manual verification.
The discovery of this RCE flaw places immense pressure on development teams relying on React Server Components for server-side rendering. The vulnerability's presence in a core protocol means widespread impact across the ecosystem, necessitating immediate scrutiny and updates. While patches are being distributed, the potential for exploitation before systems are secured remains a significant operational risk for countless web applications.