Edition Friday 4 Dec 2026Updated SubscribeFollow @TechWireHQ on X

Case studies

Lessons for technology leaders and boards

Home / Case studies

Cloudflare: a file that doubled in size

Outage · Global · November 2025 · Published 3 Dec 2026

A routine database permissions change made a configuration file twice its normal size, crashing Cloudflare's traffic software and taking a large slice of the web offline for nearly six hours.

At a glance

OrganisationCloudflare, which routes and protects traffic for millions of websites
SectorAffects every sector
RegionGlobal
When18 November 2025
TypeOutage: configuration change at an internet infrastructure provider
ImpactWidespread 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

MeasureFigure
DurationNearly six hours, from 11:20 to about 17:00 UTC
ReachA large share of global web traffic; services including X, ChatGPT and Spotify
CauseA 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

  1. 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.
  2. Treat configuration like code. Configuration changes, including automated ones, need testing, staged rollout and a quick way to reverse them.
  3. Systems should fail safely. Software that meets bad input should keep running on the last good version, not crash.
  4. 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.
  5. 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

Cite this

Nuffield Consulting, “Cloudflare: a file that doubled in size”, The Daily Tech Wire case study, 3 Dec 2026. https://thedailytechwire.com/case-studies/cloudflare-2025/ (retrieved 5 Dec 2026).

Please also cite the sources listed in the case study.

© 2026 Nuffield Consulting. All rights reserved. This case study may not be reproduced, republished or used commercially without our written permission. Short extracts may be quoted with a citation, as shown above. To ask for permission, email info@nuffieldconsulting.com.