Blog/Incident analysis

A blank field and a missing feature flag: the Google Cloud outage of June 2025

Google published a detailed incident report. An unflagged code path met a policy record with blank fields, and the binary that authorizes every API call crash-looped worldwide.

CyberWatch AI24 November 2026 · 7 min read
A wall of dark server cabinets with a single open door showing cabling inside

On 29 May 2025, Google added a feature to Service Control, the component that checks every Google Cloud API request against policy and quota before letting it through. The new code performed some additional quota policy checks. It had no error handling, and it was not placed behind a feature flag.

Two weeks later, at about 10:45am Pacific time on 12 June, a policy change was written into the regional Spanner tables that Service Control reads. The change contained blank fields that were not supposed to be there. Because quota metadata is global, it replicated worldwide within seconds.

The new code path met the blank fields, hit a null pointer, and crashed. Then it restarted, read the same data, and crashed again. Service Control went into a global crash loop, and with it went the gate in front of the Google Cloud API surface.

What failed, and how widely

The published list of affected products is long enough to be the point. Identity and Access Management. Cloud Storage. Compute Engine. BigQuery. Cloud Run. Cloud SQL. Spanner. Cloud Logging and Cloud Monitoring. Pub/Sub. Dataflow. Firestore. Bigtable. Cloud DNS. Cloud Load Balancing. Apigee. Vertex AI. The Cloud Console and Cloud Shell.

Google Workspace went with it: Gmail, Drive, Calendar, Chat, Docs, Meet, Voice and others sit on the same API management platform.

The reach is explained by where the fault sat. Service Control is not a product; it is a chokepoint that every product passes through. A defect in a chokepoint does not degrade one feature. It returns 503 to everything.

The ripple went further than Google. Cloudflare published its own report the same day: a third-party cloud provider backing part of the storage behind Workers KV had an outage, and Cloudflare's Workers KV, Access, WARP, Gateway, Images, Stream, Workers AI, Turnstile and parts of its dashboard failed for around two and a half hours as a result. Cloudflare's own framing is worth quoting for its honesty: it says it is ultimately responsible for its chosen dependencies and how it architects around them.

The timeline

Times are US/Pacific, from Google's incident report.

  • 29 May. The unflagged, unprotected code path ships. The region-by-region rollout never exercises it, because no policy data triggers it.
  • 12 June, around 10:45. A policy change with blank fields is written and replicates globally within seconds.
  • 10:49 to 10:51. Service Control begins crash-looping worldwide.
  • About 10 minutes in. Engineers identify the root cause.
  • About 25 minutes in. A kill switch for the faulty serving path is ready.
  • About 40 minutes in. The kill switch has rolled out. Smaller regions start recovering.
  • 11:46. First public status post, delayed roughly an hour because Cloud Service Health was itself unavailable.
  • 13:45. Most Google Cloud products fully recovered.
  • 18:18. Incident closed, with Vertex AI online prediction the last to recover.

Ten minutes to diagnosis and forty to a global kill switch is genuinely fast. The reason the incident ran seven and a half hours anyway is the second failure, which is the more interesting one.

The herd effect

When the kill switch stopped the crashing, every crash-looped task in us-central1 restarted and immediately tried to read its configuration from the same Spanner table. All at once. Google's report names this a herd effect and identifies the specific missing control: Service Control did not implement randomized exponential backoff.

Backoff is the discipline of waiting progressively longer between retries, with a random component so that clients do not synchronize. Without it, a recovering system attacks its own database. Engineers had to throttle task creation manually and route traffic to multi-region databases, which extended recovery in that region by up to about two hours and forty minutes.

This is a recognized failure mode with a name and a literature. Google's own SRE book has a chapter on cascading failures that describes it. The fact that it still happened inside Google is not an indictment of the engineering; it is a demonstration of how easily a control gets omitted from one component among thousands.

Error, not attack, and the security questions it still raises

Google's report attributes the event to an internal change and a malformed policy record. Nothing in it points to an attacker, and nothing in the subsequent coverage has suggested one. This was a software defect.

Three security consequences follow anyway.

Logging and monitoring were in scope. Cloud Logging and Cloud Monitoring are on the affected list. For anyone whose detection pipeline runs through them, the outage window is a window with reduced visibility. That is not a theoretical concern: an attacker already inside an environment does not pause during a cloud provider incident, and the backlog that forms afterwards is where alerts get lost.

IAM was in scope. Identity and Access Management appears in the product list. When the system that evaluates permissions is unavailable, you cannot grant emergency access, revoke a compromised identity, or inspect who holds what. Containment actions in cloud are API calls, and API calls were what was failing.

Fail open is a security decision wearing an availability costume. Google's remediation list includes modularizing Service Control so that failing checks fail open and API requests are still served. That is the right call for availability and it is worth understanding what it means: a request that could not be fully checked gets served. Every organization that builds a policy enforcement point faces this choice, and the answer differs by what is being protected. A quota check failing open is reasonable. An authorization check failing open is a bypass. Deciding which is which, in advance and in writing, is the work.

What is confirmed and what is not

Confirmed, from Google's own incident report: the 29 May code change without a feature flag or error handling, the blank-field policy record, the global replication within seconds, the null pointer and crash loop, the missing exponential backoff and the resulting herd effect in us-central1, the kill switch timing, the product list, and the remediation commitments.

Worth noting: Google published both a short "mini" report and a fuller one, and they differ slightly. The mini report gives the incident window as 10:49 to 13:49 and calls the trigger an invalid automated quota update; the status page gives 10:51 to 18:18 and the fuller report describes a policy change. Neither is wrong, they measure different things, but it is a reminder to cite which document you are reading.

Not published by Google: how many customers were affected, the number of failed requests, or any financial figure. Third-party estimates exist and are estimates.

What Google committed to change

The remediation list is unusually direct about process rather than code:

  1. Feature flags, disabled by default, required for all critical binary changes. Google states plainly that had the May change been flag-protected, the issue would have been caught in staging.
  2. Fail open behavior for failing checks, so Service Control degrades instead of refusing everything.
  3. Audit of systems consuming globally replicated data, with incremental propagation and time to validate rather than worldwide replication in seconds.
  4. Better static analysis and testing for error handling, including for fail-open behavior.
  5. An audit to ensure randomized exponential backoff is actually used.
  6. Monitoring and communication infrastructure kept independent of Google Cloud, after the status page could not be updated for an hour.

Item three is the one most organizations can learn from directly. Configuration that replicates globally in seconds has no blast radius containment at all. Code gets staged rollouts as a matter of course; configuration and policy data frequently do not, and configuration is what causes most large platform failures.

What to do with this

You cannot prevent your provider's chokepoint from failing. You can be clear about what happens to you when it does.

Know which of your controls depend on a provider's policy plane. If your authorization, secrets retrieval, logging or alerting routes through one, write down what your system does when it returns an error. If the answer is "we have not tested that", you have found work worth doing, and the cloud security guide covers how to reason about where those dependencies sit.

Treat configuration changes like code changes. Staged rollout, validation, a kill switch, and the ability to revert. Most organizations gate deployments carefully and let a policy or feature-configuration change go everywhere at once. So, for a while, did Google.

Check your own retries for backoff. Any client that retries on failure without a randomized delay will turn your recovery into a second outage. It is a one-line fix in most code and an afternoon to audit.

Assume reduced visibility during provider incidents. Note the window, and go back over the period afterwards rather than trusting that nothing happened because nothing alerted. A short review of that kind fits naturally into a post-incident review, even when the incident was someone else's.

Finally, note where the single points of failure actually were. Not in a data center, not in a network link, not in anything with a redundancy story. They were in a code path nobody had exercised, a record with empty fields, and a retry loop missing a random number. Resilience engineering is mostly about the unglamorous places, and this incident is a very good tour of them. For the wider picture of how one supplier's failure travels through everyone who depends on it, third-party risk is the companion topic.

Checking a suspicious message about a cloud account? Fake provider notices tend to spike after well-publicized outages. Paste the message or link into CyberWatch AI Scan for a free check.

Frequently asked questions

What caused the Google Cloud outage on 12 June 2025?

Google's incident report describes a code path added to Service Control on 29 May that performed additional quota policy checks. It had no error handling and was not behind a feature flag. On 12 June a policy change containing unintended blank fields reached the data it read, triggering a null pointer and crashing the binaries into a global crash loop.

Was it an attack?

No. Google's published report attributes it entirely to an internal change and a malformed policy record. There is no suggestion of malicious activity.

What is Service Control?

It is the component that sits in front of Google Cloud APIs and checks each request against policy and quota before allowing it. If it cannot answer, requests fail, which is why a fault in it produced errors across many unrelated products.

How long did the outage last?

Google's status page records the incident from 10:51 to 18:18 US/Pacific. The kill switch that stopped the faulty code path was fully rolled out roughly 40 minutes in, and most products had recovered by 13:45, but us-central1 and some services such as Vertex AI online prediction took considerably longer.

Why did recovery in us-central1 take so long?

When the crash-looping tasks restarted, they all hit the underlying Spanner table at once. Google calls this a herd effect. Service Control had no randomized exponential backoff, so the retries overloaded the database. Engineers had to throttle task creation and move traffic to multi-region databases.

What does 'fail open' mean and why does it matter here?

A policy check that fails open allows the request when it cannot reach a decision; one that fails closed denies it. Google committed to modularizing Service Control so that a failing check can fail open and still serve the API request. That is a deliberate availability choice with a security cost attached, which is why it needs to be a conscious decision rather than a default.

Why did Google Workspace fail too?

Google's report lists Workspace products including Gmail, Drive, Calendar, Chat, Docs and Meet among those affected. They sit on the same API management platform, so a failure in the shared layer reached them as well.

Did the outage affect other companies' services?

Yes, indirectly. Cloudflare published its own report the same day stating that an outage at a third-party cloud provider backing part of Workers KV's storage caused failures in Workers KV, Access, WARP, Gateway, Turnstile and other Cloudflare products for about two and a half hours.

What did Google commit to changing?

Requiring feature flags disabled by default for critical binary changes, making policy checks fail open rather than crash, auditing systems that consume globally replicated data so changes propagate incrementally with validation time, ensuring randomized exponential backoff is used, and keeping monitoring and status communication infrastructure independent of Google Cloud itself.

Sources

  1. Multiple GCP products are experiencing Service Issues (incident ow5i3PPK96RduMcb1SsW), Google Cloud Service Health
  2. Google Cloud caused outage by ignoring its usual code quality protections, The Register
  3. Google Cloud Incident Report, Simon Willison's Weblog
  4. Cloudflare service outage June 12, 2025, Cloudflare Blog
  5. Addressing Cascading Failures, Google Site Reliability Engineering
  6. Canarying Releases, Google SRE Workbook
  7. Google Cloud Architecture Framework: Reliability, Google Cloud
  8. SP 800-34 Rev. 1, Contingency Planning Guide for Federal Information Systems, US National Institute of Standards and Technology
  9. Cloud security guidance, UK National Cyber Security Centre
Share this article
LinkedIn WhatsApp X
For organizations

Your people get these messages at work too.

CyberWatch AI sends your staff realistic practice attacks, trains the gaps it finds, and shows management exactly where the organization stands.