A critical remote code execution (RCE) vulnerability, identified as CVE-2025-55182 and granted a maximum CVSS score of 10.0, has been discovered in the React Server Components. This vulnerability affects React versions 19.0 through 19.2.0 as well as Next.js versions 15.x through 16.x. This significant flaw arises from insecure deserialization in the React Server Components Flight protocol, allowing unauthenticated attackers to execute arbitrary code by exploiting how payloads are decoded.
Security experts have compared the severity of this vulnerability to the infamous Log4j incident, emphasizing the urgency for developers to address it promptly. The issue is pervasive, affecting default configurations even if the applications do not explicitly use server functions. Reports suggest that approximately 39% of cloud environments might be susceptible to this flaw, putting a notable portion of the internet infrastructure at risk.
Patches have been released to mitigate this vulnerability: React versions should be updated to 19.0.1, 19.1.2, or 19.2.1, while Next.js applications should upgrade to patched versions such as 15.0.5 and beyond. The React and Next.js teams, alongside hosting providers like Vercel, have initiated platform-level protections, and companies like Cloudflare and Google Cloud have rolled out firewall rules to detect and block exploitation attempts.
Developers are strongly urged to inventory all their React and Next.js applications to ensure they’re running these patched versions. In the event that immediate updates are not feasible, it is advised to isolate these systems and deploy Web Application Firewall (WAF) rules to provide a temporary buffer against potential attacks. Implementing these measures is crucial to safeguard server environments from potential exploitation, as attackers can execute code with near-full success through a single, malformed HTTP request.
Overall, this vulnerability is a significant security concern that needs immediate attention to mitigate potential risks and ensure that applications remain secure from unauthorized access.
0
7
1