Cloudflare’s edge outage began with a database permissions change
A database permissions change altered the inputs to a bot classifier and disrupted live traffic. Cloudflare’s response shows how to validate generated configuration, limit who gets it first, and recover when the usual controls are down.
A permissions change broke an assumption in the release pipeline
On November 18, 2025, Cloudflare changed what metadata users could see in part of its ClickHouse cluster. A query that built the feature file for Bot Management filtered by table name alone. Once a second database became visible to the query, it returned duplicate column metadata. The resulting file exceeded the classifier’s runtime limit of 200 features.
The generator ran every five minutes. While the database change was rolling out, one run could produce a valid file and the next could produce an invalid one, depending on which node answered. Each file spread rapidly across the network. Traffic recovered and failed in waves, making the incident harder to diagnose.
The producer and consumer both had assumptions that belonged in a testable contract. The producer needed to specify the database and reject duplicate feature IDs. The consumer needed to enforce its own limits before activation and retain the version already serving traffic. Testing the query under both the old and new grants would have covered the transition state that exposed the bug.
The same invalid input caused two different customer failures
Cloudflare’s newer proxy returned HTTP 5xx errors when the bot module hit its limit. The older proxy instead assigned a bot score of zero. Customers with rules that blocked traffic at that score could reject legitimate requests while the proxy itself remained responsive. OpenAI’s separate write-up for that morning illustrates why impact should be measured by user journey. It recorded errors on several websites while mobile apps, API traffic, and backend services remained healthy. The write-up identifies an upstream networking provider without naming it.
A canary measured only on server errors could catch the first failure and miss the second. A rollout for a classifier or policy engine should track changes in allow, block, and challenge rates alongside HTTP errors. Run synthetic sign-ins and other critical journeys through the same rules customers use. Where feasible, split results by runtime version, customer cohort, and endpoint so a healthy average cannot conceal a failing slice.
Give generated configuration a release process of its own
In December 2025, Cloudflare described a gap between its gradual software releases and configuration updates that could spread worldwide in seconds. In May 2026, it reported shipping Snapstone, an internal system that packages configuration changes for progressive rollout, monitors their health, and can roll back automatically. Cloudflare also reported that Bot Management would retain a usable prior configuration if it rejected an update and could continue serving traffic with reduced bot protection if a prior configuration were unavailable.
The first rollout cohort has to be small enough to contain harm and representative enough to reveal it. Include the production runtime versions and policy combinations that can change the outcome. Observe the cohort long enough to see another configuration generation cycle where periodic inputs are involved. Then define how long an earlier configuration can safely remain active. A stale bot classifier and a stale authorization or revocation policy carry very different risks.
- Reject duplicate keys, unknown schema versions, and artifacts that exceed consumer limits before activation.
- Record the generated artifact, its upstream inputs, and the version each cohort actually serves.
- Agree on which signals pause promotion, which trigger rollback, and who can authorize an urgent override.
Test the route back while the affected service is unavailable
Cloudflare stopped the faulty file from propagating and reinstated an earlier version. Core traffic largely recovered by 14:30 UTC. Cloudflare reported full recovery at 17:06 UTC after additional work on downstream systems. Dashboard login was also affected. Some users without an active session could not sign in when Cloudflare’s own Turnstile service was impaired, and a backlog of login attempts contributed to a second period of reduced dashboard availability.
A recovery drill should remove the normal console, identity path, and configuration publisher from the exercise. Ask the on-call team to halt propagation, restore a previous configuration through a separately authenticated and audited path, and confirm that customers can complete the affected workflow. Measure time to stop the rollout separately from time to restore service and clear backlogs. The May follow-up describes controls Cloudflare says it shipped. It does not provide an independently measured reduction in outage frequency or customer impact.
EXECUTIVE TAKEAWAYInclude generated configuration in the same release review as application code. Require evidence that the runtime can reject a bad update, that a limited rollout can detect harm before wider release, and that responders can restore service when their usual tools are unavailable.
Cloudflare outage postmortem · November 18, 2025 ↗
Cloudflare resilience plan · December 19, 2025 ↗
Cloudflare engineering follow-up · May 1, 2026 ↗
OpenAI incident write-up · November 18, 2025 incident ↗
Accessed November 10, 2026.
Make production changes easier to contain and reverse
3B Global Enterprise Advisors works with platform and reliability teams to review configuration pipelines, design progressive rollouts, and test recovery for critical cloud services.
Discuss your initiative →