Google Cloud API keys may continue functioning for up to 23 minutes after deletion, exposing a significant security gap that could allow attackers to retain unauthorized access to cloud services even after credentials are revoked.
Security researchers from Aikido, led by Joe Leon, discovered that deleted Google API keys do not immediately lose access as expected. Instead, revocation propagates gradually across Google’s distributed infrastructure, creating a “revocation window” during which the key remains intermittently valid.
In testing across 10 trials, researchers observed:
During this window, authentication behavior was inconsistent. Some requests failed instantly, while others continued to succeed depending on which backend servers processed them. This inconsistency allows attackers with a leaked API key to continue making requests until all systems fully recognize the deletion.
If a Google API key tied to services like Gemini or BigQuery is exposed, an attacker could:
For instance, even 10 minutes after deletion, a subset of requests may still succeed if routed through lagging infrastructure nodes.
The research also revealed notable regional differences in revocation behavior. Tests conducted across Google Cloud regions (us-east1, europe-west1, asia-southeast1) showed varying success rates immediately after deletion.
In some cases, systems farther from the U.S. revoked faster than those closer to the U.S., suggesting that internal routing, caching, or infrastructure design influences how quickly deletions propagate.
Additionally, GCP logs group requests made with deleted keys under a generic “apikey:UNKNOWN” label. This complicates incident response, as security teams cannot easily attribute activity to a specific compromised key once it has been deleted.
Not all Google credentials exhibit this delay. The researchers found:
This disparity indicates that faster revocation is technically feasible but not implemented uniformly across credential types.
Google reportedly classified the issue as “won’t fix,” citing eventual consistency as a known architectural characteristic rather than a vulnerability. While eventual consistency helps large-scale systems remain performant, applying it to authentication introduces exploitable timing gaps.
The issue also raises concerns about misleading user expectations. The Google Cloud console states that deleted keys can no longer be used, yet provides no visibility into revocation status or confirmation of when access fully terminates.
Until changes are implemented, organizations using Google API keys should adjust their security practices:
This finding highlights a broader security challenge in distributed systems: while eventual consistency improves scalability, it may conflict with the strict immediacy required for credential revocation.
Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.
Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…
Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…
Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…
A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…
GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…
Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…