On November 18, 2025, much of the internet stopped working for hours because Cloudflare’s network did. Cloudflare’s own post-mortem, written by its CEO, called it the company’s “worst outage since 2019”. The trigger was not an attack. It was a permissions change to a database.
Cloudflare employs some of the best infrastructure engineers in the world, and published a detailed, candid account. That is exactly why it is worth reading: if a routine change can do this to Cloudflare, it can do it to anyone, and the defences are the same at every size.
What happened
- 11:05 UTC: a permissions change was made to one of Cloudflare’s database systems (ClickHouse).
- The change caused a query to return duplicate rows. The query builds a “feature file” used by Cloudflare’s Bot Management system.
- The file “doubled in size”. Cloudflare’s proxy software had a limit of 200 features (around 60 are normally used). The oversized file broke that limit, and the proxy failed.
- The file was regenerated every five minutes and pushed to the whole network. Because only some database nodes had the new permissions, the network flipped between good and bad files, which made the team suspect a large DDoS attack at first. It was not one.
- 14:24: propagation of the bad file stopped. 14:30: a good file was deployed everywhere and core traffic largely recovered. 17:06: fully restored.
Why it spread so far
Three ordinary things lined up:
- A change that looked unrelated. A database permissions change does not look like a risk to the proxy. Nobody connects them until they are connected.
- A generated file that was trusted. The feature file was produced internally, so it was not checked the way input from a customer would be.
- A fast, global push. Pushing the file to every machine every five minutes is great for fresh bot data and terrible for a bad file.
What Cloudflare committed to
In its own words, Cloudflare committed to “hardening ingestion of Cloudflare-generated configuration files” the same way it treats user input, “more global kill switches for features”, stopping crash reports from overwhelming systems, and reviewing failure modes across its core proxy modules.
What this means for your team
You probably do not run a global edge network. You almost certainly have generated config, feature flags, schema migrations and environment files that flow straight into production. The same safeguards apply:
- Validate generated config like user input. Size limits, schema checks and sanity checks in CI, before anything ships, and again where it is loaded. If a file doubles in size, the pipeline should stop, not the product.
- Roll out in stages. Push a change to a small slice first, watch error rates, then widen. A global push should be the exception, and automatic, not a person watching a dashboard.
- Have a kill switch for each feature. Turning off one feature should not need a deploy.
- Fail safe, not closed. If a non-essential module gets bad input, the product should keep serving without it.
- Make “is it us or an attack?” quick to answer. Correlate recent changes with error spikes automatically, so the first question in an incident is answered in seconds.
Frequently asked questions
Was the Cloudflare outage in November 2025 a cyberattack? No. Cloudflare’s post-mortem says it was caused by a database permissions change, not an attack.
How long did it last? From about 11:20 to 17:06 UTC, with core traffic largely restored by 14:30.
What is the simplest safeguard a startup can add? Staged rollouts with automatic rollback on error spikes, plus validation of every generated config file in CI.
Sources
- Cloudflare, “Cloudflare outage on November 18, 2025”, Matthew Prince, November 18, 2025: blog.cloudflare.com
Where to start
The Scale Readiness Review ($4,500, 2 weeks) finds what breaks first in your product and prices the fixes, including how changes reach production. Scale has the details, and every price is on the pricing page.