Real Network Outages
Lessons (14, study in order)
① Microsoft 365: gateway servers go unresponsive in a cascade (Nov 2026)
Case · about 10 min
Goal: A fix deployed in July carried a latent defect: under certain load, lock contention inside the gateway servers made them unresponsive. On November 12, Teams traffic had moved onto the primary gateway and about 14% of capacity was out of service; at the US peak the first servers stopped responding. The traffic management system sent their requests to the remaining servers, which had the same defect and failed in turn. In under two hours more than 80% of servers were unresponsive, and the incident lasted 23 hours 50 minutes.
What happened
· When:November 12, 2026 16:20 to November 13 16:10 UTC, 23 hours 50 minutes. Incident IDs EX1550543 / MO1550821.
· Impact:The networking gateway that fronts many Microsoft 365 services failed globally. The most significant impact was on Exchange Online: most users could not reach their mailbox through Outlook or other mail clients, and email delivery was delayed for many. Other services that use Exchange Online capabilities were affected too, though most stayed online and accessible, including the parts of Copilot, Teams, SharePoint, OneDrive, Defender and Purview that interact with Exchange Online. The report also lists Fabric, Intune, Planner, Power Apps, To Do, Power BI and Universal Print.
· Factor 1: a latent defect:Microsoft prepared a fix specifically for the Microsoft 365 networking gateway servers. It started deploying in July 2026, saturated globally over several weeks, and ran for more than three months without impact. The fix carried a defect: under certain load conditions, lock contention inside an internal Windows process (threads competing for the same lock, the losers waiting) exhausted the machine's CPU and memory and the server stopped responding. Neither the defect nor the fix applies to broader Windows deployments.
· Why testing missed it:Microsoft says the traffic and SKU mix in its test labs differed from production. Load testing tended to focus on weaker hardware SKUs with fewer cores, while the contention is worse on machines with more cores and newer hardware.
· Factor 2: more load:Microsoft 365 runs two independent, heterogeneous network gateway systems, and many services can fail over between them. About fifteen hours before the outage (01:07 UTC on November 12), Teams failed over from the alternative gateway to the primary gateway, the one that also supports Exchange Online. That raised the primary gateway's load and changed its traffic patterns. Microsoft says this kind of failover is part of normal operations.
· Factor 3: less capacity:At the same time, nearly 14% of the gateway's server capacity was out of service because of an unrelated issue from the previous day, and was being returned through routine processes. Microsoft says there was enough headroom that this alone had no impact.
· How it spread:When servers stop responding, the traffic management systems automatically route users to other healthy endpoints. The redirected traffic made the same problem more likely on the remaining endpoints: the same load spread across fewer and fewer servers, which failed one after another. In under two hours it reached the whole fleet; at the lowest point more than 80% of servers were unresponsive. The gateway is made of thousands of capacity units organised into regions, with bulkheads between partitions; because of a separate issue the bulkheads did not stop the cascade, and it spread globally.
· Why recovery was slow:As servers returned to service they were immediately overwhelmed by waiting traffic and became unresponsive again. The automated recovery processes were not designed to restore service from such a broad unresponsive state. And because the defect came from a change made months earlier, normal rollback, flighting and feature flags could not quickly revert it.
· Recovery:Once engineers confirmed the defect, they developed an update that returned the code path to the previously known good state, applied from 07:20 on November 13. They worked in groups: take a group of servers out of service, apply the change, restart, return them to service; large quantities at a time, for example 50%+ of a region.
· Sources and sketch:Root cause, clock times and repair items come from Microsoft's preliminary post-incident report of November 15. Microsoft says a final report will follow within five business days of full resolution, with the full list of repair items due November 20; that report supersedes this one. The diagram is a simplified sketch: the primary gateway is drawn as 5 servers in two regions, and the load percentages are illustrative.
Timeline (UTC, Microsoft's preliminary report)
· 11-12 01:07 UTC The automated failover system moves Teams traffic onto the gateway front-end servers shared with Exchange Online. From then until 16:00 their load rises gradually and isolated server failures begin in some regions, handled by automated mitigations.
· 11-12 16:03 UTC Connectivity anomaly detection sees end-user connectivity issues increasing. At 16:17 automation begins redirecting traffic to alternate healthy endpoints.
· 11-12 16:20 UTC A high-priority alert reports impact to Exchange Online; the incident starts. At 16:25 problems are confirmed across Outlook, Outlook on the web, Exchange ActiveSync and APIs.
· 11-12 19:20 UTC Microsoft determines that the elevated load comes from many servers being unexpectedly unavailable, which shifts load onto and overwhelms the rest, with no overall increase in traffic. From 19:00 all ongoing and planned deployments and configuration changes are paused.
· 11-12 23:55 UTC It is confirmed that servers returned to service stay healthy at first and become unresponsive again on receiving traffic.
· 11-13 00:30 UTC Connection negotiation is identified as the main area behind the access failures: competing processes keep connections from being handled. By 01:00 the process that establishes connections is found to be overwhelmed, so servers stop processing requests. At 01:53 some automated traffic redirection is disabled.
· 11-13 07:20 UTC A mitigation is identified: an update that reverts the defective change, applied to a portion of the capacity. At 08:00 that portion is confirmed stable, and the update is expanded first to regions in or entering peak business hours.
· 11-13 11:35 UTC Availability in Europe returns to healthy levels (the service starts stabilising at 10:00; part of the Asia-Pacific infrastructure completes recovery at 11:00).
· 11-13 14:17 UTC Global webmail availability returns to expected levels. At 15:05 eligible customer traffic has been moved to alternative connection paths.
· 11-13 16:10 UTC Customers are confirmed to be no longer experiencing active impact; extended monitoring and backlog recovery begin. The final customer updates go out at 04:15 on November 14.
How it failed
1. Normal: The networking gateway fronts many Microsoft 365 services: a user's connection reaches the gateway first. Microsoft 365 runs two independent gateway systems built differently, and many services can fail over between them. The primary gateway carries Exchange Online; at this point Teams uses the alternative gateway. The traffic management system routes users to healthy endpoints. The primary gateway is made of thousands of capacity units organised into regions; the diagram shows 5 servers in two regions as a sketch, and the load percentages are illustrative too.
2. What the rule is for (hypothetical): Suppose primary gateway A2 has a hardware fault and stops responding. The traffic management system notices and routes A2's users to other healthy endpoints. The other 4 servers each take a little more, going from 50% to 63% load, and users notice nothing. Microsoft says this happens often and is what keeps the service running through local hardware, software or network defects.
3. July: the fix ships, the defect lies dormant: In July 2026 Microsoft starts deploying a fix prepared specifically for the Microsoft 365 gateway servers. It goes through safe deployment and reaches the whole world over several weeks with no issues observed. The fix carries a defect: under certain load conditions there is lock contention inside an internal process. When several threads need the same shared resource, a lock lets one in at a time and the rest wait; with enough waiting threads, requests cannot be handled, pile up, and the server stops responding. Load testing did not catch it: testing focused on SKUs with fewer cores, and the problem is worse on newer hardware with more cores. For more than three months the code runs worldwide without incident.
4. 11-12 01:07 UTC More load, less capacity: At 01:07 on November 12, automatic failover moves Teams traffic from the alternative gateway to the primary gateway. This is normal operations, but it raises the primary gateway's load and changes its traffic patterns. At the same time nearly 14% of the gateway's server capacity is out of service because of an unrelated issue from the previous day and is being returned through routine processes; A3 stands for it here. Microsoft says there was enough headroom that this alone had no impact. Together, the two raise the load on the remaining servers. Up to 16:00 the load rises gradually and isolated server failures already occur in some regions, handled by automated mitigations.
5. 11-12 16:03 UTC The first servers stop responding: The United States reaches its traffic peak. More load on less capacity makes the gateway servers hit the defect left in July: lock contention inside the internal process gets worse, connection requests cannot be handled, requests keep piling up, CPU and memory are exhausted, and servers finally stop responding. A1 stands for the first of them. At 16:03 connectivity anomaly detection sees end-user connectivity issues increasing.
6. 11-12 16:17 UTC Redirection passes the failure on: At 16:17 automation begins redirecting traffic to alternate healthy endpoints; at 16:20 a high-priority alert reports impact to Exchange Online. The traffic management system follows its rule: A1 is not responding, so its users go to other endpoints. But the other servers run the same code; the redirected traffic raises their load, makes the same defect more likely, and they stop responding in turn. The same load is spread across fewer and fewer servers, one after another. At 19:20 Microsoft determines that overall traffic has not increased: many servers are unexpectedly unavailable, and their load is shifting onto and overwhelming the rest.
7. The bulkheads fail; impact goes global: The primary gateway's capacity units are separated by region, with bulkheads between partitions meant to keep one region's failure inside that region. This time, because of a separate issue, the bulkheads did not stop the cascade, and it moved from region to region. In under two hours the whole fleet had hit the defect; at the lowest point more than 80% of servers were unresponsive. Teams, OneDrive, SharePoint and Office apps failed out to the other gateway and were partially restored earlier; Exchange Online cannot fail out for scale reasons, and was affected longest.
How it was recovered
1. 11-12 23:55 UTC Restarted servers fail again: From 18:00 engineers progressively restart and repair affected infrastructure and redirect traffic to alternate infrastructure; at 19:00 all deployments and configuration changes are paused; at 20:00 components that trigger failed health checks are bypassed, and at 21:00 an alternative health check method is prepared along with automation that keeps detecting and restarting unresponsive servers. At 22:00 these actions are confirmed ineffective. At 23:00 protective traffic management measures are applied in one location to reduce load. At 23:55 it is confirmed that servers returned to service stay healthy at first and become unresponsive again on receiving traffic. The normally automated recovery processes were not designed for such a broad unresponsive state.
2. 11-13 01:00 UTC Narrowed to connection handling: At 00:30 connection negotiation is identified as the main problem area: competing processes keep connections from being handled. By 01:00 the server process that establishes connections is found to be overwhelmed, so servers stop processing requests. Microsoft then relieves the servers: at 01:15 it adjusts monitoring activity and service load, at 01:53 it disables part of the automated traffic redirection, at 02:10 it adds capacity, and at 04:00 it adjusts protocols, redistributes traffic and blocks traffic selectively. Regions with the adjustments recover partially but not for long; the problem in the code is still there.
3. No rollback possible: a new fix: The faulty code shipped in July, more than three months before the outage. Normal rollback, flighting and feature flags target recent changes and could not quickly revert one that old. Once engineers confirmed the defect as the cause, they developed a new update that returns the code path to the previously known good state.
4. 11-13 07:20 UTC Out of service, fixed, restarted, in groups: At 07:20 an update that reverts the defective change starts going onto a portion of the capacity. The method is groups: take a group of servers out of service, apply the update, restart, confirm they are stable, then return them to service, which also brings the service online slowly. Groups are large, for example 50%+ of a region. At 08:00 fixed servers are confirmed stable, and regions in or approaching business hours are restored first.
5. 11-13 16:10 UTC Fully restored: The service starts stabilising at 10:00; part of the Asia-Pacific infrastructure completes recovery at 11:00; availability in Europe returns to healthy levels at 11:35; queues of delayed mail start to shrink at 13:00; global webmail availability returns to expected levels at 14:17; at 16:10 customers are confirmed to be no longer affected, 23 hours 50 minutes in all. Items the preliminary report lists as completed: the connection-handling code path returned to its known good state; the email delivery window extended so delayed messages were not returned as undeliverable; capacity added; more monitoring of traffic-redirection patterns and connection-handling health; guardrails for traffic distribution to avoid cascading impact. The full list of repair items is due with the final report on November 20.
The fix
The key is entry throttling: never move more onto the remaining servers than they can carry. That testing did not cover newer hardware with more cores, that the bulkheads did not hold this time, and the take-out, fix and return in groups come from Microsoft's abridged review and preliminary report; entry throttling, testing every SKU and post-failover traffic, and keeping redirection inside a region are general practice. Microsoft's completed repair items include "guardrails for traffic distribution to avoid cascading impact", with no details published; the full list of repair items is due with the final report on November 20.
Improved design
1. July: the fix ships: Load testing uses the same SKUs and traffic mix as production, including the newest hardware with the most cores, and also tests post-failover mixes such as Teams traffic moving in. The lock contention shows up in testing and is fixed before release. This is general practice; Microsoft says its testing missed the defect because it focused on SKUs with fewer cores. The next steps assume the defect shipped anyway.
2. The first servers stop responding: Suppose the defect shipped anyway and A1 stops responding at the US peak. The key is entry throttling: when the traffic management system moves A1's requests to the remaining servers, it moves only what they can carry. Each server's load is capped (85% here, an illustrative number) and requests beyond that are answered with "try again later". The remaining servers are not pushed to the point where the defect bites, they keep responding, and nothing cascades; most requests are served and a few retry later. Throttling does not fix the defect; it stops the failure at the first group.
3. The failure reaches the regional boundary: Suppose throttling did not hold either and all of region A's servers stop responding. The regional bulkhead works: region A's traffic is not moved into region B. Region B's servers serve only their own users, their load is unchanged and they keep working; only region A's users are affected. Microsoft's gateway already had such bulkheads between partitions; this time a separate issue kept them from holding.
4. Bringing servers back: Once the fix is ready, servers are returned in groups: a group goes out of service, gets the fix and restarts; on return it takes a little traffic first and ramps up. Entry throttling keeps what is admitted within what the returned servers can carry, so the waiting traffic never floods in at once. Microsoft's actual recovery also went in groups: take servers out of service, apply the update, restart, return them to service.
Original design
1. July: the fix ships: Load testing focuses on weaker SKUs with fewer cores, and the lab's traffic and SKU mix differ from production. The lock contention is worse on newer hardware with more cores, so testing misses it; the fix ships with the defect and runs for more than three months.
2. The first servers stop responding: Teams traffic has moved in, about 14% of capacity is out, and at the US peak A1 stops responding. The traffic management system sends all of A1's requests to the remaining servers with no cap. Their load rises, they hit the same defect and stop responding too.
3. The failure reaches the regional boundary: With region A's servers unresponsive, its traffic keeps being sent on to region B. The bulkheads between partitions do not hold because of a separate issue, and region B is overwhelmed too. In under two hours more than 80% of servers are unresponsive.
4. Bringing servers back: A restarted server takes all the waiting traffic the moment it returns and becomes unresponsive again. The automated recovery processes were not designed for this, and rollback, flighting and feature flags cannot revert a change made more than three months earlier.
Three lines of defence
Key: entry throttling
· (Key) (General practice) Entry throttling: when some servers stop responding, the traffic management system moves no more onto the remaining servers than they can carry, and answers the excess quickly with "try again later". This cascade was the same load spread across fewer and fewer servers; with a cap, the remaining servers are not overwhelmed and the failure stops at the first group. In recovery it also keeps returning servers from being flattened by waiting traffic.
· Microsoft's completed repair items: guardrails for traffic distribution to avoid cascading impact, and more monitoring of traffic-redirection patterns and connection-handling health. No details are published.
· During recovery Microsoft used protective traffic management measures and selective traffic blocking to reduce load; regions with the adjustments recovered partially but not for long. The service only stabilised once the update reverting the defective change was applied.
Testing: same SKUs and traffic as production
· Microsoft says normal load testing did not detect the defect because the traffic and SKU mix in its test labs differed from production: testing focused on weaker SKUs with fewer cores, and the contention is worse on newer hardware with more cores.
· (General practice) Load-test every SKU that runs in production, the newest with the most cores included; use production's traffic mix, and also test the mix after a failover, when another service's traffic moves in.
· (General practice) A change that shipped months ago can still be the root cause. Rollback, flighting and feature flags only help with recent changes; keep a separate emergency path for returning a code path to a known good state.
Isolation: one region's failure stays in that region
· The gateway is made of thousands of capacity units organised into regions, with bulkheads between partitions. This time, because of a separate issue, the bulkheads did not stop the cascade and it spread globally.
· Microsoft 365 has two independent gateway systems built differently. Teams, OneDrive, SharePoint and Office apps failed out to the other one and were partially restored earlier; Exchange Online cannot fail out for scale reasons, and was affected longest.
· During the outage (22:00 on November 12) Microsoft evaluated isolating traffic within each region so that affected regions could recover independently.
· (General practice) Keep traffic redirection inside a region by default, and cap any cross-region moves. Exercise the bulkheads regularly to confirm they actually hold.
· (General practice) When every server runs the same code, moving traffic to another server does not escape a code defect; many servers are not redundancy against that kind of failure.
Recovery: return servers in groups
· What Microsoft did: take a group of servers out of service, apply the update, restart, then return them to service; large quantities at a time, for example 50%+ of a region.
· Microsoft says its normally automated recovery processes were not designed to restore service from such a broad unresponsive state.
· (General practice) Slow start: a returning server takes a little traffic first and ramps up. Write down and rehearse the recovery procedure for a fleet-wide outage in advance.
Sources
· Microsoft: Preliminary Post Incident Report for Microsoft 365 (incidents EX1550543 / MO1550821, report date November 15, 2026; PDF copy hosted on 365fanatic.com) https://www.365fanatic.com/wp-content/uploads/2026/11/PostIncidentReport.pdf
· Abridged review posted on X (Twitter) by a Microsoft executive (same content as the Root Cause section of the preliminary report; link to the post not recorded) null
· BleepingComputer: Massive Microsoft 365 outage disrupts Outlook, Teams, Copilot worldwide https://www.bleepingcomputer.com/news/microsoft/massive-microsoft-365-outage-disrupts-outlook-teams-copilot-worldwide/
· TechRadar: Microsoft outage live https://www.techradar.com/news/live/outlook-outage-nov-2026
② GitHub Actions: a reconnect storm fills a shared link (Oct 2026)
Case · about 10 min
Goal: An internal GitHub Actions service that stores workflow logs and run status lost connections to some of its cache servers in one cloud region, and every server running it retried at once. The surge of new connections saturated the shared network link between GitHub's data center and that region; Actions, Pages, webhooks and other services on the same link were degraded for about 1 hour 28 minutes.
What happened
· When:October 19, 2026, 15:24 to 16:52 UTC, about 1 hour 28 minutes. The status page incident was opened at 15:49 and resolved at 16:56; the monthly report's heading says 15:49 UTC, lasting 1 hour and 7 minutes.
· Impact:Actions workflow status updates, logs and checks were delayed. 5.13% of jobs on GitHub-hosted runners (the machines that execute jobs) started late and 0.02% of workflow runs failed; during the first 30 minutes, 8.47% of requests to the Actions jobs REST API returned errors. Pages deployments were delayed, and so were webhooks generated by Actions runs (HTTP notifications GitHub sends to outside systems when an event happens). Live updates on GitHub.com and code search were degraded for part of the time. No data was lost.
· Trigger:An internal Actions service stores workflow logs and run status. It lost connections to some of its cache servers in one cloud region. Why the connections timed out in the first place was still being investigated according to the status page summary, and the monthly report gives no cause either.
· Mechanism:Every server running the service retried immediately and at the same time. The surge of new connections saturated the shared network link between GitHub's data center and that cloud region.
· Spread:Other services that use the same link were disrupted too. GitHub does not list which ones.
· The rate limit:GitHub was already rolling out a limit on how quickly this service can open new connections. At the time of the incident it was still in shadow mode: logging only, not enforcing.
· Recovery:Automated alerts detected the failures and engineers traced the problem to the shared link. They routed the Actions service away from some of its cache servers in that region, but the link was still over capacity; routing it away from the rest brought the link back. They also reduced connections from other services on the link, then raised processing limits to clear the Actions backlog.
· Follow-up:The limit is now fully enforced and the service's concurrent connection attempts are capped; spikes in new connections from it raise an alert. GitHub is also extending these limits to other Actions services, adding backoff to retries, and limiting how much shared network capacity a single service can use.
· About the diagram:GitHub has not published the architecture, nor named the cloud, the region, the cache software or the link's capacity. The diagram is a simplified sketch: three servers are drawn, each end of the shared link is drawn as one box, and the rate limit is drawn as a node between the servers and the link.
Timeline (UTC, GitHub status page and availability report)
· 15:24 UTC Actions, Pages and webhooks generated by Actions start to degrade (the start time given in the status page summary).
· 15:49 UTC The status page opens an incident: investigating degraded performance for Actions and Pages. Webhooks is added at 15:50.
· 15:56 UTC Status page: investigating degraded availability of Actions, Pages and Webhooks; customers may see delays in workflow processing, site builds and webhook delivery.
· 16:30 UTC Status page: recovery is visible following mitigation and monitoring continues; workflow status updates, Pages deployments, and check and workflow webhook events may still be delayed.
· 16:52 UTC Impact ends (the end time given in the status page summary).
· 16:56 UTC Status page: Actions, Pages and Webhooks are operating normally; the incident is resolved.
How it failed
1. Normal: Inside GitHub Actions, an internal service stores workflow logs and run status. It runs on several servers; three are drawn. It uses cache servers in one cloud region; a cloud region is a cloud provider's group of data centers in one geographic area. A cache server keeps frequently used data in memory, so reads and writes are faster than a database. Commonly a server keeps a set of open connections to its cache and reuses them, which is called a connection pool. Traffic from the servers to these cache servers crosses the network link between GitHub's data center and that cloud region, and other services use the same link. GitHub was rolling out a connection rate limit for this service, capping how fast it opens new connections; at the time it was in shadow mode, logging only and not enforcing. The diagram is a simplified sketch; GitHub has not published the architecture.
2. What the rule is for (hypothetical): Suppose only server 2 loses one connection to the cache. The program notices and reconnects automatically: it opens a new connection right away and carries on. Opening a connection starts with a handshake (for example TCP's three-way handshake, plus a TLS handshake when encrypted), several packets back and forth, which costs more than sending one request on an existing connection. One server reconnecting once is barely visible on the link, and users notice nothing. Connections do drop now and then, and automatic reconnect lets the program recover by itself with nobody stepping in.
3. Some cache connections drop: The service loses its connections to some of the cache servers in the cloud region. Unlike the previous step, every server running the service is affected. The status page summary calls these the initial connection timeouts; their cause was still being investigated, and the monthly report does not give one either.
4. Every server retries at once: Every server retries immediately, with no wait and nothing to spread the retries out. Many clients doing the same thing at the same instant is called a thundering herd. One server reopening one connection is cheap; all servers reconnecting together make one large surge of new connections. The connection rate limit is still in shadow mode: it logs and blocks nothing.
5. 15:24 UTC The shared link saturates: Together the retries saturate the shared link: the network connections between GitHub's data center and that cloud region go over capacity. In general, once a link is full, handshake packets are dropped too, connections fail to open, and that brings more retries. From 15:24 Actions is degraded: workflow status updates, logs and checks are delayed; 5.13% of jobs on GitHub-hosted runners (the machines that execute jobs) start late and 0.02% of workflow runs fail; during the first 30 minutes, 8.47% of requests to the Actions jobs REST API return errors.
6. Other services on the same link: Other services use this link too and are disrupted along with it. A set of things that fail together is called a failure domain, and services sharing one link are in the same failure domain. Pages deployments are delayed; webhooks generated by Actions runs (workflow and check events) are delayed, a webhook being the HTTP notification GitHub sends to an outside system when an event happens. Live updates on GitHub.com and code search are degraded for part of the time. GitHub does not list which services use this link. No data is lost.
How it was recovered
1. 15:49 UTC Detect and trace: Automated alerts detect the failures and GitHub declares an incident. At 15:49 the status page says it is investigating degraded performance for Actions and Pages; Webhooks is added at 15:50. Engineers trace the problem to the shared link.
2. Route away from some cache servers: Engineers route the Actions service away from some of its cache servers in that region, so it no longer connects to them. The link is still over capacity. GitHub does not say where the service was routed to.
3. Route away from the rest: Engineers then route the Actions service away from the rest of those cache servers, and the link recovers. The status page summary adds that connections from other services on the link were reduced as well.
4. 16:30 UTC Clear the backlog: At 16:30 the status page says recovery is visible following mitigation; workflow status updates, Pages deployments, and check and workflow webhook events may still be delayed. The Actions work that piled up during the incident has to be processed, so engineers raise processing limits to clear the backlog.
5. 16:56 UTC Recovered: Impact ends at 16:52. At 16:56 the status page reports Actions, Pages and Webhooks operating normally and the incident is resolved. No data was lost. The status page summary says the cause of the initial connection timeouts is still being investigated. After the incident GitHub switched the connection rate limit to full enforcement.
The fix
Enforcing the connection rate limit, capping concurrent connection attempts, adding backoff to retries, limiting the shared network capacity one service can use and alerting on spikes in new connections come from GitHub's monthly report and status page summary. Exponential backoff, random jitter and separate links for critical services are general practice. The diagram is a simplified sketch; GitHub has not published where these limits are applied.
Improved design
1. When the cache connections drop: The connection rate limit is enforced: the service may open new connections only so fast, and its concurrent connection attempts are capped. When the connections drop the servers want to reconnect together, but new connections are opened only at the permitted rate. Reconnecting takes a little longer, the link does not fill up, and other services are unaffected. This is GitHub's own fix: the limit was in shadow mode during the incident, and was then enforced with a concurrency cap added. The next steps assume the limit failed to hold, to show the other defences.
2. After a retry fails: Suppose the limit failed and the first wave of retries has gone out and failed. Backoff makes a server wait before trying again after a failure, and GitHub is adding backoff to retries. General practice is to double the wait after each failure (exponential backoff) and add a little random time (jitter) so the servers' retries no longer line up. Each wave is smaller than the last and the peak on the link fades quickly.
3. Other services on the link: Suppose the Actions service's retry traffic is still heavy. GitHub is limiting how much shared network capacity a single service can use. The Actions service can use only its own share, and when that is gone only it slows down; the rest of the link's capacity stays available to other services, which keep working. The failure stays inside one service and does not spread to every service sharing the link.
4. Finding the source: The new-connection alert watches how many new connections this service opens and fires on a sudden spike. The people on call see at once which service is opening connections in bulk and can deal with it right away, without working backwards from a congested link. This alert comes from GitHub's monthly report.
Original design
1. When the cache connections drop: The connection rate limit is still in shadow mode: it logs and does not enforce. When the connections drop, every server reconnects immediately and at the same time, and the whole surge of new connections goes straight onto the link.
2. After a retry fails: Retries have no backoff: a failed attempt is retried right away. The link between the data center and the cloud region goes over capacity. From 15:24 Actions status updates, logs and checks are delayed.
3. Other services on the link: The Actions service's retries fill the link, and other services on the same link are disrupted with it. Pages deployments and webhooks are delayed, and live updates on GitHub.com and code search are degraded for part of the time. Limiting how much shared network capacity a single service can use is something GitHub started on only after the incident.
4. Finding the source: The automated alerts report the failures. Engineers trace the problem to the shared link and then route the Actions service away from its cache servers in two rounds: the first covers only some of them and the link stays over capacity; the second covers the rest and the link recovers. Impact starts at 15:24, and the status page reports recovery only at 16:30.
Three lines of defence
Key: limit how fast new connections open
· (Key) Limit how quickly this Actions service can open new connections to its cache servers, and cap its concurrent connection attempts. The limit was already being rolled out but was still in shadow mode (logging only, not enforcing); it is now fully enforced.
· Extend these limits to other Actions services.
· (General practice) Shadow mode shows what a new rule would block before it goes live, but it blocks nothing itself. Give shadow mode a deadline and switch to enforcement once enough has been observed.
Retries: backoff and jitter
· Add backoff to retries: wait before trying again after a failure.
· (General practice) Double the wait after each failure (exponential backoff), add random jitter so the servers' retries do not line up, and cap the number of retries.
A shared link is one failure domain
· Limit how much shared network capacity a single service can use.
· (General practice) List which services use the link between the data center and the cloud region, and who is hit together when it fills up. Critical services can get a separate link or a guaranteed share of bandwidth.
· (General practice) When a service and its cache sit at opposite ends of a link, every cache request and every reconnect crosses that link. Include the reconnect peak when sizing the link.
Alerting: find the source sooner
· Alert on spikes in new connections from this service, to identify and address the source sooner.
· (General practice) Break down a link's traffic and new connections by source service, so that when the link alarms it is clear at once who is using it.
Sources
· GitHub Blog: GitHub availability report: October 2026 (official monthly report, 2026-11-12, the October 19 section) https://github.blog/news-insights/company-news/github-availability-report-october-2026/
· GitHub Status: Degraded availability for GitHub Actions, GitHub Pages and Webhooks (incident updates and post-incident summary, 2026-10-19) https://www.githubstatus.com/incidents/8tzbpcnl75jp
③ GitHub: capacity exhaustion and auth cascade (Aug 2026)
Case · about 10 min
Goal: Traffic reached a new peak, a service-mesh sidecar in the Central US datacenter hit its concurrency limit without scaling up, requests backed up, four load-balancer nodes exhausted their flow limits, and the gateway's shared authentication path degraded, breaking many services. Retries amplified the traffic, and a retry bug in VS Code kept the Copilot Token Service from recovering until 21:02; the incident lasted 7 hours 47 minutes.
What happened
· When:August 17, 2026, 13:28 to 21:15 UTC, 7 hours 47 minutes (status page summary). The monthly report's heading counts from the first status post at 13:40 and says 7 hours 35 minutes; its impact summary says about 6 hours 44 minutes.
· Impact:Issues and pull requests were the most visible, with pages and API returning errors and slow responses. Other services routing through the same datacenter's load balancers were hit too: the REST and GraphQL APIs, Actions, Copilot, sign-in and authentication, and the webhooks API. Status page: at peak about 20% errors on web and API, about 50% on archive and raw-content downloads, with SAML / OIDC authentication, SCIM and Team Sync also affected. Monthly report: at peak 56.07% of front-door requests to the affected services failed or ran slow; about 29K organizations saw at least one, roughly 4.8M requests in total. No data was lost.
· Trigger:Traffic reached a new peak. An Istio sidecar in the Central US datacenter hit its concurrency limit. A sidecar is the service-mesh proxy that runs alongside a service and carries every request in and out of it; the concurrency limit caps how many requests it handles at once. The autoscaling policy was misconfigured: it watched the host service and not the sidecar's limits, so nothing scaled up.
· Cascade:Requests backed up, one failure cascaded into more, and four HAProxy load-balancer nodes exhausted their flow limits (how many network flows a node can carry at once). The gateway's shared authentication path degraded as a result, causing authentication latency and failures across the many services routing through that datacenter. Optimistic retry logic then overloaded the internal load balancers.
· Why recovery was slow:Delayed replies from one internal endpoint triggered a latent retry bug in VS Code that amplified traffic about 10x: Copilot Token Service traffic rose from a normal 7–9K requests per second to 70–100K, and it fully recovered only at 21:02. A number of scraping attacks on codeload endpoints also impeded recovery.
· Recovery:Some failing traffic was moved from Central US to Northern Virginia; pausing HAProxy on the four nodes at the same time brought immediate, broad recovery. Most services were back by 16:36 and Actions by about 18:03. The retry storm was handled by temporarily reducing gateway retries, rejecting Copilot Token Service token requests with a 403 at the load balancers, then ramping traffic back up per site.
· Nature:GitHub calls it a capacity failure at its core: critical components were not scaled before demand exceeded their capacity, and no code or configuration change caused it. It names two core weaknesses: the sidecar did not scale up, and retry behaviour and clients were not bounded enough to keep a partial degradation from being amplified into a broader overload.
· About the diagram:GitHub has not published an architecture diagram. Every component drawn is named in the official reports, but the layout is a simplified sketch: the reports do not say whether the gateway or the load balancers come first, or which service the sidecar belongs to.
Timeline (UTC, GitHub status page)
· 13:28 UTC Errors and latency start to rise (the start time given in the status page summary).
· 13:40 UTC First status post: investigating reports of impacted performance. At 13:45: an error rate of about 20% across Pull Requests, Issues and others.
· 14:04 UTC Archive and raw-content downloads at about 50% errors; at 14:24 SAML and OIDC authentication, SCIM and Team Sync are added as impacted.
· 14:31 UTC By 14:58 Copilot, Pull Requests, Issues, Actions and Webhooks are marked as degraded availability one after another.
· 16:36 UTC The problematic component is identified and corrective actions taken, with strong signs of recovery. Summary: Central US recovers and most services are back by now.
· 16:59 UTC Degradation of API Requests, Actions, Git Operations, Issues, Pages, Pull Requests and Webhooks is mitigated.
· 17:34 UTC Residual impact across numerous services; Actions recovers at about 18:03; at 18:11 the residual impact is described as sporadic authentication failures.
· 19:13 UTC Authentication token retries are partially disabled and improvement is seen.
· 20:45 UTC Sporadic Copilot authentication failures remain in some applications; mitigation continues.
· 21:15 UTC The Copilot Token Service is fully recovered at 21:02; the incident is resolved at 21:15.
How it failed
1. Normal: Requests first reach a datacenter's load-balancer nodes, which pass them on to the services behind. In front of a service sits a service-mesh sidecar: a proxy that runs alongside the service and carries every request in and out of it. The number of requests it handles at the same time is capped; that cap is the concurrency limit. The autoscaling policy adds instances when load rises. Many services share one authentication path on the gateway. Copilot in VS Code gets its tokens from the Copilot Token Service; only the path through Northern Virginia is drawn. GitHub has not published an architecture diagram, so the layout here is a simplified sketch.
2. What the rule is for (hypothetical): Suppose a service can handle at most 100 requests at the same time, so the sidecar's concurrency limit is set to 100. A burst of 150 requests arrives; the sidecar lets 100 through and the other 50 wait in a queue. The service is not overwhelmed and the admitted requests finish normally: the concurrency limit protects the service behind it. Meanwhile autoscaling sees the load rise and adds instances, each with its own sidecar, so the total limit grows and the queue drains quickly. The numbers are illustrative.
3. Traffic peak: the sidecar hits its limit: On August 17 traffic reaches a new peak. In the Central US datacenter an Istio sidecar hits its concurrency limit (Istio is a widely used service-mesh software). It should have scaled out at this point, but the autoscaling policy was misconfigured: it watched the host service and not the sidecar's limits, so nothing scaled. New requests cannot get through and start to back up.
4. Backlog: load balancers run out of flows: Requests keep piling up, one failure cascades into more, and eventually four HAProxy nodes exhaust their flow limits (HAProxy is a widely used load-balancer software). In general, each connection through a load balancer counts as one flow, and a node can carry only so many flows at once; when the back end slows down, connections stay open longer and hold more and more flows, and once they run out, new connections cannot get in.
5. 13:28 UTC Auth path degrades, many services fail: With flows exhausted, the gateway's shared authentication path degrades. Requests to many services have to be authenticated first, so services that route through this datacenter see widespread authentication latency and failures. From 13:28, errors and latency rise across Issues, Pull Requests, the APIs, Actions and Copilot; at peak the web and API error rate is about 20%, archive and raw-content downloads about 50%, and SAML / OIDC authentication, SCIM and Team Sync are affected too.
6. Retries make the overload worse: Failed requests are retried automatically. Retries are meant to ride out an occasional failure, but under overload each failure turns into several requests and adds traffic. GitHub says optimistic retry logic overloaded the internal load balancers and made the problem worse; this is called a retry storm. GitHub names two core weaknesses: the sidecar did not scale up, and retry behaviour and clients were not bounded enough, so a partial degradation was amplified into a broader overload.
How it was recovered
1. 13:40 UTC Detected, investigation starts: Automated monitoring detects the elevated errors and an incident is opened. The status page posts its first notice at 13:40 and at 13:45 reports an error rate of about 20% across Pull Requests, Issues and others; the affected products are then marked degraded one after another. Engineers from across the affected services join the investigation.
2. Traced to the load balancers; some traffic moved: Engineers trace the failure to network saturation on the load balancers in a single datacenter. They move some of the failing traffic from Central US to Northern Virginia, where it is served successfully, and start reducing gateway retries to relieve the pressure.
3. 16:36 UTC Stop the saturated nodes: Engineers pause the HAProxy processes on those four nodes at the same time, which produces immediate, broad recovery; the reports do not explain why pausing them worked. By 16:36 Central US has recovered and most services are back; at 16:59 the status page says the degradation of API Requests, Actions, Git Operations, Issues, Pages, Pull Requests and Webhooks is mitigated. Actions stays degraded until about 18:03.
4. 17:34 UTC Residual: a client retry loop: At 17:34 the status page reports residual impact across numerous services, and at 18:11 says what remains is sporadic authentication failures. The summary attributes the residual Copilot authentication failures to client retries: delayed replies from one internal endpoint trigger a latent retry bug in VS Code, where a failed token operation generates many extra requests and enters a retry loop, amplifying traffic about 10x. Copilot Token Service traffic rises from a normal 7–9K requests per second to 70–100K. The status page places this retry storm in Northern Virginia.
5. 19:13 UTC Fewer retries, token requests blocked: Two measures are taken. First, gateway retry logic is temporarily reduced with a code change; at 19:13 the status page says authentication token retries are partially disabled and things are improving. Second, inbound Copilot Token Service token requests are rejected at the load balancers with a 403 (the HTTP status code for forbidden), so they no longer reach the service behind. The reports give no time for the block.
6. 21:02 UTC Ramp traffic back up: With retry pressure down, engineers ramp traffic back up gradually, site by site, so callers can succeed. At 20:45 the status page still reports sporadic Copilot authentication failures in some applications. The Copilot Token Service is fully recovered at 21:02, and after a sustained period of healthy telemetry the incident is resolved at 21:15.
The fix
Counting the sidecar in autoscaling, auditing service-mesh limits, reviewing retry limits across gateways and clients, fixing the client retry behaviour and improving load-balancer capacity monitoring come from GitHub's monthly report and status page; retry budgets come from GitHub's August 20 blog post; alerting on flow usage, the budget ratio and exponential backoff with jitter are general practice, as GitHub did not publish those details.
Improved design
1. Traffic hits a new peak: Autoscaling counts the sidecar: the policy watches the sidecar's concurrency and capacity as well as the host service. When traffic hits a new peak and the sidecar's concurrency nears its limit, the policy adds instances, requests do not back up, and nothing else follows. This is the first follow-up GitHub lists. The next steps assume it slipped through, to show the other defences.
2. Requests back up, flows run low: Suppose the sidecar still hits its limit and requests start to back up. Load-balancer capacity monitoring tracks how much of each node's flow limit is in use and alerts when it is nearly full, so engineers move some traffic to another datacenter before flows run out. GitHub says it will improve load-balancer capacity monitoring and strengthen regional failover safeguards without giving details; alerting on usage is general practice.
3. Retries after failures: Suppose the nodes fill up anyway and some requests fail. A retry budget caps retries at a fixed share of normal request volume; beyond that, failures are returned at once without retrying. Failed requests do not multiply into extra traffic, and a partial degradation stays partial. GitHub is reviewing retry and backoff limits across gateways and clients, and applying consistent retry limits, retry budgets and variable timeouts across service-to-service calls.
4. Client retries: Suppose the token endpoint replies slowly. The client's retries are fixed: after a failure it waits before trying again, waits longer each time and stops after a set number of attempts, so it never enters a retry loop. Copilot Token Service traffic stays close to normal and recovery is not delayed. GitHub's follow-up is to address the VS Code retry behaviour that amplified token traffic; backoff and attempt caps are general practice.
Original design
1. Traffic hits a new peak: The autoscaling policy watches the host service and not the sidecar's limits. When traffic hits a new peak, an Istio sidecar reaches its concurrency limit, nothing scales out, and requests start to back up.
2. Requests back up, flows run low: The failure cascades and four HAProxy nodes exhaust their flow limits; the gateway's shared authentication path degrades, and many services see authentication latency and failures. Monitoring detects the elevated errors, and engineers then trace the problem back to network saturation on the load balancers.
3. Retries after failures: Failed requests are retried optimistically, and retries are not bounded enough. The retries overload the internal load balancers and a partial degradation is amplified into a broader overload. During the incident engineers reduced gateway retries temporarily.
4. Client retries: Delayed replies from one internal endpoint trigger the latent retry bug in VS Code, and token requests grow about 10x, from 7–9K to 70–100K per second. Most services are back by 16:36, but the Copilot Token Service takes until 21:02; it settles only after engineers reject token requests with a 403 at the load balancers and then ramp traffic back up gradually.
Three lines of defence
Key: autoscaling must watch the sidecar
· (Key) Correct autoscaling policies so they account for service-mesh sidecar concurrency and capacity, not just the host service.
· Audit request, concurrency and scaling limits for the service mesh across the affected services.
· (General practice) Every limit on the request path (concurrency, connections, flows, queue length) needs a metric that feeds scaling and alerting; watching only CPU and memory misses them.
Load balancers: know before the limit is hit
· Improve load-balancer capacity monitoring and strengthen regional failover safeguards.
· Review lower-priority CPU and memory alerts to identify components that could fail during sudden traffic spikes.
· (General practice) Monitor each load-balancer node's flows or connections as a share of its limit, alert at a set threshold, and add capacity or shift traffic before the limit is reached.
Retries: cap the total
· Review retry and backoff limits across gateways and clients so a partial degradation cannot be amplified into a broader overload.
· Apply consistent retry limits, retry budgets and variable timeouts across service-to-service interactions to prevent retry storms and cascading load.
· (General practice) A common way to set a retry budget: retries may not exceed a fixed share of normal request volume (10%, say); beyond that, fail at once.
Clients: back off after failures
· Fix the client retry behaviour that amplified authentication traffic during the incident (the VS Code retry behaviour).
· (General practice) Clients should retry with exponential backoff and jitter: double the wait after each failure, add a little randomness, and cap the number of attempts.
Sources
· GitHub Blog: GitHub availability report: August 2026 (official monthly report, 2026-09-09) https://github.blog/news-insights/company-news/github-availability-report-august-2026/
· GitHub Status: Incident with GitHub.com (status updates and post-incident summary, August 17) https://www.githubstatus.com/incidents/zkxwbgr0cnmx
· GitHub Blog: The August 17 outage, and the work ahead (2026-08-20) https://github.blog/news-insights/company-news/the-august-17-outage-and-the-work-ahead/
④ Cloudflare: a killswitch trips a bug in the old proxy (2025)
Case · about 10 min
Goal: To mitigate a critical React vulnerability, Cloudflare was enlarging the WAF's request body buffer; when its internal WAF testing tool turned out not to support it, the tool's test rules were turned off with a killswitch, a change that reached the whole network in seconds. In the older FL1 proxy, Lua code failed while handling the skipped rule, and about 28% of HTTP traffic got HTTP 500 for about 25 minutes.
What happened
· When:December 5, 2025, 08:47 to 09:12 UTC, about 25 minutes.
· Impact:A subset of customers, accounting for about 28% of all HTTP traffic served by Cloudflare. Every request for those websites returned HTTP 500, except some test endpoints such as /cdn-cgi/trace.
· Who was hit:Two conditions had to hold together: the website was served by the older FL1 proxy, and it had the Cloudflare Managed Ruleset (a set of WAF rules maintained by Cloudflare) deployed. Other customers were not impacted, nor was traffic served by Cloudflare's China network.
· Context:A critical, industry-wide vulnerability in React Server Components, CVE-2025-55182, was disclosed that week. The WAF (Web Application Firewall) inspects requests for malicious payloads, and for that the proxy buffers the HTTP request body in memory; the buffer was 128KB. Cloudflare was raising it to 1MB, the default limit allowed by Next.js applications, through its gradual deployment system.
· Trigger:During the rollout, the internal WAF testing tool turned out not to support the larger buffer. The tool was not needed at that time and had no effect on customer traffic, so a second change turned it off. That change went through the global configuration system, which does no gradual rollout and reaches every server in the network within seconds.
· Mechanism:The rulesets system evaluates sets of rules for every request. A rule has a filter and an action; typical actions are block, log and skip, and an execute action triggers evaluation of another ruleset. The testing tool's test rules live in their own ruleset, called by an execute rule in a top-level ruleset. The killswitch is a subsystem of the rulesets system for quickly disabling a misbehaving rule, fed by the global configuration system; it had been used many times to mitigate incidents, with a standard operating procedure that was followed here.
· The bug:A killswitch had never before been applied to a rule with an execute action. FL1's rules module correctly skipped the rule, but the Lua code that processes the results assumed an execute rule always carries a rule_result.execute object; the object was missing, Lua threw an exception, and requests got HTTP 500. The bug had gone undetected for many years. The new FL2 proxy, written in Rust, did not hit this error.
· Recovery:08:50 automated alerts fire and the incident is declared; 09:11 the configuration change is reverted; 09:12 the revert has fully propagated and all traffic is restored.
· Nature:Not caused by a cyber attack or malicious activity of any kind. Cloudflare says it resembles the longer incident of November 18, 2025: in both, a deployment made to mitigate a security issue propagated to the whole network. The changes planned after November would have helped prevent this impact, but had not finished deploying.
Timeline (UTC, Cloudflare official)
· 08:47 UTC The configuration change is deployed and propagates to the network; the incident starts.
· 08:48 UTC The change has fully propagated; full impact.
· 08:50 UTC Automated alerts fire and the incident is declared.
· 09:11 UTC The configuration change is reverted and the revert starts to propagate.
· 09:12 UTC The revert has fully propagated, all traffic is restored and the incident ends.
How it failed
1. Normal: A visitor's request first reaches Cloudflare's proxy, which inspects it and passes it on to the customer's website. There are two versions of the proxy: the older FL1 and the new FL2. Visitors A use websites served by FL1 that have the Cloudflare Managed Ruleset (a set of WAF rules maintained by Cloudflare) deployed; Visitors B use websites served by FL2. The WAF (Web Application Firewall) looks for malicious content in requests, and for that the proxy buffers the HTTP request body in memory, up to 128KB. To inspect a request the proxy evaluates the rules of a ruleset one by one. The top-level ruleset holds one rule whose action is execute, which evaluates another ruleset: the test rules of the internal WAF testing tool, where new rules are tried before they are made public.
2. What the rule is for (hypothetical): A rule has a filter and an action; typical actions are block, log and skip. The killswitch is a subsystem of the rulesets system for quickly disabling one misbehaving rule. Suppose a block rule starts blocking legitimate requests: engineers send "disable this rule" through the global configuration system, and it reaches every server in the network within seconds. The proxies skip that rule during evaluation, the other rules still run, and requests are served normally again. Cloudflare has used the killswitch many times to mitigate incidents and has a standard operating procedure for it.
3. Change 1: a larger buffer: A critical, industry-wide vulnerability in React Server Components, CVE-2025-55182, was disclosed that week. To protect as many customers as possible, Cloudflare raises the request body buffer from 128KB to 1MB, the default limit allowed by Next.js applications. This change goes through the gradual deployment system, in stages. During the rollout it turns out that the internal WAF testing tool does not support the larger buffer. The tool is not needed at that time and has no effect on customer traffic, so Cloudflare decides to turn it off.
4. 08:47 UTC Change 2: turning off the test rules: Turning the testing tool off means its test rules are no longer evaluated. Cloudflare applies the killswitch to the execute rule in the top-level ruleset, following its standard operating procedure. This change goes through the global configuration system, which does no gradual rollout and reaches every server in the network within seconds. It is deployed at 08:47. A killswitch has never before been applied to a rule with an execute action.
5. 08:47 UTC FL1: the Lua code fails: FL1's rules module correctly skips the execute rule and does not evaluate the test ruleset. It then processes the overall results of the ruleset. That Lua code assumes a rule whose action is execute always carries a rule_result.execute object; because the rule was skipped the object does not exist, the code indexes a nil value, Lua throws an exception, and the request gets HTTP 500. The bug had been in the code, undetected, for many years.
6. 08:48 UTC Scope: FL2 is not affected: At 08:48 the change has fully propagated and impact is at its peak. A customer is hit only when two conditions hold together: the website is served by the older FL1 proxy, and it has the Cloudflare Managed Ruleset deployed. Every request for those websites returns HTTP 500, except some test endpoints such as /cdn-cgi/trace; they account for about 28% of all HTTP traffic served by Cloudflare. The new FL2 proxy is written in Rust, and its replacement for this code does not hit the error. Traffic served by Cloudflare's China network is not impacted either.
How it was recovered
1. 08:50 UTC Alerts fire, incident declared: The issue is identified shortly after the change is applied. At 08:50 automated alerts fire and Cloudflare declares an incident.
2. 09:11 UTC Revert the change: At 09:11 the configuration change is reverted and the revert starts to propagate across the network.
3. 09:12 UTC Traffic restored: At 09:12 the revert has fully propagated, all traffic is served correctly again and the incident ends. From 08:47 to 09:12, impact lasted about 25 minutes.
4. Afterwards: changes locked down: In its post-mortem Cloudflare says it is locking down all changes to its network until it has better mitigation and rollback systems. It also points to the longer incident of November 18, 2025: in both, a deployment made to mitigate a security issue propagated to the whole network. The changes planned after November would have helped prevent this impact, but had not finished deploying.
The fix
Staged rollout of configuration with health validation and quick rollback, fail-open, break glass and the lockdown on network changes come from Cloudflare's post-mortem; testing the killswitch against every action type, checking that an object exists before using it, testing one configuration on both the old and the new proxy, and sending non-urgent changes through gradual deployment are general practice.
Improved design
1. Pushing the change: Staged rollout: a configuration change first goes to a small batch of servers, with health validation. FL1 in that batch starts returning HTTP 500, validation fails, the rollout stops and rolls back, and the rest of the fleet never receives the change. Cloudflare says data used for rapid threat response and general configuration needs the same safety features as software releases, including health validation and quick rollback. The next steps assume the change reached the whole network anyway, to show the other defences.
2. Skipping the execute rule: Suppose the change reached the whole network anyway. Killswitch tests: the killswitch has been tested in advance against rules of every action type, execute included. The failure when results are processed after an execute rule is skipped shows up in testing and is fixed before release. This is general practice. Cloudflare's post-mortem says this was the first time a killswitch was applied to an execute rule, and that languages with strong type systems prevent this type of error; FL2, written in Rust, did not fail.
3. When the rules module fails: Suppose the bug is still there and the rules module throws an exception. Fail-open: log the error and pass the request, so visitors still reach the website. Cloudflare says it is replacing incorrectly applied hard-fail logic in its critical data-plane components (the parts that handle user traffic): when a configuration file is corrupt or out of range, the system logs the error and falls back to a known-good state or passes traffic without scoring, and does not drop requests. The same idea is applied to the rules module here. Some services will let customers choose whether to fail open or closed.
4. After the problem is seen: Suppose requests still fail. Configuration is versioned and comes with quick rollback: when health validation fails, the configuration quickly returns to the previous version. Cloudflare is also improving break glass (emergency access): critical operations must still be possible when other types of failure occur. This time it took 21 minutes from declaring the incident at 08:50 to reverting the change at 09:11.
Original design
1. Pushing the change: The change that turns off the test rules goes through the global configuration system. It does no gradual rollout and reaches every server in the network within seconds, so a bad change hits the whole network at once.
2. Skipping the execute rule: The killswitch had been used many times, but never on a rule with an execute action. After FL1 skips the rule, the Lua code that processes the results reads a rule_result.execute object that does not exist and throws an exception. The bug had gone undetected for many years.
3. When the rules module fails: The rules module throws an exception and FL1 answers the request with HTTP 500. For customers whose websites are on FL1 with the Cloudflare Managed Ruleset deployed, every request fails, about 28% of all HTTP traffic. FL2 does not hit the error.
4. After the problem is seen: At 08:50 automated alerts fire and the incident is declared; at 09:11 the configuration change is reverted, and by 09:12 the revert has fully propagated and traffic is restored. It took 21 minutes from declaring the incident to reverting the change, and impact lasted about 25 minutes in total.
Three lines of defence
Key: configuration changes roll out in stages too
· (Key) Data used for rapid threat response and general configuration needs the same safety features as software releases: staged rollout, health validation and quick rollback. Cloudflare says this work would have helped prevent the impact, but it had not finished deploying.
· Lock down all changes to the network until better mitigation and rollback systems are in place.
· (General practice) Send non-urgent changes through gradual deployment. Turning off an internal testing tool that is not needed at the moment has no use for a channel that reaches the whole fleet in seconds.
Killswitch: test the emergency switch itself
· (General practice) Test the killswitch against every rule action: block, log, skip and execute. This was the first time a killswitch was applied to an execute rule.
· (General practice) Code that processes results should check that an object exists before reading it. When a rule is skipped, rule_result.execute does not exist.
Fail open, and keep emergency access
· Replace incorrectly applied hard-fail logic in critical data-plane components: when a configuration file is corrupt or out of range, log the error and fall back to a known-good state or pass traffic without scoring. Some services will let customers choose to fail open or closed.
· Improve break glass (emergency access): critical operations must still be possible when other types of failure occur, for internal services and for the control plane customers use.
Old and new proxies side by side
· The bug in FL1's Lua code went undetected for many years; its replacement in FL2, written in Rust, did not fail. Cloudflare says languages with strong type systems prevent this type of error.
· (General practice) While two implementations run side by side, test a configuration on both before pushing it to the whole network.
· (General practice) Before enlarging a parameter, confirm that the tools depending on it support the new value. Here the request body buffer went to 1MB and the internal WAF testing tool did not support it.
Sources
· Cloudflare: Cloudflare outage on December 5, 2025 (official post-mortem, with the error message and the faulty code) https://blog.cloudflare.com/5-december-2025-outage/
⑤ AWS: DynamoDB's DNS record emptied (2025)
Case · about 10 min
Goal: A race in DynamoDB's DNS automation let a delayed DNS Enactor write an old plan into Route 53, and another Enactor's clean-up then deleted that plan, removing every IP of the regional endpoint dynamodb.us-east-1.amazonaws.com. The systems depending on it, EC2 launches, network state propagation and NLB health checks, failed one after another; the event lasted about 14.5 hours.
What happened
· When:October 19, 2025, 11:48 PM to October 20, 2:20 PM (US Pacific, PDT), in the us-east-1 (N. Virginia) Region.
· Impact:Three periods: DynamoDB API errors (23:48–02:40); new EC2 launches failing (02:25–10:36), with some new instances having connectivity problems until 13:50; connection errors on some NLBs (05:30–14:09). Lambda, ECS / EKS / Fargate, Amazon Connect, STS, console sign-in, Redshift and others were hit too. EC2 instances already running before the event were not affected.
· Trigger:A latent race condition in DynamoDB's DNS management system left the regional endpoint dynamodb.us-east-1.amazonaws.com with an empty DNS record, which the automation failed to repair.
· How the automation works:The DNS Planner watches load balancer health and capacity and periodically produces a new DNS plan (a set of load balancers and weights). The DNS Enactor runs independently in three Availability Zones and writes plans into Route 53 with transactions. Before it starts, an Enactor checks once that its plan is newer than the one already applied.
· The race:One Enactor was unusually slow and kept retrying an old plan on several endpoints; another quickly applied a newer plan and then cleaned up plans many generations older. At that moment the slow one wrote its old plan to the regional endpoint, and the clean-up deleted that old plan, removing every IP of the endpoint. With the active plan gone, the system was inconsistent, no Enactor could apply later plans, and operators had to step in.
· Cascade:EC2's DWFM keeps a lease on every physical server (droplet); its state checks depend on DynamoDB, failed from 23:48, and leases timed out one by one until 02:24. A droplet without a lease is not picked for new launches.
· Recovery backlog:After DynamoDB returned at 02:25, DWFM had to rebuild leases with every droplet in the Region; the work timed out, was queued again, and DWFM fell into congestive collapse. Then Network Manager built up a large backlog of network state changes, so new instances came up without connectivity; NLB health checks flapped as a result and triggered AZ DNS failover, which removed capacity.
· Recovery:02:25 all DNS information restored; 04:14 incoming work throttled and some DWFM hosts restarted, every lease back by 05:28; 09:36 NLB automatic health check failover disabled; 10:36 network propagation normal; 11:23 throttles start to be relaxed; 13:50 EC2 fully normal; 14:09 NLB automatic failover re-enabled.
· Follow-up:AWS disabled the DynamoDB DNS Planner and DNS Enactor automation worldwide, and will re-enable it only after fixing the race and adding protections against applying incorrect DNS plans.
Timeline (US Pacific time, AWS official summary)
· 10-19 23:48 PDT The regional endpoint's DNS record goes empty and DynamoDB errors begin; DWFM state checks start failing.
· 10-20 00:38 PDT Engineers identify DynamoDB's DNS state as the source; by 01:15 temporary mitigations let some internal services connect.
· 10-20 02:25 PDT All DNS information restored; cached records expire by 02:40. DWFM starts rebuilding leases and falls into congestive collapse.
· 10-20 04:14 PDT Incoming work throttled and DWFM hosts selectively restarted; by 05:28 every droplet has a lease and launches start to succeed.
· 10-20 06:21 PDT Network Manager works through its backlog and propagation slows; at 06:52 monitoring detects the NLB health check failures.
· 10-20 09:36 PDT NLB automatic health check failover disabled; the NLB connection errors stop.
· 10-20 10:36 PDT Network propagation back to normal; throttles relaxed from 11:23, EC2 fully normal at 13:50, NLB automatic failover re-enabled at 14:09, and the event ends at 14:20.
How it failed
1. Normal: DynamoDB's regional endpoint dynamodb.us-east-1.amazonaws.com is a DNS record in Route 53 holding the IPs of a set of load balancers. The DNS Planner periodically produces a new DNS plan; the DNS Enactor runs in three Availability Zones (two drawn here) and writes plans into Route 53 with transactions. Customers and AWS services look up the record, then connect. In EC2, DWFM's state checks use DynamoDB, Network Manager pushes network configuration to new instances, and NLB health checks decide which nodes stay in service. Plan numbers are illustrative.
2. What the rules are for (hypothetical): Suppose the Planner produces plan 101. Before starting, Enactor 1 checks once that 101 is newer than the current 100, then writes it endpoint by endpoint. When it is done it runs the clean-up, which deletes plans many generations older than 101 that are long out of use. If two Enactors update the same endpoint at once, the Route 53 transaction makes one of them wait, and that one retries. Normally this finishes quickly and keeps DNS up to date.
3. One Enactor falls behind: Just before the event, Enactor 1 picks up plan 101 and passes its check (101 is newer than 100). It then hits unusually long delays and has to retry on several endpoints. Meanwhile the Planner produces many newer generations of plans; Enactor 2 picks up the newer plan 130 and quickly applies it to every endpoint.
4. The old plan overwrites the new one: Enactor 2 finishes 130 and starts the clean-up, which deletes plans many generations older than 130. At that same moment Enactor 1 writes its old plan 101 to the regional endpoint, overwriting 130. Its version check is long out of date: at check time the current plan was 100, at write time it is 130, and the check runs only once, so nothing stops it.
5. 10-19 23:48 PDT The clean-up deletes the plan in use: The clean-up then deletes 101 because it is many generations older than 130. But 101 is the plan the regional endpoint is using, so deleting it immediately removes every IP of the endpoint and the record is empty. With the active plan gone, the system is inconsistent: no Enactor can apply later plans, the automation cannot repair it, and operators must step in.
6. 10-19 23:48 PDT DynamoDB unreachable: From 23:48, every system reaching DynamoDB through the public endpoint gets DNS failures and cannot open new connections, including customer traffic and AWS internal services that depend on DynamoDB. Customers using global tables can still use replicas in other Regions, but replication to and from the us-east-1 replicas falls further and further behind.
7. 10-20 02:24 PDT EC2 leases expire one by one: EC2's DWFM (DropletWorkflow Manager) manages all the physical servers, which AWS calls droplets. DWFM keeps a lease on each droplet and completes a state check with it every few minutes; that check depends on DynamoDB and starts failing at 23:48. Running instances are unaffected, but leases time out one by one until 02:24, and a droplet without a lease must get a new one before its instances can change state, and is not picked for new launches.
How it was recovered
1. 10-20 00:38 PDT Finding the cause: At 00:38 engineers identify DynamoDB's DNS state as the source. By 01:15 temporary mitigations let some internal services connect to DynamoDB and repair key internal tooling, which unblocks the rest of the recovery.
2. 10-20 02:25 PDT DNS restored: With operators stepping in, all DNS information is restored at 02:25. Cached DNS records expire between 02:25 and 02:40, after which clients resolve the endpoint and connect; global tables replicas are fully caught up at 02:32. This ends the DynamoDB part of the outage.
3. 10-20 02:25 PDT DWFM in congestive collapse: With DynamoDB back, DWFM starts rebuilding leases with every droplet in the Region. There are so many droplets that the work takes longer than the timeout, timed-out work is queued again, and DWFM falls into congestive collapse, making no progress on leases. Droplets without a lease cannot take new instances, so EC2 launch requests return "insufficient capacity". There was no established procedure for this, so engineers moved carefully to avoid making it worse.
4. 10-20 04:14 PDT Throttle and restart DWFM hosts: After several attempts, at 04:14 engineers throttle incoming work and selectively restart DWFM hosts. The restarts clear DWFM's queues, processing times drop and leases get established. By 05:28 every droplet in the Region has a lease and launches start to succeed again; the throttling is still on, so many requests get "request limit exceeded".
5. 10-20 05:28 PDT Network Manager backlog: A new instance needs Network Manager to push its network configuration before it can talk to other instances in its VPC, VPC network appliances and the internet. From 05:28 Network Manager starts pushing configuration for newly launched instances and for instances terminated during the event. These changes had been held up by the DWFM problem and formed a large backlog; from 06:21 propagation slows down, and new instances launch without connectivity.
6. 10-20 05:30 PDT NLB health checks flap: NLB's health check subsystem brings new EC2 instances into service before their network state has fully propagated. The NLB nodes and targets are actually healthy, but checks alternate between failing and passing, so they are removed from DNS and put back when the next check passes. The flapping overloads the health check subsystem, checks are delayed, and automatic AZ DNS failover kicks in; multi-AZ load balancers lose capacity, and applications see connection errors when what is left cannot carry the load. Monitoring detects this at 06:52.
7. 10-20 09:36 PDT Disable automatic failover: At 09:36 engineers disable NLB's automatic health check failover; every available healthy node and target returns to service, and the connection errors stop.
8. 10-20 10:36 PDT Backlog cleared, throttles lifted: Engineers reduce the load on Network Manager and speed up processing; by 10:36 propagation is back to normal and launches work. From 11:23 the request throttles are relaxed step by step, and at 13:50 every EC2 API and launch is normal. With EC2 recovered, NLB's automatic DNS health check failover is re-enabled at 14:09; the event ends at 14:20. In its summary AWS says the DynamoDB DNS Planner and DNS Enactor automation has been disabled worldwide.
The fix
Fixing the race and preventing incorrect DNS plans, queue-length throttling in EC2 data propagation, tests for the DWFM recovery workflow and the NLB removal cap come from AWS's summary; comparing versions inside the write transaction, empty-record protection and pacing lease rebuilds are general practice, as AWS did not publish those details.
Improved design
1. Applying a DNS plan: Compare versions at write time: the plan guard compares the plan being written with the endpoint's current plan inside the same Route 53 transaction and refuses anything older. Enactor 1 arrives with 101 while the current plan is 130, so the write is refused and the endpoint keeps 130. AWS did not publish how it fixes the race; this shows the general practice. The next steps assume the old plan slipped through, to show the other defences.
2. Cleaning up old plans: Empty-record protection: suppose the old plan 101 did get written. The clean-up tries to delete 101; the plan guard sees it is the endpoint's active plan and that deleting it would leave the record with no IPs, so it refuses and raises an alarm. The record holds the old plan's IPs, old but not empty, so the name still resolves and engineers have time to fix it.
3. After DynamoDB returns: Suppose DynamoDB was still out for a while and has just come back. DWFM rebuilds leases only as fast as it can finish them before they time out (general practice), so timed-out work does not pile up; AWS is also adding a test suite for the DWFM recovery workflow to catch problems like this early. Work entering the EC2 data propagation systems is throttled by the length of the waiting queue: the longer the queue, the less is admitted, which protects the service under heavy load.
4. New instances and health checks: Suppose new instances' network is still not ready and health checks flap. The removal cap (velocity control) limits how much capacity a single NLB can remove when health check failures trigger AZ failover; once the cap is reached nothing more is removed and the remaining capacity keeps serving.
Original design
1. Applying a DNS plan: Enactor 1 checked the version once, at the start, and reaches the regional endpoint much later. Nothing compares versions at write time, so the old plan 101 overwrites the newer 130.
2. Cleaning up old plans: The clean-up only looks at "many generations older" and deletes 101 without checking whether it is in use. Every IP of the endpoint disappears, the system is inconsistent, the automation cannot apply new plans, and operators must step in. DynamoDB is unreachable from 23:48 until DNS is restored at 02:25.
3. After DynamoDB returns: DWFM has to rebuild leases with every droplet at once; work times out, is queued again, and DWFM falls into congestive collapse. There is no established procedure, and only manual throttling and host restarts at 04:14 get it out. Then all the delayed network changes land on Network Manager together, and new instances come up without connectivity.
4. New instances and health checks: Health checks bring new instances into service before their network is ready, so results flap and nodes are removed again and again; the slowed health check subsystem then triggers AZ DNS failover. Nothing limits how much capacity can be removed, applications see connection errors, and it lasts until automatic failover is switched off by hand at 09:36.
Three lines of defence
Key: incorrect DNS plans never get applied
· (Key) Fix the race and add protections that stop incorrect DNS plans from being applied; until then the DynamoDB DNS Planner and DNS Enactor automation stays disabled worldwide.
· (General practice) Put the version check inside the write transaction (compare, then write) instead of checking once at the start; a slow writer holding an old plan gets refused.
Empty-record protection
· (General practice) The clean-up never deletes the plan in use, and any change that would leave an endpoint with no IPs is refused with an alarm.
· (General practice) Monitor critical DNS records: alert at once when a lookup returns no IPs or the number of IPs drops sharply.
Dependencies and recovery backlogs
· EC2 data propagation systems rate-limit incoming work based on the size of the waiting queue, protecting the service under heavy load.
· A new test suite exercises the DWFM recovery workflow, adding to existing scale testing, to catch regressions.
· (General practice) Draw the dependency graph: DWFM's state checks depend on DynamoDB, and NLB health checks depend on Network Manager getting network configuration to new instances. When a base service fails, know who fails with it and which backlogs will rush in together during recovery.
· (General practice) Pace recovery work such as lease rebuilds to what can finish before the timeout; do not put all timed-out work straight back in the queue.
Health checks must not remove too much
· NLB gets a velocity control: when health check failures trigger AZ failover, it limits how much capacity a single NLB can remove.
· (General practice) Bring a new instance into health checks and service only after its network configuration has been applied.
Sources
· AWS: Summary of the Amazon DynamoDB Service Disruption in the Northern Virginia (US-EAST-1) Region (official post-event summary) https://aws.amazon.com/message/101925/
⑥ Cloudflare 1.1.1.1: anycast prefixes withdrawn worldwide (Jul 2025)
Case · about 10 min
Goal: On June 6, a configuration change for a DLS service that was not yet in production accidentally linked the 1.1.1.1 Resolver's prefixes to it; nothing changed in the network and the error lay dormant for 38 days. On July 14, attaching an offline test location to that service triggered a global configuration refresh, the 1.1.1.1 prefixes were left with that single location, every production data center withdrew the routes at once, and 1.1.1.1 was down worldwide for 62 minutes.
What happened
· When:July 14, 2025, 21:52 to 22:54 UTC, 62 minutes. The configuration change that triggered it was made at 21:48; the change that introduced the error was made on June 6 at 17:38.
· Impact:The 1.1.1.1 public DNS Resolver (the service that turns domain names into IP addresses for users) was unavailable worldwide, and the majority of 1.1.1.1 users were affected. For many of them, not being able to resolve names meant basically all Internet services were unavailable. Queries over UDP, TCP and DoT (DNS over TLS) dropped immediately and significantly. Gateway DNS saw intermittent degradation of service.
· What kept working:DoH (DNS over HTTPS) traffic stayed relatively stable: most DoH users reach the resolver through the domain cloudflare-dns.com, which uses a different set of IP addresses. Some DNS traffic over UDP that also used different IP addresses was mostly unaffected as well.
· Background:Almost all of Cloudflare's services are made available with anycast: many data centers announce the same IP addresses to the Internet, so traffic is served in many locations. Most services are provided globally, like 1.1.1.1; a subset is constrained to particular regions and belongs to the Data Localization Suite (DLS), which lets customers meet compliance needs across countries and regions. Each service has a matching "service topology": the set of locations its traffic should be routed to.
· Trigger:Two configuration changes to the same DLS service, which was not yet in production. On June 6, while its service topology was being prepared, a reference to the 1.1.1.1 Resolver service was accidentally included, and with it the Resolver's prefixes (a prefix is a contiguous block of IP addresses, such as 1.1.1.0/24); network configuration did not change, so there was no impact and no alert. On July 14, an offline data center was added to that service's topology for internal testing, and this change triggered a refresh of network configuration globally.
· Mechanism:During the refresh the 1.1.1.1 prefixes were handled as prefixes of that DLS service: their service topology shrank from all locations to a single, offline one, and every production data center withdrew them immediately. Two systems, a legacy one and a strategic one kept in sync, dictate in which data centers a prefix is announced. The legacy system hard-codes lists of data centers per prefix and its updates are not deployed progressively: this release was peer-reviewed by multiple engineers, but it did not go through a series of canary deployments before reaching every data center.
· BGP hijack:At 21:54, after Cloudflare withdrew 1.1.1.0/24, Cloudflare Radar reported Tata Communications India (AS4755) advertising that prefix, which from the routing system's point of view looked exactly like a prefix hijack. Cloudflare states that the hijack was not a cause of the outage but an unrelated issue that suddenly became visible because Cloudflare had withdrawn the prefix, and that it is following up with Tata Communications.
· Recovery:At 22:01 internal health alerts fired and an incident was declared. At 22:20 the previous configuration was restored, the prefixes were re-advertised near instantly, and traffic came back to roughly 77% of its earlier level. About 23% of the edge servers had meanwhile been automatically reconfigured to remove required IP bindings and had to be reconfigured through the change management system; that process is normally gradual, and Cloudflare accelerated it after verifying the changes in testing locations. Traffic was back to normal at 22:54.
· Nature:Cloudflare says the root cause was an internal configuration error, not an attack or a BGP hijack.
Timeline (2025, UTC, Cloudflare official)
· 06-06 17:38 UTC A configuration change for a DLS service not yet in production accidentally includes a reference to the 1.1.1.1 Resolver service. Network configuration does not change, there is no impact and no alert, and the error lies dormant.
· 07-14 21:48 UTC A second change to the same DLS service attaches a test location that is not live and triggers a global refresh of network configuration. The 1.1.1.1 prefixes start to be withdrawn from production data centers globally.
· 07-14 21:52 UTC DNS traffic to the 1.1.1.1 Resolver begins to drop globally.
· 07-14 21:54 UTC A related, non-causal event: the withdrawal of Cloudflare's routes exposes a BGP origin hijack of 1.1.1.0/24 (another network announcing this prefix).
· 07-14 22:01 UTC Internal service health alerts for the 1.1.1.1 Resolver begin to fire; an incident is declared.
· 07-14 22:20 UTC A revert to the previous configuration is initiated. To accelerate full restoration, a manually triggered action is validated in testing locations before being executed.
· 07-14 22:54 UTC Resolver alerts clear and DNS traffic on the Resolver prefixes returns to normal levels; impact ends.
· 07-14 22:55 UTC Incident resolved.
How it failed
1. Normal: 1.1.1.1 is the public DNS resolver Cloudflare launched in 2018: users set their device's DNS server to 1.1.1.1 and it turns domain names into IP addresses for them. It is served with anycast: many data centers use BGP (the protocol networks use to exchange routes) to announce the same prefixes to the Internet, a prefix being a contiguous block of IP addresses such as 1.1.1.0/24, and the Internet delivers a user's query to the nearest of them. Which prefix is announced in which data centers is decided by the addressing systems; the 1.1.1.1 prefixes are announced in every location. There are two such systems, a legacy and a new one kept in sync; the diagram shows the legacy one, which hard-codes a list of data centers for each set of prefixes. The DLS service in the diagram is not in production yet and the test location is an offline data center; neither has anything to do with 1.1.1.1 at this point.
2. What the rule is for (hypothetical): A service topology says which locations a service's traffic should be routed to. Most Cloudflare services are provided globally; a subset is constrained to particular regions and belongs to the Data Localization Suite (DLS), which lets customers meet compliance needs across countries and regions. Suppose this DLS service were live with only data center A in its service topology: the addressing system has A announce the service's prefixes while B and C do not, so traffic for that service only ever enters at A. The 1.1.1.1 prefixes do not belong to this service and are still announced in every location.
3. 06-06 17:38 UTC A wrong reference enters the config: Cloudflare is preparing a service topology for a future DLS service that is not yet in production. The configuration change accidentally includes a reference to the 1.1.1.1 Resolver service, so the 1.1.1.1 prefixes now count as part of this DLS service too. The DLS service is not in use, network configuration does not change, and routing for 1.1.1.1 is unaffected. With no change in traffic no alerts fire, and the error sits dormant in the production network.
4. 07-14 21:48 UTC A test location is attached; global refresh: A second change is made to the same DLS service: an offline data center is added to its service topology to allow some internal testing. The location itself is not live, but the change triggers a global refresh of network configuration. Because of the June 6 error, the 1.1.1.1 prefixes are handled as prefixes of this service: their service topology is reduced from all locations to this single, offline location.
5. 07-14 21:48 UTC Every data center withdraws at once: Under the new service topology no production data center should announce the 1.1.1.1 prefixes any more. They start to withdraw them: with BGP they tell the Internet that these addresses can no longer be reached here. Updates in the legacy system are not deployed in stages; this release was peer-reviewed by multiple engineers, but it reached every data center without first going through a series of canary deployments. Anycast has many locations, but all of them receive the same configuration at the same time and withdraw together, and no location keeps announcing.
6. 07-14 21:52 UTC Queries cannot reach Cloudflare: At 21:52 DNS traffic to the 1.1.1.1 Resolver begins to drop globally. With the prefixes withdrawn the Internet has no route to these addresses, and queries cannot reach Cloudflare. Queries over UDP, TCP and DoT (DNS over TLS) drop immediately and significantly. Most users have 1.1.1.1, 1.0.0.1 or the matching IPv6 addresses configured as their DNS server, all inside the withdrawn prefixes; names stop resolving, and for many users basically all Internet services are unavailable. Most DoH (DNS over HTTPS) users go through the domain cloudflare-dns.com, which uses a different set of IP addresses, and that traffic stays relatively stable.
7. 07-14 21:54 UTC An unrelated BGP hijack becomes visible: Once Cloudflare had withdrawn its routes, all the 1.1.1.1 prefixes should have disappeared entirely from the global routing table, but 1.1.1.0/24 did not. Cloudflare Radar reported Tata Communications India (AS4755) advertising 1.1.1.0/24; from the routing system's point of view this looked exactly like a prefix hijack (a network announcing a prefix that belongs to someone else). Cloudflare is explicit that the hijack was not a cause of the outage: it was an unrelated issue that suddenly became visible because Cloudflare had withdrawn the prefix. Cloudflare is following up with Tata Communications.
How it was recovered
1. 07-14 22:01 UTC Alerts fire, incident declared: At 22:01 internal service health alerts for the 1.1.1.1 Resolver begin to fire, indicating query, proxy and data center failures, and Cloudflare declares an incident. That is 9 minutes after traffic began to drop at 21:52. The investigation shows that traffic toward the Resolver prefixes has dropped drastically and is no longer being received at the edge data centers. Cloudflare uses BGP internally to control route advertisements, and engineers find the Resolver routes from the servers completely missing.
2. 07-14 22:20 UTC Revert; prefixes re-advertised: At 22:20 the previous configuration is restored. Near instantly, the BGP prefixes that had been withdrawn from the routers start being re-advertised, including 1.1.1.0/24, and 1.1.1.1 traffic returns to roughly 77% of its level before the incident. Right after the fix a large spike in traffic appears and then drops off: clients are retrying their queries.
3. About 23% of servers need reconfiguring: Between the withdrawal and the revert, about 23% of the fleet of edge servers had been automatically reconfigured for the new topology and had lost required IP bindings (a server accepts traffic for an address only when that address is bound on it). Adding the bindings back goes through the change management system, which by default is not instantaneous, for safety: the network in an individual location is designed to be updated over multiple hours, in a progressive rollout, to avoid additional impact. Given the severity, Cloudflare verified the changes in testing locations and then accelerated the rollout. Data center C stands for those servers in the diagram.
4. 07-14 22:54 UTC All locations restored: At 22:54 routing is restored in all locations, the Resolver alerts clear and DNS traffic on the Resolver prefixes is back to normal levels. The incident is resolved at 22:55. From 21:52 to 22:54, 1.1.1.1 was down for 62 minutes; the 34 minutes after the 22:20 revert went into putting the IP bindings back on the servers.
5. Afterwards: retiring the legacy system: In its post-mortem Cloudflare says this specific issue has been resolved and lists two follow-up steps. Addressing deployments will be staged: legacy components do not use a gradual, staged deployment methodology, and Cloudflare will deprecate them in favour of progressive, health-mediated deployment that gives earlier indication of a problem and rolls back. It will also accelerate the deprecation of the legacy systems: today the current and the legacy components have to be updated concurrently, an intermediate state.
The fix
Staged rollout, health-mediated deployment with rollback, and the accelerated deprecation of the legacy systems come from Cloudflare's post-mortem; the change check (prefix ownership, before/after diff), a cap on what one change may withdraw, rehearsing the emergency fast path, and picking a backup DNS from a different operator are general practice.
Improved design
1. June 6: configuring the DLS service: Change check: every change to a service topology is first checked automatically for two things. One, each prefix may belong to only one service; two, the difference in where each prefix is announced before and after the change. The June 6 change adds the 1.1.1.1 prefixes to another service, the check fails, the change is sent back and the error never enters the configuration. This check is general practice and is not mentioned in Cloudflare's post-mortem. The next steps assume the error got into the configuration anyway, to show the other defences.
2. July 14: attaching the test location: Suppose the wrong reference is still there. On July 14 the test location is attached and the new configuration goes out through a staged rollout: first to a small share of locations, then gradually to the whole network. This is how Cloudflare's newer system works; it describes service topologies without hard-coding IP addresses, and changes can propagate slowly with health monitoring. The first stage is data center A alone, and A withdraws the 1.1.1.1 prefixes; B and C have not received the new configuration and keep announcing. The Internet now delivers the queries that used to reach A to B and C, and 1.1.1.1 stays available.
3. When the prefixes are withdrawn: Health monitoring follows the first stage: A no longer announces the 1.1.1.1 prefixes, 1.1.1.1 queries arriving at A collapse, the monitoring judges the change bad, and the rollout stops and rolls back. B and C never receive the new configuration. In its post-mortem Cloudflare says it will use progressive, health-mediated deployment processes that give earlier indication of a problem during the stages and roll back accordingly.
4. After the problem is seen: The rollback involves only the first stage. A re-announces the prefixes, only A's servers need their IP bindings put back, and users' queries are handled by B and C the whole time. What actually happened on July 14 was a simultaneous worldwide withdrawal: after the 22:20 revert traffic came back to only about 77%, about 23% of the edge servers had to be reconfigured, and that took another 34 minutes. After the rollback the cause is tracked down and the wrong reference left on June 6 is removed.
Original design
1. June 6: configuring the DLS service: On June 6, while a service topology is prepared for the DLS service that is not yet in production, a reference to the 1.1.1.1 Resolver service is accidentally included. Network configuration does not change, routing is unaffected and no alerts fire. The error sits dormant in the production network until July 14.
2. July 14: attaching the test location: On July 14 an offline test location is attached to this DLS service, a global configuration refresh is triggered, and the service topology of 1.1.1.1 shrinks to that one location. Updates in the legacy system are not staged: the release was peer-reviewed by multiple engineers, but it did not go through canary deployments (trying it in a few locations first), and the new configuration reached every data center at the same time.
3. When the prefixes are withdrawn: Every production data center withdraws the 1.1.1.1 prefixes at the same time, and the Internet has no route to these addresses. From 21:52 DNS traffic drops globally and the majority of 1.1.1.1 users cannot resolve names. Every anycast location applied the same configuration, so none of them keeps announcing.
4. After the problem is seen: Internal health alerts fire at 22:01, 9 minutes after traffic began to drop. The configuration is reverted at 22:20 and the prefixes are re-advertised near instantly, bringing traffic back to roughly 77%; about 23% of the edge servers had automatically lost their IP bindings and must be reconfigured through the change management system, so full recovery comes only at 22:54. 1.1.1.1 is down for 62 minutes in total.
Three lines of defence
Key: addressing changes roll out in stages too
· (Key) Configuration that decides where prefixes are announced must be deployed in stages: a few locations first, with health monitoring and a rollback when something is wrong. Cloudflare's legacy components do not support staged deployment; it will deprecate them and move to progressive, health-mediated deployment processes.
· Accelerate the deprecation of the legacy systems. Today is an intermediate state in which current and legacy components must be updated concurrently; Cloudflare says the move is also meant to provide higher standards for documentation and test coverage.
· The legacy approach hard-codes lists of data centers per prefix and has proved error-prone: bringing one new data center online means updating many lists consistently. The newer approach describes service topologies without hard-coding IP addresses and accommodates new locations better.
Dormant configuration errors: catch them when the change is made
· (General practice) Check prefix ownership automatically whenever a service topology changes: a prefix belongs to one service only, and a service not yet in production may not reference a production service's prefixes.
· (General practice) Before deploying, compute which prefixes will stop being announced in which locations. A change that only adds a test location but turns out to withdraw 1.1.1.1 from every production location should be stopped.
· (General practice) Alerts watch traffic and service health. The June 6 change did not alter the network, so no alert could fire; errors of this kind have to be found by checking the configuration itself.
Anycast: many locations, one configuration
· Anycast serves the same addresses from many locations, increasing capacity and performance. Cloudflare also notes that problems with the advertisement of this address space can result in a global outage.
· (General practice) Many locations are redundant only when they fail independently. Here, which prefixes each location announces is decided by one addressing system (the part that hands down such decisions is called the control plane); when it is wrong, every location applies the same configuration at the same time, so they form one failure domain (a set of devices that fail together).
· (General practice) Cap what one change may withdraw: a production prefix must not go from announced everywhere to announced nowhere in a single step.
Recovery, and the user's side
· After the revert the prefixes were re-advertised near instantly and traffic came back to roughly 77%. About 23% of the edge servers had automatically lost their IP bindings and had to get them back through the change management system; that process is normally gradual, and Cloudflare accelerated the rollout after verifying the changes in testing locations.
· (General practice) Have the way to accelerate a rollout in an emergency prepared in advance, and rehearse it regularly.
· (General practice) 1.1.1.1 and 1.0.0.1 belong to the same service and were withdrawn together. A backup DNS server should be an address run by a different operator.
Sources
· Cloudflare: Cloudflare 1.1.1.1 incident on July 14, 2025 (official post-mortem, with the timeline and the affected prefixes) https://blog.cloudflare.com/cloudflare-1-1-1-1-incident-on-july-14-2025/
⑦ Azure Front Door: DDoS diversion pulls traffic into Europe (2024)
Case · about 10 min
Goal: After a DDoS attack was mitigated automatically, one site in Europe could not stop diverting traffic because of a local power outage, and a latent network configuration issue sent traffic from outside Europe into Europe's DDoS protection system. The resulting congestion caused timeouts on Microsoft services in several regions. The main impact lasted about 2 hours; a device that ignored the control plane and could not be reached kept isolated failures going until 19:43 UTC.
What happened
· When:July 30, 2024. The main impact ran from 11:45 to 13:58 UTC; from 13:58 to 19:43 a smaller set of customers still saw a low rate of connection timeouts.
· Impact:A subset of customers saw intermittent connection errors, timeouts and latency spikes on Microsoft services that use Azure Front Door (AFD) and Azure CDN. Services that depend on them, including the Azure portal and some Microsoft 365 and Microsoft Purview services, were hit too.
· Context:AFD is Microsoft's global entry point for web acceleration, global load balancing and content delivery, in nearly 200 locations. Network-layer DDoS attacks are handled by the Azure network DDoS protection service; Microsoft sees about 1,700 DDoS attacks a day on average, all mitigated automatically.
· Trigger:From 10:15 to 10:45 a volumetric TCP SYN flood hit several AFD and CDN sites. The DDoS protection service mitigated it automatically with minimal customer impact.
· Cause:Around 11:45, as the protection disengaged and default routing was restored, a local power outage broke the network control plane's link to one site in Europe. The site's routes could not be updated, so traffic inside Europe kept going through DDoS protection to AFD. Microsoft says this alone would not have caused any impact.
· How it spread:An unrelated, latent network configuration issue routed traffic from outside Europe into the DDoS protection system in Europe as well. That caused localized congestion and packet loss, and high latency and connection failures for customers in several regions.
· Why recovery was slow:Rerouting fixed most of it by 13:58. Chasing the isolated failures that remained, engineers found at 16:15 a device in Europe still attracting traffic after being told to stop. It could not be reached to reissue the orders, so it had to be removed from the network safely, which finished only at 19:32.
· Recovery:12:55 localized congestion confirmed and the standard playbook, including rerouting, started; most impact gone by 13:58. 17:50 safe removal of the device and a network-wide scan began; 19:32 removal done; 19:43 availability back at pre-incident levels.
· Nature:The DDoS attack was only the trigger. Microsoft's first statement said an error in the implementation of its defences amplified the attack; the final PIR gives the causes above: the power outage and the latent configuration issue.
Timeline (UTC, Microsoft PIR)
· 10:15 UTC A TCP SYN flood hits several AFD and CDN sites and DDoS protection mitigates it automatically; the attack lasts until 10:45.
· 11:45 UTC While the diversion is being stopped, one site in Europe cannot update its routes because of a power outage; a latent configuration issue sends traffic from outside Europe into Europe's protection system, and impact begins.
· 12:55 UTC Localized congestion is confirmed; engineers run the standard playbook and reroute traffic.
· 13:58 UTC The rerouting takes effect and most of the impact is gone; only isolated connection failures remain.
· 16:15 UTC A device in Europe is found ignoring the network control plane and still attracting traffic after being told to stop; at 16:58 the orders are reissued, but the device cannot be reached.
· 19:43 UTC 19:32 the device has been removed safely; 19:43 availability is back at pre-incident levels.
How it failed
1. Normal: User requests enter the Azure network in their own geography and go straight to the Azure Front Door (AFD) frontends. AFD is Microsoft's global entry point for web acceleration, global load balancing and content delivery, in nearly 200 locations. The network control plane gives orders to each site's devices; the DDoS protection system stands by.
2. What the rule is for (hypothetical): Suppose the AFD frontends in Europe come under attack. The control plane orders a diversion: traffic for AFD first goes to the nearby DDoS protection system, which drops the attack traffic and passes the good traffic on to AFD. The protection system sits in the same geography and is sized for that geography's traffic, so users notice nothing. When the attack ends, the control plane orders the diversion to stop and traffic goes straight to AFD again. Diversion is usually done with routing: the protection system announces routes that attract the traffic; stopping the diversion means it stops attracting traffic.
3. 10:15 UTC Attack: automatic diversion: From 10:15 to 10:45 a volumetric, distributed TCP SYN flood hits several AFD and CDN sites. The Azure network DDoS protection service mitigates it automatically, sending SYN authentication challenges as is typical in the industry. Customer impact is minimal; only a few customers whose applications lack retry logic may see connection failures. Only the European site is drawn.
4. ~11:45 UTC Stopping: one site stays diverted: Around 11:45 the DDoS protection service disengages and default routing should be restored at every site. One site in Europe has a local power outage and the network control plane cannot reach it, so the site's routes are not updated and it stays diverted: traffic inside Europe keeps going through DDoS protection to AFD. The outage is unrelated to the attack, and Microsoft says that on its own it would not have caused any impact.
5. Traffic from outside Europe joins: At the same time, a latent network configuration issue, unrelated to the outage, sends traffic from outside Europe into Europe's DDoS protection system as well. Latent means the issue already existed but had never shown itself.
6. Congestion: timeouts in several regions: Europe sees localized congestion, and traffic to the AFD frontends loses packets. From 11:45 a subset of customers in several regions get intermittent connection errors, timeouts and latency spikes on Microsoft services that use AFD and Azure CDN; the Azure portal and some Microsoft 365 and Microsoft Purview services that depend on them are hit too. The DDoS attack was only the trigger.
How it was recovered
1. 12:10 UTC Traced to a site in Europe: At 11:47 the Azure portal team sees service degradation and starts investigating. At 12:10 network monitoring ties the portal problem to a network issue at one site in Europe, and network engineers join.
2. 12:55 UTC Reroute by the playbook: At 12:55 localized congestion is confirmed and engineers run the standard congestion playbook, which includes rerouting traffic. At 13:13 a notice goes out: Microsoft is investigating reports of problems connecting to its services globally, and customers may see timeouts reaching Azure services.
3. 13:58 UTC Most of it fixed: By 13:58 the rerouting has worked, the routing issue is resolved and most of the impact is gone. Only isolated connection failures remain: a few customers whose applications lack proper retry logic may still see them until 19:43.
4. 16:15 UTC A device ignores its orders: At 16:15, while chasing those isolated failures, engineers find a device in Europe that is not properly obeying the network control plane: it was told to stop attracting traffic and is still attracting it. The state the control plane wants and the device's real state disagree. The PIR does not say what kind of device it was; it is drawn on the DDoS protection here because one repair item covers a DDoS protection service that is unreachable from the control plane but still serving traffic.
5. 16:58 UTC Reissuing fails: At 16:58 the network control plane is told to reissue its orders, but the device cannot be reached (the control-plane failure at that site described above), so the orders never arrive.
6. 17:50 UTC Remove the device safely: At 17:50 engineers start removing the device from the network safely and scan the network for other potential issues.
7. 19:43 UTC Recovered: At 19:32 the device is out of the network. At 19:43 availability is confirmed back at pre-incident levels and customer impact is mitigated.
The fix
Geo isolation (Microsoft added the missing configuration), config validation and monitoring for a DDoS protection service that is unreachable from the control plane yet still serving traffic come from Microsoft's PIR; reading back data-plane state after each order and a prepared removal procedure are general practice; client retries are Microsoft's advice to customers.
Improved design
1. When the diversion stops: Geo isolation: with the missing configuration added to the network devices, a DDoS mitigation problem in one geography cannot spread to another. The European site still loses power and stays diverted, but only traffic inside Europe goes through Europe's protection system, and Microsoft says that alone would not have caused impact. The next steps assume some device still lacks this configuration.
2. Finding the config problem: Suppose some device still lacks the configuration. Config validation checks the configuration across the network and flags that device, so it is fixed before it can pull traffic into Europe, instead of being traced backwards from congestion after users are hit.
3. The device ignores its orders: State check: after the control plane gives an order, the data plane is checked to confirm the device carried it out. A DDoS protection device that is unreachable from the control plane but still serving traffic raises an alert at once, instead of being found while chasing isolated failures; it is then removed from the network with a procedure written in advance.
4. On the client side: Retry logic: brief connection failures happen during network-layer DDoS mitigation, for example while SYN authentication challenges are sent. Microsoft advises AFD and Azure CDN customers to add retry logic in client applications; the isolated failures after 13:58 fell on customers without proper retry logic.
Original design
1. When the diversion stops: The European site loses power, the control plane cannot reach it, and it stays diverted. A configuration is missing on network devices (the PIR's latent configuration issue), so traffic from outside Europe also goes into Europe's DDoS protection system.
2. Finding the config problem: The existing checks did not catch the configuration problem, so it was traced backwards after users were hit: 11:47 the portal team saw degradation, 12:10 it was tied to the European site, 12:55 congestion was confirmed and rerouting began, 13:58 most impact was gone.
3. The device ignores its orders: The device cannot be reached from the control plane and keeps attracting traffic after being told to stop. Monitoring did not cover this: it was found only at 16:15 while chasing isolated failures, and reissued orders at 16:58 could not reach it.
4. On the client side: Customers whose applications lack proper retry logic fail on the first connection error. The device could only be removed safely, from 17:50 to 19:32, and those isolated failures went on until 19:43.
Three lines of defence
Key: keep diversion inside its geography
· (Key) Add the missing configuration on network devices so a DDoS mitigation problem in one geography cannot spread to another (completed by Microsoft).
· (General practice) Size scrubbing capacity per geography. Divert to a protection system in the same geography with enough capacity; before pulling in another geography's traffic, check the system has room.
Config: find invalid configuration early
· Enhance the existing validation and monitoring in the Azure network to detect invalid configurations (estimated completion November 2024).
· (General practice) A latent configuration problem shows nothing in normal times, so compare every device against the configuration it should have and flag anything missing.
State: control plane and data plane must agree
· Improve monitoring for a DDoS protection service that is unreachable from the control plane but still serving traffic (estimated completion November 2024).
· (General practice) After each order, read back the device's real state (routes, traffic) and compare it with what the control plane wants; alert on any mismatch.
· (General practice) Have a written, rehearsed procedure for removing a device that cannot be reached but still attracts traffic. This time the safe removal ran from 17:50 to 19:32.
Clients: ride out brief failures
· AFD and Azure CDN customers should add retry logic in client applications to handle brief connection failures during network-layer DDoS mitigation.
· Set up Azure Service Health alerts so the right people in the organisation hear about service issues.
Sources
· Azure status history: Post Incident Review (PIR) – Azure Front Door – Connectivity issues in multiple regions (Tracking ID KTY1-HW8) https://azure.status.microsoft/en-us/status/history/?trackingId=KTY1-HW8
· BleepingComputer: Microsoft says massive Azure outage was caused by DDoS attack (2024-07-31, Microsoft's first statement) https://www.bleepingcomputer.com/news/microsoft/microsoft-says-massive-azure-outage-was-caused-by-ddos-attack/
· Help Net Security: Microsoft: DDoS defense error amplified attack on Azure, leading to outage (2024-07-31, updated August 1) https://www.helpnetsecurity.com/2024/07/31/microsoft-azure-ddos/
⑧ Azure: one command makes the global WAN recompute (2023)
Case · about 10 min
Goal: While adding capacity to the global WAN in Madrid, an engineer ran a command to purge the IGP database. On that router's platform the command acts on every IGP-joined router by default, so the whole WAN recomputed and BGP re-advertised prefixes; 33 minutes later the same operation on a second router caused a second wave.
What happened
· When:January 25, 2023, 07:08 to 12:43 UTC. Most regions and services were back by 09:05.
· Impact:Reaching resources in Azure regions and services such as Microsoft 365 and Power Platform saw high latency and timeouts, sometimes a complete loss of connectivity. Internet, inter-region and cross-premises (ExpressRoute, VPN/vWAN) traffic were all hit, and so were Azure Government services that depend on the public cloud. Press reports list Teams, Outlook, SharePoint Online and others among the affected services.
· Trigger:An engineer was adding capacity to the global WAN in Madrid; the task included changing the new routers' IP addresses and joining them to the IGP and BGP routing domains. The standard operating procedure (SOP) had been changed before the event to add a command that purges the IGP database; the change was not re-tested and lacked proper pre- and post-checks.
· One command, three vendors:Microsoft's WAN uses routers from three vendors. Two of them run this command on the local router only; the third runs it by default across every IGP-joined router, ordering them all to recompute their IGP topology databases. The router being changed was from the third.
· Why nothing stopped it:Every command must be approved by an AAA system that holds a list of blocked commands with global impact. The high-impact command review for this router model missed the command's global default, so it was not on the list. Safe-Deployment gives access to one device at a time, but that router was joined to the whole WAN through the IGP.
· Mechanism:Two cascading events: routers across the network recomputed IP connectivity for the whole internal network, and then BGP routers re-advertised and re-validated the prefixes received from the Internet. Given the network's size, restoring connectivity to every prefix took about 1 hour 40 minutes.
· Second wave:Monitoring alerted the on-call engineers within 5 minutes of the command. Because the SOP change was unqualified, the engineer making the change was not informed. 33 minutes after the first change, the same operation ran on the second Madrid router.
· Recovery:The network recovered by itself; the command was identified at 08:20 and nearly every device was back by 09:05. Some customers still saw intermittent packet loss after that, for two reasons the PIR gives: two routers could not recover automatically, and the WAN's automated health and traffic engineering systems had been paused during the event, leaving some paths unoptimised. Once those systems were restarted by hand, recovery completed at 12:43.
· Preliminary report:The preliminary PIR quoted by the press gave 07:05 as the start and an IP address update on a WAN router as the trigger. This page follows the PIR on the Azure status page.
Timeline (UTC, Microsoft PIR)
· 07:08 UTC An engineer adding capacity in Madrid runs the IGP database purge; routers across the network start recomputing.
· 07:11 UTC Monitoring detects DNS and WAN issues; on-call engineers are alerted, but the engineer making the change is not informed.
· ~07:41 UTC 33 minutes after the first change, the same operation runs on the second Madrid router: a second wave.
· 08:20 UTC With the network recovering by itself, the triggering command is identified.
· 09:05 UTC Nearly every network device is back, and so are most regions and services; the last equipment recovers at 09:25.
· 12:43 UTC The paused WAN automation systems are restarted by hand and recovery completes. Traffic through India and parts of North America is the last to recover.
How it failed
1. Normal: Microsoft's global WAN is made of many routers (a few shown here). The PIR describes the IGP as the protocol that connects all the routers in the WAN, and BGP as the protocol that brings Internet routing information into it. An IGP is a link-state protocol (IS-IS or OSPF, for example): every router in one IGP domain keeps a copy of the whole topology database and computes its own routes. The PIR does not say which IGP is used.
2. What the rule is for (hypothetical): Engineers change devices by a standard operating procedure (SOP). Safe-Deployment gives access to one device at a time to limit the impact of a change, and every command must be approved by the AAA system. This SOP included a command to purge the IGP database. Suppose Madrid router 1 came from one of the other two vendors: the command runs on the local router only, so only that router purges its IGP database and the rest carry on. One router logged into, one router affected.
3. 07:08 UTC The command reaches the whole WAN: The engineer is adding capacity to the global WAN in Madrid. Madrid router 1 is from the third vendor, where the command runs by default across every IGP-joined router, ordering them all to recompute their IGP topology databases. AAA lets it through: the high-impact command review for this model missed its global default, so it is not on the block list. The engineer can log into only one router, but that router is joined to the whole WAN through the IGP.
4. 07:11 UTC The whole network recomputes: First cascading event: routers across the network start recomputing IP connectivity for the whole internal network, and routing becomes unstable. Users reaching Azure regions and Microsoft 365 see high latency and timeouts, some lose connectivity entirely; inter-region and ExpressRoute or VPN traffic is hit too. Monitoring detects DNS and WAN issues at 07:11, and on-call engineers are alerted within 5 minutes of the command.
5. BGP re-advertises: Second cascading event: because of the first, BGP routers start re-advertising and re-validating the prefixes received from the Internet. Given the network's size, it takes about 1 hour 40 minutes to restore connectivity to every prefix. Outside observers saw several Microsoft BGP prefixes withdrawn completely and re-advertised almost at once, again and again (ThousandEyes, as reported by Network World).
6. ~07:41 UTC The second wave: Monitoring alerted the on-call engineers within 5 minutes of the command. But the SOP change was unqualified, and the engineer making the change was not informed. 33 minutes after the first change (about 07:41), the same operation ran on the second Madrid router, and a second wave of connectivity problems went through the network.
How it was recovered
1. 08:20 UTC The command is found: The network is recovering by itself. At 08:20 the team identifies the command that triggered it.
2. 09:05 UTC Mostly back: Nearly every network device is back, and so are most regions and services. Two routers could not recover automatically, and some customers still see intermittent packet loss.
3. 09:25 UTC Devices back, automation still paused: The last network equipment recovers at 09:25. During the event the WAN's automated health systems were paused, including the one that finds and removes unhealthy devices and the traffic engineering system that optimises how traffic flows. Some paths are not optimised and see more packet loss from 09:25. Traffic through India and parts of North America is the last to recover.
4. 12:43 UTC Fully back: The automation systems are restarted by hand, the WAN returns to optimal operation, and recovery completes at 12:43.
The fix
Auditing and blocking high-impact commands for all three vendors, real-time visibility of device activity and CAB review of SOPs pending qualification come from Microsoft's PIR; post-checks were already required by the SOP but skipped; testing on every vendor and stopping on an alert are general practice.
Improved design
1. Changing the SOP: A changed SOP goes back through qualification: testing in the ONE emulator and in the lab, then a Safe-Fly review. SOPs pending qualification go to the Change Advisory Board (CAB) within 30 days. Testing on the third vendor's router would show the command making every IGP router recompute, and the SOP would be sent back. The next steps assume it slipped through.
2. Running the command: Suppose the SOP still carries the command. AAA approves each command, and the block list has been reviewed for all three vendors and every WAN router role, so similar commands with wide impact are on it. The command is refused and no router is touched. The next steps assume it ran anyway.
3. After the alert: Suppose the command ran: the whole network recomputes, the first wave hits, and monitoring alerts within 5 minutes. The device activity view shows in real time who is changing which device and whether the change is qualified, so the on-call engineers match the alert to the Madrid change and tell the engineer to stop.
4. The second router: After one router, run the post-checks first (the SOP required them; they were skipped this time); with the network alarming, stop and leave the second router alone. At worst there is one wave.
Original design
1. Changing the SOP: The SOP was changed before the event to add a command that purges the IGP database. The change was used without being re-tested and without proper pre- and post-checks.
2. Running the command: The high-impact command review for this model missed the command's global default, so it is not on the block list. AAA lets it through, every IGP-joined router recomputes, and BGP routers then re-advertise and re-validate Internet prefixes.
3. After the alert: Monitoring alerts the on-call engineers within 5 minutes. The SOP change was unqualified, and the engineer making the change is not informed.
4. The second router: 33 minutes after the first change, the same operation runs on the second Madrid router and a second wave hits the network. Recovery completes only at 12:43.
Three lines of defence
Key: vet each command's reach per vendor
· (Key) Audit and block similar commands that can have wide impact, across all three vendors and every WAN router role, through the AAA block list.
· (General practice) The same command can reach differently by default on different vendors: the local router only, or the whole protocol domain. Test every command in an SOP on each vendor and model.
Process: re-qualify a changed SOP
· The SOP has four steps: testing in the ONE emulator, lab testing, a Safe-Fly review (with roll-out and roll-back plans), and Safe-Deployment (one device at a time). This time the SOP was changed without going through them again.
· SOPs pending qualification go to a Change Advisory Board (CAB) review within 30 days, with engineers' feedback on whether the SOP is workable and usable.
· Regular mandatory operational training, with engineers attesting that they follow every SOP.
Access versus blast radius
· Publish real-time visibility of approved automated, approved break-glass and unqualified device activity, so on-call engineers see who is changing what.
· (General practice) Access to one device does not mean impact on one device. When approving a command, look at how far it reaches: the local router, the whole IGP domain, or every BGP neighbour.
· (General practice) Check after each device; if the network is alarming, stop before the next one.
IGP failure domain
· (General practice) In a link-state IGP, a topology change floods to every router in the area and each one recomputes. Large networks often split the IGP into areas (IS-IS levels, OSPF areas) so one event reaches fewer routers. Microsoft's PIR does not mention this.
Sources
· Azure status history: Post Incident Review (PIR) – Azure Networking – Global WAN issues (tracking ID VSG1-B90) https://azure.status.microsoft/en-us/status/history/?trackingId=VSG1-B90
· BleepingComputer: Massive Microsoft 365 outage caused by WAN router IP change (2023-01-27, quotes the preliminary PIR) https://www.bleepingcomputer.com/news/microsoft/massive-microsoft-365-outage-caused-by-wan-router-ip-change/
· The Register: WAN router IP address change blamed for global Microsoft 365 outage (2023-01-30) https://www.theregister.com/2023/01/30/wan_router_ip_address_change/
· Network World: Global Microsoft cloud-service outage traced to rapid BGP router updates (2023-01-30, cites ThousandEyes' observations) https://www.networkworld.com/article/3686531/global-microsoft-cloud-service-outage-traced-to-rapid-bgp-router-updates.html
⑨ Rogers: the full route table crashes the core (2022)
Case · about 10 min
Goal: During a core network upgrade, a change deleted a policy filter on the distribution routers. Internet routes poured into the core's OSPF, and the core routers ran out of memory and CPU and crashed. Wireless, wireline and the management network all depended on that core and went down together, affecting more than 12 million customers.
What happened
· When:Began early on July 8, 2022. The report published by the CRTC records the outage as 04:58 on the 8th to 07:00 on the 9th (US Eastern), with services coming back gradually in between.
· Impact:More than 12 million customers lost wireless and wireline service: mobile voice, text and data, home internet, TV and home phone. Some could not reach 9-1-1 or receive emergency alerts; business and government customers and carriers using Rogers' network were hit too.
· Trigger:The core IP upgrade had seven phases; the first five, from February on, went without incident. Phase six began at 02:27, and at 04:43 a change deleted a policy filter (an Access Control List policy filter) on three distribution routers, meant as a configuration cleanup. The phase had been rated "Low" risk, and change review did not catch it.
· Mechanism:The distribution routers learn internet routes over BGP and redistribute them into OSPF toward the core routers; the filter decided which routes got in. With the filter, about 10,000 routes reached a core router; without it, a single distribution router sent more than 900,000.
· Why the core gave way:The core routers had no overload limit (a cap on how many routes they accept), so they took everything, ran out of memory and CPU, and crashed within minutes. The core used two vendors' routers: one relies on the distribution routers to limit the routes sent to the core, the other on controls in the core routers. Rogers said this difference was at the heart of the outage.
· One shared core:Wireless, wireline and enterprise services all ran over one IP core, so when it stopped, everything stopped. Xona found no design flaw in the core architecture: sharing a core balances cost and performance, and the price was that this failure took out every service.
· Why recovery was slow:The management network ran over the same IP core, so once the core failed, remote engineers could not reach the devices; staff phones and internet were Rogers services too, so people could not reach each other at first. The NOC and critical remote sites had no backup lines from other carriers, so staff swapped in other carriers' SIM cards and went on site. The failed routers' error logs were not available at first, and it took about 14 hours to pin down the root cause.
· Recovery:Management access came back first; the three distribution routers were found to be the source, disconnected and corrected, and the internet gateway, core and distribution routers were restarted in a controlled order. With the core stable, services returned in stages: wireless (with 9-1-1) first, then home phone, then data. Restoration began on the afternoon of the 8th and was largely done that night; some instability lasted through the weekend.
Timeline (US Eastern, Rogers' filing and the CRTC report)
· 02:27 ET Phase six of the seven-phase core upgrade begins.
· 04:43 ET The change on three distribution routers takes effect and the policy filter is deleted.
· 04:45 ET The IP core starts failing; wireless and wireline services go down.
· 08:39 ET The NOC tells the 9-1-1 network providers that Rogers customers cannot make or receive calls nationally, including 9-1-1.
· Jul 9 07:00 ET End of the outage as recorded in the CRTC report; services had been returning since the afternoon of the 8th.
How it failed
1. Normal: Wireless, wireline and enterprise services share one IP core. The internet gateways learn internet routes from outside over BGP and pass them to the distribution routers, which redistribute part of them into OSPF toward the core routers. Engineers log into every device over the management network, which also runs over this core.
2. What the filter is for (hypothetical): The distribution routers receive more than 900,000 internet routes over BGP. Their policy filter lets only a controlled set into OSPF, about 10,000 routes reaching the core routers, and the rest stay in BGP. Suppose a new batch of internet routes appears: the filter blocks them, they never enter OSPF, and the core routers' OSPF database does not change. Every OSPF route is flooded as an LSA to every router in the domain, and each one must store it and compute with it, so OSPF carries only the internal routes and the full internet table stays in BGP.
3. 04:43 ET The filter is deleted: Phase six began at 02:27. At 04:43, as part of cleaning up the configuration of three distribution routers, the change deleted the policy filter. The seven-phase change was first rated "High" risk; after five smooth phases the risk-assessment algorithm lowered phase six to "Low", and change review did not catch the problem either.
4. The full table floods into OSPF: With the filter gone, the distribution routers redistribute every route they learned over BGP into OSPF: a single router sends more than 900,000, against about 10,000 normally. Every external route redistributed into OSPF becomes an LSA flooded to every core router, and each one has to store it and recompute.
5. 04:45 ET The core crashes: The core routers have no overload limit (a cap on how many routes they accept), so they take everything, run out of memory and CPU, crash within minutes and stop forwarding. Wireless, wireline and enterprise services share this core and all go down: more than 12 million customers lose calls and internet, and some cannot reach 9-1-1.
6. The management network goes too: The management network runs over this IP core, so with the core down, remote engineers cannot log into any device. Staff phones and internet are Rogers services too, so people switch to other carriers' SIM cards and travel to places with management access or to the equipment itself; the NOC and critical remote sites have no backup lines from other carriers. The failed routers' error logs are not available at first, and pinning down the root cause takes about 14 hours.
How it was recovered
1. Get management access back: Following the business continuity plan, engineers coordinate on other carriers' SIM cards, gather at the NOC and a few places with management access, and key staff reach the equipment in person, regaining access to the IP network.
2. Find the source: Step-by-step troubleshooting then shows the three distribution routers are the cause: they spread an abnormal volume of routes across the core.
3. Disconnect the source, restart in order: The three faulty distribution routers are disconnected and the errors from the update are corrected. Then all internet gateway, core and distribution routers are restarted in a controlled order, and the core is tested for stability.
4. Bring services back in stages: With the core stable, IP connectivity to the rest of the network is restored step by step while traffic is held back, so another overload does not cause a new outage. Wireless (with 9-1-1) comes first, then home phone, then data; on the wireless side MME throttling lets phones reattach in batches. Services start returning on the afternoon of the 8th and the network is largely back that night.
5. Jul 9 07:00 ET Fully back: The CRTC report records the outage as ending at 07:00 on the 9th. Some customers still saw occasional instability over the weekend.
The fix
In the improved design, the overload protection, separate wireless and wireline cores, independent management network and backup lines come from the Xona report and Rogers' filing; change review stopping the filter deletion is general practice (the report only says review missed it and Rogers is improving the process). How the two cores connect is schematic.
Improved design
1. The change: Change review treats deleting a filter on the BGP-to-OSPF boundary as high risk; the review finds it would let in every internet route, and the change is not pushed. The next steps assume it went in anyway, to show the other defences.
2. Routes flood toward the core: The core routers have overload protection: a cap on how many BGP routes are redistributed into OSPF, and a cap on the entries in the OSPF database. When 900,000+ routes arrive, those over the cap never enter OSPF, the core routers keep their memory and CPU, and service carries on. Rogers added both caps to its core routers after the outage.
3. When a core crashes: Now suppose the existing core crashes anyway. With wireless and wireline on separate cores, a crash only hits the services on that core: wireline goes down, wireless keeps working and 9-1-1 calls get through. After the outage Rogers announced it would fully separate its wireless and wireline cores, building a new IP core for wireless.
4. Fixing it remotely: The management network is physically and logically separate from the IP core, so when the core crashes engineers still log into devices remotely, read the error logs and find the problem. The NOC and critical remote sites also have backup lines from other carriers, and Xona suggests low-earth-orbit satellite as a backup for remote sites.
Original design
1. The change: The seven-phase change was first rated "High" risk; after five smooth phases the risk-assessment algorithm lowered phase six to "Low". Change review did not catch the filter deletion, the change went out as is, and the filter on the distribution routers was gone.
2. Routes flood toward the core: The distribution routers redistribute every BGP route into OSPF, more than 900,000 from a single router. The core routers have no overload limit, take them all, and their memory and CPU fill up fast.
3. When a core crashes: The core routers crash within minutes. Wireless, wireline and enterprise services share this one core and all go down, affecting more than 12 million customers.
4. Fixing it remotely: The management network runs over the IP core and goes down with it, so remote engineers cannot log in. The NOC and critical remote sites have no backup lines from other carriers, so staff switch to other carriers' SIM cards and go on site; the failed routers' logs are out of reach at first, and the root cause takes about 14 hours to find.
Three lines of defence
Key: an overload limit on the core routers
· (Key) Give the core routers an overload limit: cap the BGP routes redistributed into OSPF and cap the entries in the OSPF database. Xona found the outage could have been prevented with such a limit; Rogers has since added it.
· Xona recommends router overload protection in both the IP core and the distribution network.
· (General practice) An IGP such as OSPF or IS-IS carries only internal routes (device addresses, links), and the full internet table stays in BGP; where BGP is redistributed into an IGP, use both a filter and a route-count cap.
Change: treat deleting a filter as high risk
· The seven-phase change was first rated "High" risk and the risk-assessment algorithm lowered phase six to "Low"; change review did not flag the error. Rogers has since improved its change and incident management processes.
· (General practice) Do not lower the risk of a routing-policy or filter change because earlier phases went well; before changing it, work out how many routes it would let through.
Blast radius: separate wireless and wireline cores
· Wireless, wireline and enterprise services shared one IP core, so this failure took out everything. Rogers announced it would fully separate the wireless and wireline cores, building a new IP core for wireless with Cisco.
· Xona saw the shared core as a design choice balancing cost and performance, and found no design flaw in the core architecture itself.
Recovery: out-of-band management and backup lines
· Rogers built a management network that is physically and logically separate, used to reach devices for troubleshooting and root-cause analysis.
· The NOC and critical remote sites need backup lines from other carriers; Xona suggests low-earth-orbit satellite as a backup for remote sites.
· In recovery, restart routers in a controlled order and bring services back in stages with traffic held back (MME throttling on wireless), so nothing overloads again.
· Xona also recommends testing emergency roaming with other carriers and widening the scope of incident drills.
Sources
· Xona Partners: Assessment of Rogers Networks for Resiliency and Reliability Following the 8 July 2022 Outage (commissioned by the CRTC; full report and executive summary) https://publications.gc.ca/site/eng/9.933245/publication.html
· CRTC: executive summary of the report (published 2024-07-04) https://crtc.gc.ca/eng/publications/reports/xona2024.htm
· Rogers' response to the CRTC's requests for information (2022-07-22, abridged public version), CRTC file 8000-C12-202203868 https://crtc.gc.ca/otf/eng/2022/8000/c12-202203868.htm
· Global News: Rogers lacked protections, redundancies that may have prevented 2022 outage: report https://globalnews.ca/news/10607346/rogers-outage-independent-report-crtc/
· MobileSyrup: July 2022 Rogers outage caused by human error, prolonged by management 'deficiencies' https://mobilesyrup.com/2024/07/05/july-2022-rogers-outage-report-crtc/
⑩ Facebook offline worldwide (2021)
Case · about 10 min
Goal: A maintenance command cut Facebook's backbone, the DNS servers at its edge sites withdrew their BGP announcements, and facebook.com stopped resolving worldwide for about 6 hours.
What happened
· When:October 4, 2021, roughly 15:40 to 21:20 UTC, about 6 hours. Times are from Cloudflare's outside observation.
· Impact:Facebook, Instagram, WhatsApp and the other services were unreachable worldwide.
· Trigger:During routine maintenance, a command meant to assess global backbone capacity took down every connection in the backbone. The audit tool should have stopped it, but it had a bug.
· Edge sites and DNS:A user reaching Facebook first connects to the nearest edge site, which fetches content from a data center over the backbone. Every edge site announces the same DNS addresses with BGP (anycast), so a user's DNS query lands on the nearest site. When a site cannot reach the data centers, the addresses it hands out would not work, so it withdraws its announcement and users are sent to another site. The rule is meant for a single failed site.
· Why everything vanished:With the backbone down, every site lost the data centers at the same moment and every site withdrew under that rule. The rule only looks at its own site, so it cannot tell "only I am cut off" from "the whole backbone is down". The DNS servers kept running, but the internet had no route to them.
· What the withdrawal added:With the backbone down, users could not have used Facebook even without the withdrawal. The withdrawal added three things: the whole domain disappeared from the internet and resolvers everywhere returned SERVFAIL; users and apps kept retrying, and Cloudflare's resolvers saw 30 times their usual queries; and Facebook's own internal tools, which depend on DNS, stopped working, which slowed recovery.
· Why recovery was slow:Normal remote access and the out-of-band network were both down, and internal tools depended on DNS. Engineers had to go on site, and the facilities and devices are deliberately hard to get into and change.
· Recovery:The backbone came back first; with every machine up, user traffic was let back in batches, with no further system-wide failure.
· Nature:Meta said it was not an attack but a faulty configuration change of its own, with no evidence that user data was compromised.
Timeline (UTC, outside observation)
· 15:40 UTC A sudden spike of routing updates from Facebook's network.
· 15:50 UTC facebook.com stops resolving on the public resolver 1.1.1.1, which returns SERVFAIL.
· 15:58 UTC Cloudflare notices that Facebook has stopped announcing the routes to its DNS prefixes.
· 21:00 UTC Facebook's BGP announcements reappear, peaking at 21:17.
· 21:20 UTC facebook.com resolves again; the apps come back over the following period.
How it failed
1. Normal: Users first connect to the nearest edge site, which fetches content from a data center over the backbone. Every edge site announces the same DNS addresses (such as 129.134.30.0/23) with BGP, so a user's DNS query lands on the nearest site.
2. What the rule is for (hypothetical): Suppose only site A loses its backbone link. A cannot reach the data centers, so the addresses it hands out would not work, and A withdraws its announcement. BGP sends users to site B, whose backbone is fine, and nothing changes for them. The rule "withdraw when the data centers are unreachable" exists for this case.
3. ~15:40 UTC Backbone goes down: A command run during maintenance to assess global backbone capacity took down every backbone connection. The audit tool should have blocked it, but it had a bug.
4. DNS withdraws its routes: The whole backbone is down, so every site loses the data centers and every site withdraws under the same rule. The rule only looks at its own site and cannot tell "only I am cut off" from "the whole backbone is down", so no site is left announcing.
5. 15:50 UTC Resolution fails: The internet has no route to those DNS servers: they are still running, but queries cannot reach them. Resolvers return SERVFAIL and facebook.com does not resolve. Users and apps keep retrying, and Cloudflare's resolvers see 30 times their usual query load.
6. No way in remotely: Normal remote access and the out-of-band network are both down, and internal tools that depend on DNS fail too. Engineers have to go to the data centers, which are deliberately hard to enter, and the devices are hard to change even with physical access.
How it was recovered
1. Restore the backbone: Engineers on site confirm the problem and bring the backbone connections back.
2. 21:20 UTC DNS returns: The edge sites reach the data centers again, the DNS servers re-announce their routes, and facebook.com resolves again.
How users come back (every machine is already up): Users in batches
1. A first batch of users: Every machine is up, and the switch sits at the entry: the edge sites' load balancers admit only part of the user requests and answer the rest with "try again later" without sending them to the back end. That load is manageable, the caches fill, connections are rebuilt and power rises steadily. Meta did not say at which layer it controlled the admission rate; admitting a share at the entry is the general practice.
2. The next batch: Once a batch is stable, the entry raises the admission rate. Each later batch finds warm caches, so most requests never reach the back end. Meta runs "storm" drills that take a service, a data center or a whole region offline, and it ramped the load back up the way it had practised.
3. Fully back: Services came back relatively quickly, with no further system-wide failure.
How users come back (every machine is already up): All at once
1. Everyone at once: Every machine is up, and the entry admits every user at once. After hours of retries, the demand at that moment is far above a normal peak; the caches are empty, so every request hits the back end; and every connection is rebuilt at the same time. Each data center's power draw, down by tens of megawatts during the outage, jumps back. The electrical systems and caches could give way and start a new round of failures. Meta did not do this.
The fix
The three defences in the improved design (change audit, global control layer, out-of-band network) are general practice; Meta did not publish what it changed.
Improved design
1. The change goes out: The change passes audit first. The audit sees that the command would cut the whole backbone and rejects it, so the backbone stays up. The next steps assume the audit missed it, to show the other two defences.
2. Suppose the backbone still goes: Every site reports unhealthy at once. The global control layer's rule: approve withdrawals while at most half the sites are unhealthy (a single failed site still withdraws as before); beyond that it is a global fault and nothing is approved. Every site keeps announcing.
3. Result: the name stays: facebook.com still resolves, resolvers do not return SERVFAIL, and there is no 30x retry storm. Pages still fail because the backbone is down and the back end is out of reach.
4. Fixing it remotely: The out-of-band network does not run over the production backbone, so devices stay reachable. Engineers find and fix the backbone remotely instead of waiting to get on site.
5. If the control layer is unreachable: The control layer can be unreachable too. The rule is that a site that cannot reach it keeps its current state and does not withdraw. So the worst case when the control layer fails is no withdrawals, never every site withdrawn at once.
Original design
1. The change goes out: The audit tool should have stopped the command, but it had a bug: the command ran and the whole backbone went down.
2. After the backbone goes: Every site loses the data centers and every site withdraws on its own; nothing sees the whole picture.
3. Result: the name disappears: The internet has no route to the DNS servers, facebook.com fails to resolve, and public resolvers see 30 times their usual queries.
4. Fixing it remotely: Normal remote access and out-of-band access are both down, so engineers have to go on site.
Three lines of defence
Root cause: stop the command
· The audit tool should have stopped the command, but it had a bug.
· (General practice) A change-audit tool should recognise commands that would cut every connection and block them before they run; roll out wide changes in batches.
Blast radius: never withdraw all DNS
· (General practice) A global control layer: stop approving withdrawals once more than half the sites are unhealthy; a site that cannot reach the control layer keeps its state.
· (General practice) The same idea exists elsewhere: when every record in a group is unhealthy, AWS Route 53 treats them all as healthy; when the share of healthy hosts falls below Envoy's panic threshold (50% by default), it ignores health checks and balances across all hosts.
Recovery: get in remotely, bring traffic back safely
· Meta had never drilled losing the whole backbone, and said it would look for ways to simulate events like this.
· Meta judged that the strict security on facilities and devices, though it slowed recovery, is worth keeping.
· (General practice) Keep the out-of-band network independent of the production backbone, so remote access survives a backbone failure.
· (General practice) When recovering, bring every machine up first, then admit a share of user requests at the entry (CDN, L4 / L7 load balancers).
Sources
· Meta: More details about the October 4 outage (2021-10-05) https://engineering.fb.com/2021/10/05/networking-traffic/outage-details/
· Meta: Update about the October 4th outage (2021-10-04) https://engineering.fb.com/2021/10/04/networking-traffic/outage/
· Cloudflare: Understanding How Facebook Disappeared from the Internet https://blog.cloudflare.com/october-2021-facebook-outage/
⑪ Cloudflare backbone traffic pulled to Atlanta (2020)
Case · about 10 min
Goal: During maintenance, the prefix match in a policy on the Atlanta router was deactivated by mistake, so the policy matched every route and spread them across the backbone with a higher local-preference. Every site's traffic rushed to Atlanta and overwhelmed it; traffic fell about 50% network-wide for 27 minutes.
What happened
· When:July 17, 2020, 21:12 to 21:39 UTC, 27 minutes; logs and metrics fully recovered by 22:10.
· Impact:Traffic fell about 50% network-wide. The affected sites were those on the backbone in 19 cities, including San Jose, Dallas, Seattle, Los Angeles, Chicago, Washington, Newark, Atlanta, London, Amsterdam, Frankfurt, Paris and São Paulo; other locations ran normally.
· Context:A problem on the Newark–Chicago backbone segment congested the backbone between Atlanta and Washington. The team decided to remove some of Atlanta's backbone traffic.
· The mistake:In the export policy 6-BBONE-OUT on the Atlanta router atl01, the whole term 6-SITE-LOCAL should have been deactivated; instead its match condition, prefix-list 6-SITE-LOCAL, was.
· Why traffic moved:With no match condition the term matched every route: atl01 sent all its BGP routes to the other backbone routers with local-preference 200, while each site's routes from its own compute nodes had 100. Local-preference carries across iBGP to the next peer and the higher one wins, so traffic meant for each site's own compute nodes went to Atlanta.
· Failure:The Atlanta router was quickly overwhelmed and the sites on the backbone failed; their compute nodes' CPU dropped to near zero because no traffic reached them.
· Recovery:Once understood, the Atlanta router was disabled and taken off the backbone; traffic was normal again at 21:39.
· Nature:Not an attack or breach of any kind.
Timeline (UTC, official post-mortem)
· 20:25 UTC Newark–Chicago backbone link lost; Atlanta–Washington backbone starts congesting.
· 21:12 UTC atl01's policy is changed; Atlanta starts attracting traffic from the whole backbone.
· 21:39 UTC Atlanta is dropped from the backbone; service is restored.
· 21:47 UTC Core congestion drops some logs; the edge keeps running.
· 22:10 UTC Full recovery, including logs and metrics.
How it failed
1. Normal: Each site's edge router learns routes from its own compute nodes with local-preference 100 and hands traffic to them. Sites are joined by the backbone and the routers run iBGP. (4 sites shown here.)
2. What the rule is for (hypothetical): In atl01's export policy 6-BBONE-OUT, the term 6-SITE-LOCAL matches only Atlanta's own prefixes in prefix-list 6-SITE-LOCAL and sends them to the backbone with local-preference 200. Other sites send only traffic for those prefixes to Atlanta; everything else stays with their own compute nodes.
3. 20:25 UTC Backbone congestion: The Newark–Chicago backbone link is lost and Atlanta–Washington starts congesting. The team decides to remove some of Atlanta's backbone traffic.
4. 21:12 UTC One wrong line: The whole term 6-SITE-LOCAL should have been deactivated; instead its match condition, prefix-list 6-SITE-LOCAL, was. In Junos a term with no match condition matches every route, so the term now applied to every BGP route on atl01.
5. Everything pulled to Atlanta: atl01 sends every BGP route to the backbone with local-preference 200. Local-preference carries across iBGP to the next peer; each site's local routes have 100, so 200 wins and traffic meant for each site's own compute nodes goes to Atlanta.
6. Atlanta collapses: The Atlanta router is quickly overwhelmed, the sites on the backbone fail with it, and traffic falls about 50% network-wide.
How it was recovered
1. 21:39 UTC Take Atlanta off the backbone: Once understood, the Atlanta router is disabled and taken off the backbone. Each site picks its local routes again and traffic returns to normal.
2. 21:47 UTC Core congestion: Congestion in the core data centers drops some logs; the edge keeps serving traffic.
3. 22:10 UTC Fully back: Logs and metrics are fully recovered.
The fix
Local route protection and the maximum-prefix limit come from Cloudflare's post-mortem; the pre-commit change check is general practice.
Improved design
1. The change: The diff is checked before commit: a term in an export policy with its from emptied would match every route, so the commit is rejected. The right change is to deactivate the whole term. The next steps assume it still went in.
2. Routes go out: The backbone BGP sessions have a maximum-prefix limit. atl01 suddenly sends far more routes than normal, the sessions drop and Atlanta leaves the backbone; Cloudflare's network works without the backbone.
3. Each site picks a path: Local route protection: local server routes get a higher local-preference than anything learned over the backbone. Even if lp 200 routes arrive, each site keeps its traffic on its own compute nodes.
4. Result: Each site's traffic stays local; at worst Atlanta leaves the backbone, and the impact stays in Atlanta.
Original design
1. The change: Deactivating the match condition takes effect as is, and term 6-SITE-LOCAL now matches every route.
2. Routes go out: atl01 sends every route to the backbone with local-preference 200, and the backbone sessions have no prefix limit, so they take them all.
3. Each site picks a path: Each site's local routes have 100; 200 wins, and traffic meant for local compute goes to Atlanta.
4. Result: Atlanta is overwhelmed, the sites on the backbone fail with it, and traffic falls about 50%.
Three lines of defence
Key: protect local routes
· (Key) Raise the local-preference of local server routes so no single location can attract other locations' traffic (deployed by Cloudflare after the incident).
Session protection: cap the routes
· Put a maximum-prefix limit on the backbone BGP sessions: if a router suddenly sends far more routes than normal, the session drops.
Before changing: know the Junos semantics
· Deactivating the from condition in a term makes it match every route; deactivate the whole term instead.
· (General practice) Before committing, read show | compare and look for export-policy terms with an empty from; use commit confirmed so a bad change rolls back by itself.
Sources
· Cloudflare: Cloudflare outage on July 17, 2020 (official post-mortem with the config diff) https://blog.cloudflare.com/cloudflare-outage-on-july-17-2020/
⑫ Google network control plane outage (2019)
Case · about 10 min
Goal: A bug in maintenance automation stopped the network control plane in several physical locations at once. The network kept forwarding on its existing routes, then a few minutes later the routes were withdrawn, six regions in the Americas lost more than half their network capacity and congested badly, and the debugging tools were stuck in the same congestion.
What happened
· When:June 2, 2019, 11:45 to 16:10 US/Pacific. Depending on the region it lasted from 3 h 19 min to 4 h 25 min.
· Impact:Six regions in the Americas congested (us-central1, us-east1, us-east4, us-west2, northamerica-northeast1, southamerica-east1). YouTube views fell 2.5%, about 1% of active Gmail users had problems, and Google Cloud Storage traffic fell 30%. European and Asian regions did not congest.
· Trigger:Three things combined: the network control plane jobs in the affected regions were configured to stop on a maintenance event; the clusters running the control plane were marked eligible for a rare maintenance event type; and the software that starts maintenance events had a bug that let it deschedule several independent clusters at once, even in different physical locations. A maintenance event meant for one location stopped the network control plane in several.
· After the control plane stopped:The network is designed to fail static: without the control plane it keeps forwarding on its existing routes for a while. It ran normally for several minutes, then BGP routing between the affected locations was withdrawn and the regions stopped using more than half of their network capacity.
· Congestion:The traffic did not fit in what was left. The network dropped large, latency-insensitive traffic first to protect small, latency-sensitive flows.
· Why recovery was slow:The debugging tools competed for the same congested network, slowing diagnosis and repair. With every control plane instance descheduled, configuration data was lost and had to be rebuilt and redistributed.
· Recovery:13:01 root cause found and the maintenance automation halted; the control plane re-enabled and its configuration rebuilt, rolling out from 14:03; capacity started returning at 15:19; full service at 16:10.
Timeline (US/Pacific, official report)
· 11:45 PT A maintenance event starts in one location; the automation deschedules the network control plane jobs in several.
· 11:47 PT User impact begins; engineers are alerted within two minutes.
· 13:01 PT Root cause found; the maintenance automation is halted.
· 14:03 PT The rebuilt control plane configuration starts rolling out.
· 15:19 PT Network capacity starts to recover.
· 16:10 PT Full service is restored.
How it failed
1. Normal: Each location's network control plane computes routes and pushes them to its routers, which forward on them and run BGP between locations. The maintenance automation normally touches one location at a time.
2. What the rule is for (hypothetical): Suppose maintenance targets location A only: A's control plane jobs stop as configured, A's routers fail static and keep forwarding on existing routes, the maintenance finishes quickly and the control plane comes back; users notice nothing. "Stop the control plane on maintenance" exists for this single-location case.
3. 11:45 PT Several locations at once: This maintenance event also targeted one location, but the software starting it had a bug that let it deschedule several independent clusters at once, even in different locations, and those clusters were marked eligible for this kind of maintenance. The control plane in all three locations stopped.
4. Fail static: forwarding carries on: With the control plane gone, the routers keep forwarding on their existing routes, and the network runs normally for several minutes.
5. Routes withdrawn, capacity halved: A few minutes later BGP routing between the affected locations is withdrawn and the regions stop using more than half their capacity. The traffic does not fit, so the network drops large, latency-insensitive traffic to protect small, latency-sensitive flows.
6. The tools are stuck too: The engineers' debugging tools share the same network as user traffic and are slowed by the same congestion, delaying diagnosis and repair.
How it was recovered
1. 13:01 PT Halt the automation: Root cause found; the software that starts maintenance events is halted so it stops nothing more.
2. 14:03 PT Rebuild and push the configuration: The network control plane is re-enabled. Every instance had been descheduled, so its configuration was lost and had to be rebuilt and redistributed, starting at 14:03. Less critical traffic classes are lowered in priority to ease the congestion.
3. 15:19 PT Capacity returns: The control plane computes routes again, BGP between locations comes back, and capacity starts to return.
4. 16:10 PT Fully back: Full service is restored.
The fix
The maintenance guard, rejecting this maintenance type, a longer fail static and persisted configuration all come from Google's report; a separate or top-priority path for management traffic is general practice.
Improved design
1. Maintenance starts: The maintenance guard rejects stopping jobs in several locations at once, and the network control plane is configured to reject this kind of maintenance request. Nothing stops. The next steps assume it still did.
2. Suppose the control plane still stops: The network stays in fail static for longer, so forwarding carries on until the control plane is back.
3. Debugging: Debugging and management traffic use a separate path or the top priority, so they never fight user traffic and the tools keep working.
4. Restoring the control plane: The control plane persists its configuration and reloads it on restart instead of rebuilding it. Google says this cuts recovery time by an order of magnitude.
Original design
1. Maintenance starts: The buggy maintenance software stops the control plane in 3 locations at once, with nothing checking it.
2. After the control plane goes: Fail static holds for only a few minutes; routing between locations is withdrawn, capacity drops below half, and congestion is severe.
3. Debugging: The debugging tools share the congested network with user traffic, slowing diagnosis and repair.
4. Restoring the control plane: Every control plane instance had been descheduled, so the configuration was lost and had to be rebuilt: the automation was halted at 13:01 and the push only began at 14:03.
Three lines of defence
Key: automation touches one location at a time
· (Key) Halt this maintenance automation and re-enable it only once safeguards prevent descheduling jobs in several physical locations at once.
· Cluster management software rejects such requests whatever their origin, and the network control plane rejects this type of maintenance request.
Without the control plane, forwarding holds
· The network stays in fail static mode for longer.
· The control plane persists its configuration, so recovery no longer needs a rebuild; recovery time drops by an order of magnitude.
Protect management traffic
· (General practice) Give debugging and management traffic a separate path or the top priority, so tools keep working when the network congests.
· Emergency tooling and procedures are reviewed, updated and tested for network failures, and continuous disaster-recovery testing covers this class of failure.
Sources
· Google Cloud Status: Google Cloud Networking Incident #19009 (full incident report) https://status.cloud.google.com/incident/cloud-networking/19009
· Google Cloud Blog: An update on Sunday's service disruption (2019-06-03) https://cloud.google.com/blog/topics/inside-google-cloud/an-update-on-sundays-service-disruption
Security ① Cisco Catalyst SD-WAN: a root privilege escalation is exploited (2026)
Security incident · about 10 min
Goal: The CLI of the three control components of Cisco Catalyst SD-WAN (Cisco's software-defined WAN product), the Controller, the Manager and the Validator, has a vulnerability, CVE-2026-20245: an attacker who already holds netadmin privileges can upload a crafted file and execute arbitrary commands as root. Cisco became aware of exploitation in June 2026 and observed limited cases in which it resulted in a configuration change pushed to edge devices.
What happened
· When:Cisco's security advisory was first published on June 4, 2026. It says the Cisco PSIRT (Product Security Incident Response Team) became aware of exploitation of this vulnerability in June 2026, without giving a day.
· Affected products:The three control components of Cisco Catalyst SD-WAN: the Controller (formerly vSmart), the Manager (formerly vManage) and the Validator (formerly vBond), regardless of device configuration. All deployment types are affected: On-Prem, Cisco SD-WAN Cloud-Pro, Cisco SD-WAN Cloud (Cisco Managed) and Cisco SD-WAN for Government (FedRAMP).
· Vulnerability:CVE-2026-20245 (a CVE is the common identifier of a publicly disclosed vulnerability). On CVSS, the common 0-to-10 scale for vulnerability severity, its 3.1 base score is 7.8, rated High. The flaw is in the command-line interface (CLI) of the control components and is due to insufficient validation of user-supplied input. An authenticated, local attacker who uploads a crafted file can execute arbitrary commands as root, the most powerful user of the operating system.
· Precondition:The attacker must already have netadmin privileges on the affected system. netadmin is a predefined role whose users may perform all operations on the device. Cisco says this requires valid credentials or exploitation of CVE-2026-20182 or CVE-2026-20127, two authentication bypass vulnerabilities (which let an attacker pass authentication without credentials), and that it is not aware of successful exploitation by other methods.
· Observed exploitation:Cisco has observed limited cases where exploitation of this vulnerability resulted in a configuration change pushed to edge devices. The advisory does not say what was changed, how many customers were involved or who the attackers were.
· Fix:There are no workarounds (temporary ways to avoid a flaw without upgrading). First fixed releases: 20.9.9.2, 20.12.7.2, 20.15.4.5, 20.15.5.3, 20.18.3.1 and 26.1.1.2. Cisco says upgrading to a fixed release is the only way to remediate the vulnerability; the Live Protect shield added to the advisory on July 15 offers only temporary partial protection.
· Response:Before upgrading, collect an admin-tech file (a diagnostic bundle for Cisco support) from each control component and retain the logs; after upgrading, check the logs for the indicators of compromise (traces an intrusion leaves behind) and verify the configuration of the edge devices. If compromise is confirmed, the software update alone does not resolve it and customers follow the steps provided by the Cisco TAC (Technical Assistance Center).
· Reported by:Mandiant, a division of Google Cloud, reported the vulnerability to Cisco.
· Nature:A security vulnerability that has been exploited in real attacks. The US Cybersecurity and Infrastructure Security Agency (CISA) added it to its Known Exploited Vulnerabilities (KEV) catalog on June 9, 2026, with a due date of June 23 for US federal civilian executive branch agencies.
Timeline (Cisco advisories and CISA)
· 2026-02-25 Cisco publishes its advisory for CVE-2026-20127, an authentication bypass. It is one of the ways to netadmin privileges that the advisory names.
· 2026-05-14 Cisco publishes its advisory for CVE-2026-20182, another authentication bypass and the other way the advisory names.
· 2026-06-04 Cisco first publishes the advisory for CVE-2026-20245, with the status Interim. It says the Cisco PSIRT became aware of exploitation in June 2026, without giving a day.
· 2026-06-05 The advisory's indicators of compromise are updated.
· 2026-06-09 The advisory's affected products and fixed releases are updated. On the same day CISA adds CVE-2026-20245 to its Known Exploited Vulnerabilities (KEV) catalog, with a due date of June 23.
· 2026-06-12 From June 10 to June 12 the fixed releases 26.1.1.2, 20.15.4.5, 20.15.5.3, 20.9.9.2 and 20.12.7.2 are added to the advisory; on June 12 its status changes to Final.
· 2026-07-15 The advisory adds the Live Protect shield: temporary partial protection.
· 2026-07-21 The fixed releases table gains the row "20.18.2.2 and earlier", fixed in 20.18.3.1.
How the intrusion went
1. Normal: SD-WAN (software-defined WAN) puts the WAN connections of all sites under one central system. Each site has an edge router, and traffic between sites travels in encrypted IPsec tunnels between the edge routers. Cisco Catalyst SD-WAN has three control components. The Manager (formerly vManage) is the management entry point: administrators write configuration there and it pushes the configuration to the edge routers. The Controller (formerly vSmart) distributes routes and policy to the edge routers. The Validator (formerly vBond) authenticates a device when it joins the network. Connections between the control components and the edge routers are encrypted with DTLS or TLS and mutually authenticated. Traffic between sites does not pass through the control components.
2. What the rule is for (hypothetical): Suppose the company wants to add one access-control rule at every site. An administrator logs in to the Manager and edits one configuration template. A template is a piece of configuration applied to many devices. The Manager pushes the new configuration to every edge router that uses the template, so nobody has to log in to the routers one by one. Central push is the main purpose of SD-WAN. Whoever can change configuration on the Manager can change the edge router at every site.
3. Precondition: the attacker already holds netadmin: netadmin is a predefined role in Cisco Catalyst SD-WAN. It includes the admin user by default, and its users may perform all operations on the device. Cisco's advisory says that to exploit this vulnerability an attacker must first have netadmin privileges on the affected system. That requires valid credentials (an account and its password, for example), or prior exploitation of one of two authentication bypass vulnerabilities, CVE-2026-20182 or CVE-2026-20127. A CVE is the common identifier of a publicly disclosed vulnerability. Cisco says it is not aware of successful exploitation by other methods. The advisory does not say how the attackers in the observed cases obtained netadmin privileges.
4. Escalation: from netadmin to root: CVE-2026-20245 is in the command-line interface (CLI) of the control components; the Controller, the Manager and the Validator all have it. The cause is insufficient validation of user-supplied input. By uploading a crafted file to the system, the attacker can perform command injection (getting the system to run commands the attacker slipped in) and execute arbitrary commands as root. root is the most powerful user of the operating system: it can read and write every file and run any program. Moving from lower privileges to higher ones is called privilege escalation. CVSS is the common 0-to-10 scale for vulnerability severity; Cisco scores this vulnerability 7.8 and rates it High.
5. A configuration change is pushed to the edges: Cisco says it observed limited cases in which exploitation of this vulnerability resulted in a configuration change pushed to edge devices. Edge routers accept configuration pushed by the control components; this is the same channel the administrator used in step 2. The advisory does not say what was changed, how many customers or devices were involved, or who the attackers were. In June 2026 the Cisco PSIRT (Product Security Incident Response Team) became aware of exploitation of this vulnerability.
6. Scope: every site the Manager manages: The vulnerability affects all three control components, the Controller, the Manager and the Validator, regardless of device configuration. All deployment types are affected: On-Prem, Cisco SD-WAN Cloud-Pro, Cisco SD-WAN Cloud (Cisco Managed) and Cisco SD-WAN for Government (FedRAMP). There is no workaround (a temporary way to avoid a flaw without upgrading the software). The Manager can push configuration to every edge router it manages, so once a control component is compromised, every site it manages is within reach. Traffic between sites does not pass through the control components, but the pushed configuration decides how the edge routers forward that traffic. On June 9, 2026, the US Cybersecurity and Infrastructure Security Agency (CISA) added the vulnerability to its Known Exploited Vulnerabilities (KEV) catalog.
The response
1. 2026-06-04 Cisco publishes the advisory: On June 4, 2026 Cisco publishes the security advisory with the status Interim (still being updated). The vulnerability was reported by Mandiant, a division of Google Cloud. The advisory states that there are no workarounds. From June 9 to June 12 its fixed releases are updated several times, and on June 12 the status changes to Final. On June 9 CISA adds the vulnerability to its Known Exploited Vulnerabilities catalog, with a due date of June 23 for US federal civilian executive branch agencies.
2. Before upgrading: preserve the evidence: Cisco tells customers to preserve possible indicators of compromise (traces an intrusion leaves on a system) first. Before upgrading, run the request admin-tech command on each control component in the SD-WAN deployment to collect an admin-tech file, and retain the relevant logs. An admin-tech file bundles the device's logs and state for review by the Cisco Technical Assistance Center (TAC). Edge devices that show recent unauthorized configuration changes should be included as well.
3. Upgrade to a fixed release: Once the admin-tech files have been collected, upgrade at the earliest opportunity. Cisco says upgrading to a fixed release is the only way to remediate this vulnerability. The advisory's table: 20.9.9.1 and earlier go to 20.9.9.2; 20.12.7.1 and earlier to 20.12.7.2; 20.15.4.4 and earlier to 20.15.4.5; 20.15.5.2 and earlier to 20.15.5.3; 20.18.2.2 and earlier, and 20.18.3, to 20.18.3.1; 26.1.1.1 and earlier to 26.1.1.2. On July 15 a Live Protect shield was added to the advisory; it offers only temporary partial protection, to allow time for planning the upgrade.
4. After upgrading: check for indicators of compromise: After upgrading, check the logs against the indicators of compromise in the advisory. Cisco encourages customers to audit scripts.log under /var/log/ for the kinds of file-upload entries shown in the advisory's examples. These entries come from legitimate commands, and the logs do not distinguish legitimate from malicious use; the same entries may appear during standard operations, so they must be assessed against the normal state of the network. Customers who are unsure about the origin or intent of an entry should contact the Cisco TAC.
5. Verify the configuration of the edge devices: Cisco recommends that customers upgrade and verify the configuration of the edge devices. The same passage of the advisory notes the limited cases in which exploitation resulted in a configuration change pushed to edge devices. The advisory does not describe how to do the verification.
6. If compromise is confirmed: upgrading is not enough: If the logs show indicators of compromise and the system is confirmed to be compromised, Cisco says applying the software update alone will not resolve it. In that case customers follow the specific remediation steps provided by the Cisco TAC. The advisory does not publish those steps. Customers who want help determining whether a Manager has been compromised may open a TAC case and provide the admin-tech files they collected.
The fix
Upgrading to a fixed release, collecting admin-tech files and retaining logs before upgrading, checking for indicators of compromise, verifying the configuration of the edge devices and following the TAC's steps when compromise is confirmed come from this Cisco security advisory. Keeping management interfaces off the internet, the isolated management network and jump host, multi-factor authentication, need-based roles and sending logs to an external server come from the Cisco Catalyst SD-WAN Hardening Guide and the hardening recommendations in the related advisory (CVE-2026-20127); they are general hardening advice, not written for this vulnerability. The configuration baseline check, change records and off-box configuration backups are general practice. "Original design" means the kind of deployment Cisco describes as at risk; it does not stand for any actual case.
Improved design
1. The attacker reaches the management interface: Management-plane isolation: the management plane is the set of interfaces used to log in to and configure a device. The management interfaces of the control components sit in an isolated management network; SSH and the web UI are allowed only from a jump host (a hardened host used solely to reach management interfaces) or an authorized management subnet, and administrators log in to the jump host with multi-factor authentication. This follows Cisco's hardening guide. An attacker holding a netadmin account still cannot connect to the management interface. The next steps assume the attacker logged in anyway, to show the other defences.
2. Escalating to root: Suppose the attacker logged in as netadmin anyway. The control components have been upgraded to a fixed release, so uploading a crafted file no longer runs commands as root. Cisco says upgrading is the only way to remediate this vulnerability. The attacker is still netadmin, a role that may change configuration anyway, so another defence is needed. Cisco's hardening guide also says to assign roles by need and not give a user more privileges than required.
3. Configuration pushed to the edges: Suppose the configuration change was pushed anyway. Configuration baseline check: the approved configuration is kept as a baseline outside the Manager, and an independent system regularly reads the running configuration of every edge router and compares it with the baseline. A mismatch raises an alert, and administrators restore the baseline. It does not block the push; it shortens the time to notice it. This is general practice. Cisco's advisory tells customers to verify the configuration of the edge devices.
4. Detection and clean-up: Off-box logging: logs from the control components and the edge devices are sent to an external log server as they are written and kept long enough. Cisco's hardening recommendation is to send logs to an external server where possible and keep them long enough for post-event investigations. Logs on the external server are not on the compromised system. The response then follows the advisory: collect admin-tech files, upgrade, check for indicators of compromise, and follow the Cisco TAC's steps if compromise is confirmed.
Original design
1. The attacker reaches the management interface: The Manager's management interface is reachable directly from the internet. Cisco's advisory says SD-WAN Manager systems that are exposed to the internet and have ports exposed to the internet are at risk of compromise. An attacker who already holds netadmin privileges connects directly. According to Cisco, netadmin privileges require valid credentials or prior exploitation of one of the two authentication bypass vulnerabilities.
2. Escalating to root: The control components run an affected release. The attacker uploads a crafted file and executes arbitrary commands as root. There is no workaround for this vulnerability.
3. Configuration pushed to the edges: A configuration change is pushed to the edge devices, and the edge routers accept it as usual. Nothing outside the Manager checks the configuration, so the change is not noticed automatically. Cisco observed limited cases of such a configuration push.
4. Detection and clean-up: Logs exist only on the control components themselves. Cisco says the relevant log entries do not distinguish legitimate from malicious use. Once compromise is confirmed, the software update alone does not resolve it: customers follow the Cisco TAC's remediation steps and verify the configuration of the edge devices.
Three lines of defence
Key: keep the management interfaces off the internet
· (Key) Keep the management interfaces of the control components off the internet: put them in an isolated management network reachable only from a jump host or an authorized management subnet. Cisco's advisory says SD-WAN Manager systems that are exposed to the internet and have ports exposed to the internet are at risk of compromise.
· Administrators do not reach the Manager straight from their workstations: they log in to a hardened jump host with multi-factor authentication and go on from there. From the Cisco Catalyst SD-WAN Hardening Guide.
· Put the control components behind a firewall that admits only known, trusted hosts. SSH is open only to the jump host or the management subnet; NETCONF (the protocol used to push configuration between devices) only to the Manager's address. From the hardening guide and the related advisory's hardening recommendations.
Patching: upgrade to a fixed release
· There is no workaround for this vulnerability. Cisco says upgrading to a fixed release is the only way to remediate it; the Live Protect shield offers only temporary partial protection.
· Assign roles by need and do not give a user more privileges than required. The netadmin role may perform all operations on the device, and holding netadmin privileges is the precondition for exploiting this vulnerability.
· (General practice) Subscribe to the vendor's security advisories. Rehearse control-component upgrades in advance so that an upgrade can be scheduled as soon as an advisory appears.
Configuration integrity: edge configuration must be checkable
· Cisco tells customers to verify the configuration of the edge devices. In limited cases, exploitation of this vulnerability resulted in a configuration change pushed to edge devices.
· (General practice) Keep the approved configuration as a baseline outside the Manager, compare it regularly with the running configuration of every edge router, and alert on any mismatch.
· (General practice) Every configuration push should match a change record. Treat a push without one as an anomaly.
Logs and clean-up
· Before upgrading, collect an admin-tech file from each control component and retain the logs; after upgrading, check the logs for the indicators of compromise.
· When compromise is confirmed, the software update alone does not resolve it; follow the steps provided by the Cisco TAC.
· Send logs to an external server where possible and keep them long enough for post-event investigations. From the related advisory's hardening recommendations.
· (General practice) Back up the control components' configuration and templates off the box regularly, so that a clean source exists if they have to be rebuilt.
Sources
· Cisco Security Advisory: Cisco Catalyst SD-WAN Controller, Catalyst SD-WAN Manager, and Catalyst SD-WAN Validator Authenticated Privilege Escalation Vulnerability (CVE-2026-20245, first published 2026-06-04) https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-sdwan-privesc-4uxFrdzx
· Cisco Security Advisory: Cisco Catalyst SD-WAN Controller Authentication Bypass Vulnerability (CVE-2026-20182, 2026-05-14; a related advisory linked from the one above) https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-sdwan-rpa2-v69WY2SW
· Cisco Security Advisory: Cisco Catalyst SD-WAN Controller Authentication Bypass Vulnerability (CVE-2026-20127, 2026-02-25; a related advisory, with general hardening recommendations) https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-sdwan-rpa-EHchtZk
· Cisco: Cisco Catalyst SD-WAN Hardening Guide (a general hardening guide, not written for this vulnerability) https://sec.cloudapps.cisco.com/security/center/resources/Cisco-Catalyst-SD-WAN-HardeningGuide
· Cisco: Remediate Catalyst SD-WAN Security Advisory - May 2026 (remediation guide written for the May advisory) https://www.cisco.com/c/en/us/support/docs/routers/sd-wan/225842-remediate-catalyst-sd-wan-security.html
· CISA: the CVE-2026-20245 entry in the Known Exploited Vulnerabilities Catalog (added 2026-06-09) https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-20245
· CISA: CISA Adds Three Known Exploited Vulnerabilities to Catalog (alert of 2026-06-09) https://www.cisa.gov/news-events/alerts/2026/06/09/cisa-adds-three-known-exploited-vulnerabilities-catalog
Security ② F5: internal development environment breached (2025)
Security incident · about 10 min
Goal: In August 2025 F5 learned that a nation-state threat actor had long-term access to its BIG-IP product development environment and engineering knowledge management platforms, and had taken some BIG-IP source code, information about undisclosed vulnerabilities, and configuration or implementation information for a small percentage of customers. F5 disclosed this on October 15 and released updates, saying it has no evidence that its source code or its build and release pipelines were modified.
What happened
· When:F5 learned of the unauthorized access on August 9, 2025, and disclosed it publicly on October 15. F5 describes the access only as "long-term, persistent" and gives no start date.
· Threat actor:F5 calls it a "highly sophisticated nation-state threat actor" (an attack group backed by a state) and does not name a country. The U.S. Cybersecurity and Infrastructure Security Agency (CISA) says "a nation-state affiliated cyber threat actor".
· Systems accessed:The BIG-IP product development environment and the engineering knowledge management platforms. BIG-IP is the F5 product that companies place in front of their application servers as a load balancer.
· What was taken:Some BIG-IP source code (the original program text); information about undisclosed BIG-IP vulnerabilities that F5 was still working on; and, in files from the knowledge management platform, configuration or implementation information for a small percentage of customers. F5 says this is primarily internal notes about customer interactions, which can include information used for troubleshooting, feature development and bug fix requests.
· No evidence of:F5 says it has no evidence of modification to its software supply chain, including its source code and its build and release pipelines; this assessment was validated through independent reviews by NCC Group and IOActive. No evidence of access to, or exfiltration of, data from its CRM, financial, support case management or iHealth systems. No evidence that the NGINX source code or product development environment, F5 Distributed Cloud Services or Silverline systems were accessed or modified. F5 bases these statements on its investigation of available logs.
· Initial entry:Not disclosed. Neither F5's statement nor its Form 8-K filed with the U.S. Securities and Exchange Commission (SEC) says how the threat actor first got in.
· Impact on customers:In October 2025 F5 said it had no knowledge of undisclosed critical or remote code execution vulnerabilities and was not aware of active exploitation of any undisclosed F5 vulnerabilities; customers whose information was in the files are contacted by F5 directly. CISA's assessment: with the source code and vulnerability information, the threat actor presents an imminent threat to federal networks using F5 devices and software.
· F5's response:Contained the threat actor and has seen no new unauthorized activity since; engaged CrowdStrike, Mandiant and other outside security experts; rotated credentials, strengthened access controls and hardened its product development environment. On October 15, 2025 it released updates for BIG-IP, F5OS, BIG-IP Next for Kubernetes, BIG-IQ and APM clients and strongly advised customers to update as soon as possible.
· Later:One of the vulnerabilities fixed by the October 2025 updates was CVE-2025-53521 in the BIG-IP APM module, rated then as a denial of service. In March 2026, on new information, F5 re-categorized it as remote code execution (CVSS score 9.8 out of 10) and said it had learned the vulnerability has been exploited; the fixed versions released in October address it. F5 does not say whether this vulnerability was in the exfiltrated information.
Timeline (F5's statements, its Form 8-K and CISA's directive)
· 2025-08-09 F5 learns that a highly sophisticated nation-state threat actor has gained unauthorized access to certain of its systems (the date given in the 8-K), activates incident response and contains the threat actor.
· 2025-09-12 The U.S. Department of Justice determines that a delay in public disclosure is warranted (per the 8-K, under Item 1.05(c) of Form 8-K).
· 2025-10-15 F5 files its Form 8-K and posts statement K000154696 on MyF5; the same day it releases updates for BIG-IP, F5OS, BIG-IP Next for Kubernetes, BIG-IQ and APM clients and its October 2025 Quarterly Security Notification.
· 2025-10-15 CISA issues Emergency Directive ED 26-01, requiring U.S. Federal Civilian Executive Branch agencies to inventory F5 devices, check whether management interfaces are reachable from the public internet, and apply updates.
· 2025-10-22 CISA's deadline for updating F5OS, BIG-IP TMOS, BIG-IQ and BNK/CNF. The same day F5 updates its statement and its Chief Information Security Officer publishes answers to customers' questions.
· 2025-10-31 CISA's deadline for updating all other F5 devices and applying F5's hardening guidance.
· 2026-03 F5 re-categorizes CVE-2025-53521, fixed in October, from denial of service to remote code execution and says it has learned the vulnerability has been exploited.
How the intrusion went
1. Normal: BIG-IP is an F5 product. Companies place it in front of their application servers as a load balancer: user requests reach the BIG-IP first, and it spreads them across the servers behind it. F5 engineers write BIG-IP's source code (the original program text) in the product development environment; the build and release pipelines turn source code into installable releases that are shipped to customers. A customer's administrators download updates, read security advisories and install updates on the device through its management interface, a dedicated interface for logging in to and configuring the device. When F5 works with customers, its engineers keep notes on internal engineering knowledge management platforms, and these can contain a customer's configuration or implementation information. The diagram is a simplified sketch: F5 has not published its internal architecture, and only one customer is drawn.
2. What the rule is for (hypothetical): A vulnerability is a flaw in software that someone can exploit. When a vendor finds one in its own product, it usually keeps the details private at first: if they were published before a fix is ready, attackers could act before customers can. Suppose F5's engineers find a vulnerability in BIG-IP. The details stay inside the development environment while the engineers write a fix, the build and release pipelines put the fix into a new release, and the release and the security advisory are published on the same day. Customers and attackers learn about the vulnerability on the same day, and customers can update that day. F5 normally publishes such advisories every quarter in its Quarterly Security Notification. If information about a vulnerability that is still being fixed reaches someone else early, that person knows before every customer does.
3. Long-term access to F5's systems: F5 says a highly sophisticated nation-state threat actor (an attack group backed by a state) maintained long-term, persistent access to certain F5 systems and downloaded files from them. These systems included the BIG-IP product development environment and the engineering knowledge management platforms. Neither F5's statement nor its Form 8-K (the report a listed company files with the U.S. Securities and Exchange Commission about a major event) says how the threat actor first got in or how long it was inside, and F5 does not name a country.
4. What was taken: F5 confirms the threat actor exfiltrated files from both. The files contained some BIG-IP source code and information about undisclosed vulnerabilities F5 was still working on. Some files from the knowledge management platform contained configuration or implementation information for a small percentage of customers; F5 says this is primarily internal notes about customer interactions, which can include information used for troubleshooting, feature development and bug fix requests, and that it contacts affected customers directly. F5 says it has no knowledge of undisclosed critical or remote code execution vulnerabilities (ones that let an attacker run code on a device remotely) and is not aware of active exploitation of any undisclosed F5 vulnerabilities.
5. What F5 says was not touched: A software supply chain is every stage software passes through from source code to the customer's device. F5 says it has no evidence of modification to its software supply chain, including its source code and its build and release pipelines; this assessment was validated through independent reviews by the security firms NCC Group and IOActive. F5 also has no evidence of access to, or exfiltration of, data from its CRM (customer relationship management), financial, support case management or iHealth (F5's online diagnostic tool) systems, and no evidence that the NGINX source code or product development environment, F5 Distributed Cloud Services or Silverline systems were accessed or modified. F5 bases these statements on its investigation of available logs.
6. 2025-10-15 Risk to customers (CISA's assessment): On October 15, 2025 F5 discloses the incident. On the same day the U.S. Cybersecurity and Infrastructure Security Agency (CISA) issues Emergency Directive ED 26-01. CISA's assessment: access to F5's source code could give the threat actor a technical advantage in exploiting F5 devices and software, and this threat actor presents an imminent threat to federal networks that use them. CISA says successful exploitation of the impacted F5 products could let a threat actor access embedded credentials and API keys, move laterally within an organization's network (from one device into other systems), exfiltrate data and establish persistent access. F5 said at the time that it was not aware of active exploitation of any undisclosed F5 vulnerabilities.
The response
1. 2025-08-09 F5 learns of it and contains it: On August 9, 2025 F5 learns that the threat actor has gained unauthorized access to its systems. F5 activates its incident response processes, takes extensive actions to contain the threat actor, engages CrowdStrike, Mandiant and other outside security experts, and works with law enforcement and government partners. F5 says it has seen no new unauthorized activity since these actions began and believes its containment efforts have been successful.
2. F5 hardens its own systems: F5 says that since starting its incident response it has: rotated credentials (replaced login secrets such as passwords and keys) and strengthened access controls across its systems; improved its inventory and patch management automation and added tooling to monitor, detect and respond to threats; enhanced its network security architecture; and hardened its product development environment, including stronger security controls and monitoring of all software development platforms. NCC Group and IOActive continue code review and penetration testing of F5's products. In October 2025 F5 also rotated the certificates and keys it uses to sign its software, so versions released in October 2025 and later are signed with new keys; the article that announces this, K000157005, does not give the reason.
3. 2025-10-15 Public disclosure and updates: On September 12, 2025 the U.S. Department of Justice determines that a delay in public disclosure is warranted. On October 15 F5 files a Form 8-K with the U.S. Securities and Exchange Commission and posts its statement on MyF5, its customer support site. The same day it releases updates for BIG-IP, F5OS, BIG-IP Next for Kubernetes, BIG-IQ and APM clients together with its October 2025 Quarterly Security Notification, and strongly advises customers to update as soon as possible. The fixed BIG-IP versions are 17.5.1.3, 17.1.3, 16.1.6.1 and 15.1.10.8. F5 says these updates address high-severity vulnerabilities in the information the threat actor accessed. The 8-K says that, as of the filing, the incident has not had a material impact on F5's operations.
4. 2025-10-15 What F5 told customers to do: F5's statement lists four things for customers. One: update to the new releases as soon as possible. Two: ask F5 support for the threat hunting guide, which helps strengthen detection and monitoring in your own environment; indicators of compromise (IOCs, the traces an intrusion leaves) are also available from F5 on request. Three: check devices against F5's hardening guidance; the iHealth Diagnostic Tool now has automated hardening checks that surface gaps and prioritize actions. Four: enable BIG-IP event streaming to your SIEM (a system that collects and analyses security logs centrally), configure remote syslog (sending the device's logs to another server) as in K13080 and monitor login attempts as in K13426, which gives visibility and alerting for admin logins, failed authentications, and privilege and configuration changes.
5. 2025-10-15 CISA's emergency directive: CISA's Emergency Directive ED 26-01 binds U.S. Federal Civilian Executive Branch agencies. It requires them to: inventory all BIG-IP hardware and software instances; for public-facing BIG-IP devices, identify whether the management interface is accessible directly from the public internet and, if it is, follow CISA's BOD 23-02 (its binding directive on internet-exposed management interfaces) and report; apply F5's latest update to the F5OS, BIG-IP TMOS, BIG-IQ and BNK/CNF software by October 22, 2025, with the BNK/CNF item adding that F5's published MD5 checksums must be validated before installing; update all other devices by October 31 and apply F5's hardening guidance; apply every later update within one week of release; and disconnect and decommission public-facing F5 devices that have reached end of support. The directive notes that a device whose management interface was, before the directive was issued, already exposed only to a management network and reachable only through a jump box may follow the agency's regular update schedule. A jump box is a host that administrators log in to first and reach devices from.
6. 2025-10-22 F5's follow-up: On October 22 F5's Chief Information Security Officer publishes answers to customers' questions. He says F5's top takeaway so far is that its controls were uneven: strong in some places and not in others. F5 has not seen the exfiltrated information shared publicly or on the dark web, nor any evidence of active exploitation of the vulnerabilities that were accessed; customers whose data has been identified so far have been notified, and the review of the files continues. The new releases have been downloaded 24,000 times. He adds that CISA's directive reinforces two pieces of F5's advice: update as soon as possible, and never expose management interfaces to the public internet but always protect them with segmentation, network isolation and access control.
7. 2026-03 A fixed vulnerability is re-rated: One of the vulnerabilities fixed by the October 2025 updates was CVE-2025-53521 in the BIG-IP APM module, rated then as a high-severity denial of service (it stops the device from serving). In March 2026, on new information, F5 re-categorized it as remote code execution, critical, with a CVSS score of 9.8 out of 10, and said it had learned the vulnerability has been exploited. F5 confirms the fixed versions released in October address it, and asks customers whose APM systems run a vulnerable version, or were upgraded from one, to check them against the indicators of compromise it published. F5 does not say whether this vulnerability was in the exfiltrated information, or who exploited it.
The fix
Updating quickly, keeping an inventory, validating checksums before installing, keeping the management interface off the internet (management network plus jump box), decommissioning end-of-support devices, sending logs to a SIEM and remote syslog, monitoring logins and checking against the threat hunting guide come from F5's statements and CISA's Emergency Directive ED 26-01; removing passwords and keys from files before they leave, rotating credentials afterwards and running the log system separately from the device are general practice. The customer in the diagram is hypothetical.
Improved design
1. The vendor is breached: F5's knowledge management platform is accessed, and it holds notes about this customer. Outbound file check: before this customer sent configuration and diagnostic files to the vendor, it removed passwords, private keys and API keys; after learning of the vendor's incident it also replaced every credential that had appeared in those files. The notes the attacker took contain nothing that can be used to log in to the device. This is general practice. The next steps assume this defence is not enough: the source code and the undisclosed vulnerability information were never in the customer's hands, so the customer cannot protect them.
2. Vulnerability information is out: Suppose the attacker holds undisclosed vulnerability information. F5 released fixed versions on October 15, 2025. Update quickly: this customer keeps an inventory that lists every BIG-IP, where it is and which version it runs, and has all of them updated within a week of the release. F5 strongly advises customers to update as soon as possible; CISA requires federal agencies to inventory first, update F5OS, BIG-IP TMOS, BIG-IQ and BNK/CNF by October 22 (one week after the directive), and apply every later update within a week of release. In March 2026 F5 re-categorized CVE-2025-53521, already fixed in October, as remote code execution and said it has been exploited; the October fixed versions address it.
3. The attacker tries the device: Suppose one device has not been updated yet and the attacker tries it from the internet. Keep the management interface off the internet: this BIG-IP's management interface is connected only to a management network; administrators log in to a jump box first and reach the management interface from there, so nobody on the internet can reach it. F5 says management interfaces should never be exposed to the public internet and should always be protected through segmentation, network isolation and access control. CISA calls a management interface that is exposed only to a management network and reachable only via a jump box a best practice, and lets devices already set up this way before the directive follow the regular update schedule. The ports on which the BIG-IP serves traffic stay open to the internet as before; vulnerabilities there are fixed by updating.
4. Was the device touched?: Suppose the attacker did reach the device, and the customer has to find out whether it was touched. Keep logs off the device: the BIG-IP streams its management-plane logs to a SIEM (a system that collects and analyses security logs centrally) and a remote syslog server as they are written. The management plane is the part of a device that handles logins, configuration and logging. Admin logins, failed authentications, privilege changes and configuration changes are all recorded in the log system, and unusual logins raise alerts. F5 recommends this and provides steps for remote syslog (K13080) and for monitoring login attempts (K13426). Using F5's threat hunting guide and indicators of compromise, the customer searches these logs for signs that this device was touched.
Original design
1. The vendor is breached: F5's knowledge management platform is accessed, and it holds notes about this customer. Suppose this customer used to send complete configuration files to the vendor as they were, with administrator passwords, private keys and internal addresses in them, and never replaced those credentials afterwards. All of that is now in the attacker's hands. What F5 states is that the exfiltrated files contained configuration or implementation information for a small percentage of customers, and that it contacts affected customers directly.
2. Vulnerability information is out: The attacker holds undisclosed vulnerability information. F5 released fixed versions on October 15, 2025, but this customer has no inventory, does not know how many BIG-IPs it has or which versions they run, and schedules the update months away. Until the fix is installed, the vulnerabilities stay on the device.
3. The attacker tries the device: The attacker tries this device from the internet. Its management interface is exposed directly to the internet and the device still runs an old version. CISA says successful exploitation of the impacted F5 products could let a threat actor access embedded credentials and API keys, move laterally within the network, exfiltrate data and establish persistent access.
4. Was the device touched?: The customer has to find out whether the device was touched. Logs exist only on the device itself; nothing is sent elsewhere and nobody reviews the login records. If someone controls the device, the logs on it can be changed too. The customer cannot tell whether this device was touched and has to treat it as possibly compromised.
Three lines of defence
Key: update quickly once the vendor ships a fix
· (Key) The attacker holds source code and undisclosed vulnerability information, so a device stays at risk until the fix is installed. F5 strongly advises customers to update to the releases of October 2025 as soon as possible; CISA requires federal agencies to update F5OS, BIG-IP TMOS, BIG-IQ and BNK/CNF within a week of the directive and to apply every later update within a week of release.
· Inventory first: CISA requires agencies to identify all BIG-IP hardware and all instances of F5OS, TMOS, Virtual Edition, BIG-IP Next, BIG-IQ and BNK/CNF.
· Verify downloaded software before installing it. F5 recommends manually verifying downloaded BIG-IP and BIG-IQ software images before deployment; CISA's directive, in its BNK/CNF item, requires validating F5's published MD5 checksums. F5 rotated its signing certificates and keys in October 2025; versions released from October 2025 on are signed with the new keys.
· End-of-support devices: CISA requires public-facing ones to be disconnected and decommissioned; F5 strongly recommends moving end-of-life software to a supported version.
Management plane: keep the management interface off the internet
· Management interfaces should never be exposed to the public internet and should always be protected through segmentation, network isolation and access control (F5's words). CISA requires agencies to find out whether a management interface is reachable directly from the public internet, and calls exposing it only to a management network, reachable only via a jump box, a best practice.
· F5's hardening guidance: change the default passwords of the maintenance accounts, set a password policy, and restrict which source addresses may reach SSH and the Configuration utility.
· (General practice) Give every administrator a personal account, and have the jump box record who logs in and when.
Audit: keep management-plane logs off the device
· F5 recommends enabling BIG-IP event streaming to a SIEM, configuring remote syslog (K13080) and monitoring login attempts (K13426): admin logins, failed authentications, and privilege and configuration changes become visible and can raise alerts.
· F5 support provides a threat hunting guide and indicators of compromise on request; the iHealth Diagnostic Tool has added automated hardening checks.
· (General practice) Run the log system separately from the device and keep logs long enough to look back at logins and changes from months earlier.
Configuration material: control what goes to the vendor
· (General practice) Remove passwords, private keys and API keys from configuration and diagnostic files before sending them to a vendor.
· (General practice) Keep a record of what was given to which vendor; when a vendor says your material was affected, replace every credential that appeared in it.
· F5 says the exfiltrated files contained configuration or implementation information for a small percentage of customers, and that it contacts affected customers directly.
Sources
· F5: K000154696: F5 Security Incident (official statement, published 2025-10-15, updated 2025-10-22) https://my.f5.com/manage/s/article/K000154696
· F5: Form 8-K filed with the U.S. Securities and Exchange Commission (2025-10-15, Item 1.05) https://www.sec.gov/Archives/edgar/data/1048695/000104869525000149/ffiv-20251015.htm
· F5: Lessons we are learning from our security incident (post by the Chief Information Security Officer, 2025-10-22) https://www.f5.com/company/blog/lessons-we-are-learning-from-our-security-incident
· CISA: ED 26-01: Mitigate Vulnerabilities in F5 Devices (U.S. government emergency directive, 2025-10-15) https://www.cisa.gov/news-events/directives/ed-26-01-mitigate-vulnerabilities-f5-devices
· F5: K000156572: Quarterly Security Notification (October 2025) (the fixed vulnerabilities and versions) https://my.f5.com/manage/s/article/K000156572
· F5: K000156741: BIG-IP APM vulnerability CVE-2025-53521 (re-categorized in March 2026) https://my.f5.com/manage/s/article/K000156741
· F5: K53108777: Hardening your F5 system (hardening guidance) https://my.f5.com/manage/s/article/K53108777
· F5: K13080: Configuring the BIG-IP system to log to a remote syslog server https://my.f5.com/manage/s/article/K13080
· F5: K13426: Monitoring login attempts on BIG-IP system https://my.f5.com/manage/s/article/K13426
· F5: K000157005: F5 signing certificate and key rotation, October 2025 https://my.f5.com/manage/s/article/K000157005