← the record
AIAAIC-2136

AI bot management error drives massive Cloudfare outage

A global outage at Cloudflare, one of the internet's most critical infrastructure providers, was triggered by a bug in its AI-powered Bot Management system's configuration file, underscoring the severe systemic risk and fragility inherent in the centralisation of global digital services and automated security systems. What happened The widespread service disruption resulted in millions of users worldwide being unable to access numerous major websites and applications that rely on Cloudflare for content delivery, security, and DNS services. The incident was characterised by widespread HTTP 5xx errors (server errors) and intermittent failures across Cloudflare’s core network. Affected services included the Content Delivery Network (CDN), security services like the Web Application Firewall, authentication (Cloudflare Access), and internal systems like the customer dashboard. Popular services that experienced outages or significant degradation included X (formerly Twitter), ChatGPT , Canva, Spotify, Uber, Zoom, and DownDetector. The actual harm included massive economic disruption (estimated indirect losses in the hundreds of millions of dollars for the affected businesses), loss of service for end-users, and a temporary halt of business operations for companies dependent on Cloudflare’s infrastructure and security. Why it happened The outage was not a cyberattack, but an internal engineering failure. It was directly caused by a routine change to a database system's permissions within a ClickHouse cluster used by Cloudflare. AI/automated system role: The change inadvertently caused the database query that generates the configuration file for the AI-powered Bot Management system to output multiple, duplicate entries. This file is used by the system's machine learning model to generate bot scores for every request traversing the network. Technical failure: The resulting configuration file more than doubled in size , exceeding a hardcoded size limit within the software (the core proxy) that reads and deploys the file across Cloudflare’s global network. When the software tried to load the oversized file, it experienced a "panic" or crash, leading to a cascading failure across the network. Transparency and accountability: Cloudflare was highly transparent in its post-incident report, detailing the root cause and the specific technical steps that led to the failure. However, the event highlights a latent risk: as AI-driven security and traffic management systems become more complex and integral, a single, automated configuration error can quickly propagate globally and cripple core internet functions. The incident points to a lack of sufficient automated validation and boundary-checking for critical internal configuration files, demonstrating that even internal data ingestion needs the same scrutiny as external, user-generated input. What it means Directly/Indirectly Impacted: Businesses and users were subjected to a sudden loss of critical services, leading to revenue loss, operational halts, and user frustration. The outage demonstrated the single point of failure risk (concentration risk) that comes from relying on a small number of hyperscalers like Cloudflare for core internet functions. For companies, it serves as a stark reminder to implement multi-region architectures and robust contingency plans to mitigate dependency on a single vendor. For society: The incident is a pivotal case study illustrating the fragility of modern digital infrastructure built on deeply interconnected, centralised, and increasingly automated systems. It highlights that the security mechanisms designed to protect the internet (like bot management) can become the source of systemic failure when misconfigured. Furthermore, it accelerates the broader discussion among industry and regulators about the need for greater resilience, diversity of providers, and strict governance over automated systems that underpin global commerce and communication. System 🤖 Bo

Date it happened
2025-11-01
Organisation involved
Cloudfare
Product, system or model
Bot Management
Where this came from
Share this incident
XLinkedInFacebookWhatsAppEmail
Attribution

This incident was imported from AIAAIC and is used under CC BY-SA 4.0. Our additions to it — the structured fields, the translation, the checks against other reports — are published under the same licence.

This is a record of what was reported, not a finding that anyone broke the law. If it names your organisation and you believe it is wrong, the corrections process is free and open to everyone.