architecture2 min read

Cloudflare Outage Post-Mortem: November 18, 2025

11 similar posts
  • Bot Management
  • Workers KV
  • Turnstile
  • Cloudflare Access
  • ClickHouse
  • Pingora

AI Summary

On November 18, 2025, Cloudflare experienced a major global network outage due to an unintended consequence of a database privilege change. A ClickHouse query generated duplicate metadata rows for the Bot Management feature file, doubling its size and exceeding predefined memory limits in core proxy software. This triggered panics in Rust worker threads, resulting in widespread HTTP 5xx errors across CDN, Workers KV, and Access services. Cloudflare mitigated the incident by halting bad config generation, rolling back to a known good feature file, and restarting affected services.

Key Takeaways

  • Database permission changes in ClickHouse caused metadata duplication in Bot Management feature files.
  • Rust worker threads panicked when feature counts exceeded the pre-allocated limit of 200.
  • The outage impacted core CDN routing, Workers KV, Turnstile, and Cloudflare Access until valid configurations were restored.

Why it matters

This incident highlights the cascading failure risks inherent in distributed database permission updates and configuration generation pipelines. It offers vital architectural lessons on pre-allocated memory boundaries, unhandled panic conditions in system proxies, and the critical need for strict validation of internally generated configuration files.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.