Back to blog

Technology

Cloudflare Outage on December 5, 2025: How a React RCE Vulnerability Triggered a Global Incident

Cloudflare outage December 5 2025, CVE-2025-55182, React Server Components vulnerability, Next.js security issue, Cloudflare investigation, HTTP 500 errors Cloudflare, FL1 proxy, WAF rules, RCE vulnerability React, Cloudflare December 2025 incident

By Emmanuel MarkDEC 6, 2025
Cloudflare Outage on December 5, 2025: How a React RCE Vulnerability Triggered a Global Incident

On December 5, 2025, a 25-minute Cloudflare outage disrupted approximately 28% of global HTTP traffic, impacting millions of websites, mobile apps, and API-driven services. The incident began at 08:47 UTC and was resolved at 09:12 UTC, but despite its short duration, it had an unusually broad global footprint.

Cloudflare confirmed the outage was not caused by a cyberattack, DDoS campaign, or malicious activity. Instead, the disruption was the unintended consequence of a rapid security response to a critical-severity vulnerability in React Server Components (CVE-2025-55182) — a serious Remote Code Execution (RCE) flaw affecting React 19, Next.js, and other frameworks built on the React Server Components (RSC) architecture.

This article provides an in-depth investigative overview of the event, connecting the dots between the underlying React vulnerability, Cloudflare’s emergency mitigations, a legacy code flaw, and how a single global configuration change caused widespread HTTP 500 errors.

1. Background: A Critical RCE Vulnerability in React Server Components (CVE-2025-55182)

In early December 2025, security researchers disclosed CVE-2025-55182, a high-impact RCE vulnerability affecting the implementation of React Server Components. Under specific conditions, specially crafted requests could cause vulnerable applications to process untrusted input, enabling attackers to execute arbitrary server-side code.

Affected React Server Components packages

The vulnerability impacted the following packages in versions 19.0.0, 19.1.0, 19.1.1, and 19.2.0:

  • react-server-dom-parcel
  • react-server-dom-webpack
  • react-server-dom-turbopack

Since these packages ship as part of popular full-stack frameworks, the vulnerability spread widely and rapidly.

Affected frameworks and ecosystems

This RCE flaw extended to:

  • Next.js (versions ≥14.3.0-canary.77, 15.x, and 16.x)
  • Frameworks using RSC implementations, including Vite, Parcel, React Router, RedwoodSDK, and Waku

Given the prevalence of React-based ecosystems, CVE-2025-55182 instantly became one of the most urgent web vulnerabilities of the year.

2. Emergency Mitigations: Why Cloudflare Needed to Act Quickly

Cloudflare, Vercel, and other major Internet providers raced to deploy mitigations immediately. Cloudflare developed new Web Application Firewall (WAF) rules to detect and block malicious payloads targeting the vulnerability.

To analyze HTTP request bodies for malicious patterns, Cloudflare’s WAF buffers content in memory. Historically, the buffer cap was 128KB. However, many Next.js applications accept larger payloads, and to maximize protection against CVE-2025-55182, Cloudflare engineers increased the buffer limit to 1MB—aligning with Next.js defaults.

This change was rolled out gradually and safely.

The second change, however, was not.

3. The High-Risk Change That Triggered the Outage

During the rollout, engineers noticed that Cloudflare’s internal WAF testing tool did not support the enlarged buffer size. Because this tool was not required at the time, Cloudflare disabled it using their global configuration system.

This is where the problem began.

Unlike Cloudflare’s safer “gradual deployment” pipeline:

  • The global configuration system deploys instantly
  • It does not support staged rollouts
  • It does not provide pre-deployment health checks

This system had already contributed to the [@portabletext/react] Unknown block type "span", specify a component for it in the `components.types` prop, and was under internal review — but not yet replaced.

The December 5 configuration change propagated within seconds across Cloudflare’s entire network.

4. The Hidden Legacy Bug in Cloudflare’s FL1 Proxy

Only customers served by Cloudflare’s legacy FL1 proxy and using Cloudflare Managed Rulesets were affected.

Here’s why:

Cloudflare’s WAF ruleset engine processes actions such as block, log, skip, and execute. The execute action triggers evaluation of a secondary ruleset — often used for internal testing.

When the internal ruleset was disabled via killswitch:

  • The execute action was skipped
  • The system incorrectly assumed the execute object existed
  • A legacy Lua code block attempted to index a nil value
  • A Lua exception was thrown, causing HTTP 500 Internal Server Errors

This bug had existed for years but never surfaced because the specific combination of:

  • killswitch applied to an execute rule
  • FL1 proxy
  • Managed Rulesets

had never occurred in practice.

Importantly, Cloudflare noted that its newer FL2 proxy, written in Rust with strong type guarantees, experienced no such failure under identical circumstances.

5. How the Outage Unfolded: Full Timeline

08:47 UTC — Outage begins
The global configuration change is deployed and instantly propagated.

08:48 UTC — Full global impact
HTTP 500 errors spike across 28% of Cloudflare’s traffic.

08:50 UTC — Incident declared
Automated alerts identify widespread failures.

09:11 UTC — Rollback issued
Cloudflare reverts the change.

09:12 UTC — All systems restored
Error rates return to normal; incident closed.

The entire disruption lasted approximately 25 minutes.

6. Impact on Websites, Applications, and APIs

Only customers whose traffic met all of the following conditions were affected:

  • Served by the FL1 legacy proxy
  • Using Cloudflare Managed Rulesets
  • Served normal web traffic (test endpoints like /cdn-cgi/trace still worked)

Customers using:

  • the FL2 proxy
  • custom rules only
  • Cloudflare China network
    were unaffected.

7. How the React Vulnerability and Cloudflare Outage Are Connected

The outage did not occur because of exploitation — but because of Cloudflare’s attempt to mitigate CVE-2025-55182 across its global network.

Cloudflare acted quickly and responsibly, but the combination of:

  • rapid WAF rule deployment
  • a global configuration system without rollouts
  • legacy FL1 code
  • a hidden Lua logic flaw

created the perfect conditions for a global failure.

This demonstrates how security responses themselves can introduce risk, especially at Internet-wide scale.

8. Fixes and Updated Versions for CVE-2025-55182

All developers using React 19 or Next.js should upgrade immediately. WAF rules offer partial protection — not a complete fix.

Patched React Versions

  • React 19.0.1
  • React 19.1.2
  • React 19.2.1

Patched Next.js Versions

  • 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7
  • 15.6.0-canary.58
  • 16.0.7

Users on Next.js 14.3.0-canary.77 or later canaries should downgrade to the latest stable 14.x release.

Other frameworks should install their maintainers’ patched versions.

9. Cloudflare’s Path Forward

Cloudflare has outlined several initiatives to prevent similar failures:

1. Enhanced Rollouts for Configuration Data

Configuration changes will undergo the same staged rollout process as software.

2. Stronger Break-Glass and Emergency Controls

Ensuring safer mitigation workflows even under stress.

3. Fail-Open Error Handling

Preventing unexpected errors from causing full traffic failures.

Cloudflare promised a detailed resiliency roadmap following the outage.

Conclusion: A Global Outage Rooted in Good Intentions

The December 5, 2025 Cloudflare outage illustrates how even well-intentioned security responses—especially those made urgently—can cause cascading failures when interacting with legacy systems.

A critical React vulnerability (CVE-2025-55182) required rapid mitigation. Cloudflare deployed WAF rules to protect customers. But a global configuration change, combined with a long-dormant bug in the FL1 proxy, produced a chain reaction that temporarily disrupted over a quarter of the Internet.

The lessons are clear:

  • Security fixes must be paired with safe rollout strategies
  • Legacy systems can harbor hidden risks
  • Fail-open designs protect global-scale networks

As React, Next.js, Vercel, and Cloudflare roll out long-term fixes, developers and businesses should upgrade immediately and monitor future advisories closely.

Share

Emmanuel Mark

Author

Software Engineer | Indie Marker | Open Sourcer | Technical Writer - 🐞Simply that guy whose developing Lystica - Email marketing tool. ✅ https://www.lystica.cloud/waitlist

Cloudflare Outage on December 5, 2025: How a React RCE Vulnerability Triggered a Global Incident