A critical vulnerability (CVE-2025-66478) has been identified in the React Server Components protocol. Users should upgrade to patched versions immediately.
December 06, 9:05 PM PST: If your application was online and unpatched as of December 4th, 2025 at 1:00 PM PT, we strongly encourage you to rotate any secrets it uses, starting with your most critical ones.
December 06, 7:29 AM PST: An npm package has been released to update affected Next.js apps. Use npx fix-react2shell-next to update now, or visit the GitHub repository to learn more.
A critical vulnerability has been identified in the React Server Components (RSC) protocol. The issue is rated CVSS 10.0 and can allow remote code execution when processing attacker-controlled requests in unpatched environments.
This vulnerability originates in the upstream React implementation ( CVE-2025-55182 ).
This is an excerpt. The full article is published by Next.js Blog.
Answers to common questions regarding this article's topic, architecture, and practical applications.
December 06, 9:05 PM PST: If your application was online and unpatched as of December 4th, 2025 at 1:00 PM PT, we strongly encourage you to rotate any secrets it uses, starting with your most critical ones.
Challenges / Risks
Security advisories: React (CVE-2025-55182) , Next.js (CVE-2025-66478) React blog: Critical Security Vulnerability in React Server Components Vercel Knowledge Base: React2Shell Security Bulletin Netlify Blog: Netlify's response to the critical React security vulnerability AWS Security Blog: China-nexus cyber threat groups rapidly exploit React2Shell vulnerability Google Cloud Blog: Responding to CVE-2025-55182: Secure your React and Next.js workl
General
The vulnerability is fully resolved in the following patched Next.js releases: We also released patched canary releases for Next.js 15 and 16: These versions include the hardened React Server Components implementation.
General
The vulnerable RSC protocol allowed untrusted inputs to influence server-side execution behavior. Under specific conditions, an attacker could craft requests that trigger unintended server execution paths. This can result in remote code execution in unpatched environments. All users should upgrade to a patched version immediately. See the required action section for specific instructions.
General
Applications using React Server Components with the App Router are affected when running: Next.js 13.x, Next.js 14.x stable, Pages Router applications, and the Edge Runtime are not affected.