At a glance
| Organisation | Cloudflare, which routes and protects traffic for millions of websites |
|---|---|
| Sector | Affects every sector |
| Region | Global |
| When | 18 November 2025 |
| Type | Outage: configuration change at an internet infrastructure provider |
| Impact | Widespread errors for nearly six hours; X, ChatGPT, Spotify, Shopify stores and even outage tracker Downdetector failed |
What happened
At 11:20 UTC on 18 November 2025, websites behind Cloudflare started returning error pages. Cloudflare sits in front of a large share of the world's websites, filtering attacks and speeding up delivery, so the failure was visible almost everywhere at once.
The cause was a change to permissions on one of Cloudflare's databases. A query that builds the "feature file" for its bot management system, which tells real visitors from automated traffic, started returning duplicate rows. The file doubled in size, went past a hard limit built into Cloudflare's traffic software, and crashed it on servers worldwide. Because the file was rebuilt every five minutes, sometimes good and sometimes bad, the network flickered between working and failing, and engineers first suspected a large cyber attack.
Core traffic was largely restored by mid-afternoon and everything was back to normal a little after 17:00 UTC. Cloudflare's chief executive, Matthew Prince, called it the company's worst outage since 2019.
Why it happened
- A safe-looking change had an unseen side effect. The permissions change was meant to improve security, and nobody expected it to alter the output of an unrelated query.
- The software trusted its own configuration. Cloudflare's code treated an internally generated file as safe and crashed when it broke a limit, rather than rejecting it and carrying on with the old version.
- Changes reached everywhere at once. The file was pushed across the whole network in minutes, with no staged rollout to catch the problem early.
What it cost
| Measure | Figure |
|---|---|
| Duration | Nearly six hours, from 11:20 to about 17:00 UTC |
| Reach | A large share of global web traffic; services including X, ChatGPT and Spotify |
| Cause | A database permissions change that doubled the size of a configuration file |
It was not a one-off. Cloudflare had a 25-minute global disruption on 5 December 2025 while patching a security flaw, and the Tech Wire log records several smaller Cloudflare incidents since, including dashboard and API problems over US Thanksgiving 2026.
How they responded
Cloudflare published a detailed post-mortem the same day, signed by its chief executive, with a timeline, the code at fault and an apology. It committed to treating internally generated configuration like user input, checking it before use, adding more kill switches, and making sure failures produce clear errors rather than crashes.
Lessons for technology leaders
- Know who sits in front of your services. A content delivery or security network is a single point of failure for everything behind it. Decide whether you need a fallback.
- Treat configuration like code. Configuration changes, including automated ones, need testing, staged rollout and a quick way to reverse them.
- Systems should fail safely. Software that meets bad input should keep running on the last good version, not crash.
- Check your monitoring doesn't share the failure. Even Downdetector went down. Make sure the tools that tell you something is wrong don't depend on the thing that broke.
- Value suppliers who explain themselves. A same-day, detailed post-mortem is a sign of a mature supplier. Ask your suppliers what theirs look like.
Points to consider
- If your content delivery or security provider failed for six hours, could customers still reach you?
- Do your automated configuration changes go through the same checks as code changes?
- Would you know about an outage if your own monitoring tools were affected by it?
Sources
- Cloudflare: Cloudflare outage on November 18, 2025
- Computer Weekly: Cloudflare contrite after worst outage since 2019
- ThousandEyes: Cloudflare outage analysis, November 18, 2025
- InfoQ: Cloudflare global outage cause
- Engadget: Cloudflare outage was not caused by a cyber attack
- The New Stack: Cloudflare outage knocks out AI chatbots and Shopify
- Startup Fortune: Cloudflare's Thanksgiving incident hit its dashboard and API (November 2026)