Skip to content
Submit incident
AII-1000-67213
Well documentedThree or more independent publishers report the core facts.

Google Gemini API Keys Exposed in Android Apps

Researchers discovered that Google API keys embedded in over 500 million Android apps can gain elevated privileges when Google's Gemini API is integrated, potentially allowing unauthorized access to sensitive user data and services. Dozens of exposed API keys were found across apps including OYO, Google Pay for Business, Taobao, and others, with attackers able to extract keys through reverse-engineering.

9 April 2026 Β· Google Β· Security and cyberattacks
9 April 2026
AII-1000-672134 sources ↓
Quick facts
Category
Security and cyberattacks
Country
India
Source
cloudsek.com
Date
9 April 2026
Drafted by
Raidu Incident Detection

What happened

CloudSEK researchers discovered that Google API keys embedded in Android apps, which were previously considered safe for client-side use, can gain elevated privileges once Google's Gemini Generative Language API is integrated. Analysis of 10,000 widely used Android apps found dozens of exposed API keys across apps with a combined install base of over 500 million. If a developer's API key is extracted by reverse-engineering the app, an attacker could gain access to Gemini endpoints without additional authentication.

Reported impact

Data shared with Gemini-powered features, including files, images and contextual AI interactions, can become accessible if keys are compromised. Developers face financial and regulatory risks as attackers can misuse these keys to make unauthorised API calls. Affected apps included OYO Hotel Booking App, Google Pay for Business (50M+ installs), Taobao (50M+ installs), apna Job Search App (50M+ installs), and ELSA Speak: AI English Learning (10M+ installs).

Index analysis

The vulnerability stems from API keys initially designed to function as identifiers for services like Maps or Firebase that can inadvertently become active credentials after Gemini's Generative Language API is enabled. According to KushoAI research, 34% of API test failures have direct security implications, with 38% of security failures attributed to authentication and authorization issues.

Governance controls

CloudSEK urged developers to audit their API key usage, avoid embedding sensitive keys directly in app code, and apply strict access restrictions. The report noted that current security testing practices have no coverage of supply chain risks targeting AI API credentials.

Classification

Category
Security and cyberattacks
Industry
Digital security
Country
India
Harm status
Potential harm
Intent
Unintentional
Timing
Post-deployment
Harmed
Consumers, Business
Failure modes
Data leak
Consequences
None recorded
AI systems
Google Gemini Generative Language API

Sources and evidence

This record was researched and written by the Index, based on the following original reporting.

cloudsek.com
Hardcoded Google API Keys in Top Android Apps Now Expose Gemini AI | CloudSEK
7 April 2026
Digit
Gemini integration bug may put millions of Android users' data at risk: All you should know
9 April 2026
Gadgets 360
Google Bug Leaks Gemini AI Data in Google Pay, Oyo; Millions at Risk
9 April 2026
News9live
Google Gemini AI security flaw: 22 apps with 500M installs leak API access, says CloudSEK
9 April 2026