AI failures · Security or operational lapse
Google: Public Google API Keys Also Authenticated to Gemini, Truffle Security Reports (2026)
Verified Last reviewed 2 sources quoted
- Where it happened
- International or several countries
- Organization
- Date
- Truffle Security published its findings on February 25, 2026, after reporting them to Google on November 21, 2025; it gives no date on which keys first gained Gemini access. Google says unrestricted keys stopped working with the Gemini API from June 19, 2026
- Function
- AI platform access control
- Work stage
- API key authentication to the Gemini API
- System
- Gemini API
- Technology
- Conventional software (not AI)
- Type of failure
- Security or operational lapse
- Caught by
- A researcher
Summary
Truffle Security reported in February 2026 that Google API keys of the kind long described as safe to embed in public services such as Google Maps also authenticated to Gemini. It said it scanned millions of websites and found nearly 3,000 such keys that also authenticated to Gemini even though they were never intended for it, and that with a valid key an attacker could access uploaded files and cached data and charge LLM usage to the account. In Truffle Security's timeline, Google first determined on November 25, 2025 that the behavior was intended, reclassified the report as a bug on December 2, and on December 12 shared a remediation plan and began restricting exposed keys from accessing the Gemini API. In an announcement reposted on June 24, 2026, Google's Gemini product team says the Gemini API stopped accepting requests from unrestricted API keys starting June 19, 2026, and that keys generated directly in AI Studio are restricted to the Gemini API by default.
Consequence
- Google began restricting exposed keys from accessing the Gemini API, per Truffle Security's timeline
- Google says the Gemini API stopped accepting requests from unrestricted API keys starting June 19, 2026
Who caught it A researcherFound outside the organization
Key dates
- February 25, 2026Event
Evidence
-
We scanned millions of websites and found nearly 3,000 Google API keys, originally deployed for public services like Google Maps, that now also authenticate to Gemini even though they were never intended for it.
Supports: finding and scale
With a valid key, an attacker can access uploaded files, cached data, and charge LLM-usage to your account.
Supports: what a key could reach, per the researcher
Dec 12, 2025: Google shared their remediation plan. They confirmed an internal pipeline to discover leaked keys, began restricting exposed keys from accessing the Gemini API, and committed to addressing the root cause
Supports: Google's response, per the researcher
Nov 25, 2025: Google initially determined this behavior was intended.
Supports: Google's first response, per the researcher
Dec 2, 2025: Google reclassified the report from "Customer Issue" to "Bug," upgraded the severity, and confirmed the product team was evaluating a fix.
Supports: Google's reclassification, per the researcher
New keys created through AI Studio will default to Gemini-only access, preventing unintended cross-service usage.
Supports: Google's published roadmap, per the researcher
-
Starting June 19, 2026, the Gemini API stopped accepting requests from unrestricted API keys to prevent unauthorized usage and billing risks.
Supports: Google stopped accepting unrestricted keys from June 19, 2026 (announcement dated June 24, 2026)
Keys generated directly in AI Studio are restricted to the Gemini API by default.
Supports: New AI Studio keys restricted by default
Cite this record
Eminence Scan, “Google: Public Google API Keys Also Authenticated to Gemini, Truffle Security Reports (2026)”, Eminence Growth Solutions, last reviewed November 3, 2026, https://eminencegrowthsolutions.com/tools/eminence-scan/record/fail-125/.
Using our research: you may read and quote Eminence Scan with credit to “Eminence Scan, Eminence Growth Solutions” and a link; all other rights reserved. Terms: Using our research.
Spotted an error, or a development we have missed?
