Back to blog

Technology

Cloudflare Outage on December 5, 2025: A Complete Investigation and What Really Happened

A detailed investigation into the Cloudflare outage on December 5, 2025, which impacted 28% of global traffic. Learn what caused the incident, how a configuration change triggered widespread HTTP 500 errors, and what Cloudflare plans to do to prevent future failures.

By Emmanuel MarkDEC 6, 2025
Cloudflare Outage on December 5, 2025: A Complete Investigation and What Really Happened

On December 5, 2025, at 08:47 UTC, Cloudflare experienced a sudden and widespread service disruption that lasted approximately 25 minutes, ending at 09:12 UTC. Although brief, the outage temporarily affected around 28% of Cloudflare’s global HTTP traffic, impacting millions of websites and applications.

Importantly, this incident was not caused by a cyberattack, but by an unexpected interaction between a security-driven configuration change and a long-standing, previously dormant bug in Cloudflare’s legacy FL1 proxy.

This article provides a complete investigation into the incident—what caused it, how it unfolded, who was impacted, and the systemic issues it exposed.

1. Summary of the December 5 Cloudflare Outage

  • Start: 08:47 UTC
  • Full propagation: 08:48 UTC
  • Incident declared: 08:50 UTC
  • Rollback initiated: 09:11 UTC
  • Resolved: 09:12 UTC
  • Total impact: ~25 minutes
  • Affected traffic: ~28% of all Cloudflare HTTP traffic
  • Main symptom: HTTP 500 Internal Server Errors
  • Unaffected regions: Cloudflare China network

The root cause was traced to a configuration change applied globally without gradual rollout, which triggered a bug in the FL1 proxy’s rule evaluation logic.

2. Why Cloudflare Was Making Changes That Day

The company was actively responding to [@portabletext/react] Unknown block type "span", specify a component for it in the `components.types` prop, a newly disclosed React Server Components vulnerability affecting the industry.

To enhance protection:

  1. Cloudflare increased its WAF request body buffer from 128KB to 1MB.
  2. During this rollout, engineers discovered that Cloudflare’s internal WAF test tool did not support the larger buffer.
  3. Since the test tool wasn’t needed at that moment, they disabled it through Cloudflare’s global configuration system.

This second change is what ultimately caused the outage.

3. The Technical Trigger: A Bug Hidden for Years

Cloudflare operates two proxy generations:

  • FL1 – legacy, partially written in Lua
  • FL2 – newer, written in Rust

Only customers using the FL1 proxy + Cloudflare Managed Rulesets were impacted.

What went wrong?

When Cloudflare disabled the internal WAF test ruleset, a killswitch was used. This mechanism is normally safe—but it had never been applied to a rule with an “execute” action.

This triggered a previously unnoticed logic flaw:

if rule_result.action == "execute" then
rule_result.execute.results = ruleset_results[tonumber(rule_result.execute.results_index)]
end

Because the killswitch skipped the rule entirely:

  • rule_result.execute did not exist
  • The code attempted to index a nil value
  • Lua threw an exception
  • The proxy returned HTTP 500 for all affected requests

The error had been dormant for years because this specific scenario had never occurred.

Cloudflare noted that their newer Rust-based FL2 proxy does not contain this flaw due to strong type safety.

4. Why the Impact Was So Large

The critical issue was not merely the bug, but the mechanism used to deploy the change.

The global configuration system:

  • propagates updates within seconds to the entire global network
  • does not support gradual rollout
  • was already under review following another outage on [@portabletext/react] Unknown block type "span", specify a component for it in the `components.types` prop

Because of this, the faulty change hit the entire fleet simultaneously, causing widespread disruption before there was time to catch and revert the issue.

5. Who Was Impacted?

Only customers matching all of the following conditions:

  • Hosted on FL1 (legacy) proxy
  • Using Cloudflare Managed Rulesets
  • Serving normal HTTP traffic (test endpoints like /cdn-cgi/trace worked)

Customers using:

  • FL2 proxy
  • No managed rules
  • Cloudflare China network
    were not impacted.

6. How Cloudflare Responded

The error was detected quickly—about 3 minutes after full propagation—and Cloudflare executed an immediate rollback.

The fix took effect globally at 09:12 UTC, resolving the incident.

7. Why This Happened So Soon After the November 18 Outage

Cloudflare acknowledged that both outages share systemic similarities:

  • A single configuration update
  • Global propagation without safety boundaries
  • A missing “fail-open” mechanism
  • Insufficient constraints on rapid security-related changes

Cloudflare had already begun deploying broad resiliency improvements, but they were not yet completed before December 5.

8. Cloudflare’s Planned Fixes Going Forward

Cloudflare outlined several long-term mitigation projects:

1. Enhanced Rollouts & Versioning

  • Gradual deployments
  • Health validation
  • Safer rollback paths

2. Streamlined “Break Glass” Capabilities

  • Ensuring emergency operations work even in partial outages

3. Fail-Open Error Handling

Instead of dropping traffic when encountering errors:

  • log the issue
  • default to a safe state
  • or pass traffic without scoring

A detailed roadmap of these resiliency projects was promised for the following week.

9. Cloudflare’s Apology

Cloudflare acknowledged the severity of two incidents occurring so close together:

“These kinds of incidents, and how closely they are clustered together, are not acceptable… we want to apologize for the impact and pain this has caused again to our customers and the Internet as a whole.”

A Small Change With Global Consequences

The Cloudflare outage of December 5, 2025 is a clear example of how even a minor configuration change—when combined with legacy code and a global rollout mechanism—can cause massive Internet-wide disruption.

While the outage lasted just 25 minutes, it revealed systemic issues Cloudflare is now prioritizing: safer rollout mechanisms, fail-open design, and migration away from legacy infrastructure.

As Cloudflare continues strengthening its network, this incident will likely become a case study in resilient infrastructure design, especially in environments operating at global scale.

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