Skip to content
Access control Write-up Intermediate

Is the Android Lock Screen an Illusion? A Critical Logical Bypass Discovered in the Gemini App

The Gemini app on Android allowed a multi-touch interaction to bypass the lock screen, exposing chat histories, settings, and other Google services. An attacker with physical access could read, delete, or rename chats, create Gmail and Docs drafts, and access NotebookLM notebooks without authentication.

infosecwriteups.com

Published on infosecwriteups.com

How can Android’s foundational security layer, the Keyguard, falter when confronted with the complexity of a modern AI interface? The answer is simple: as systems grow more complex, the impact of overlooked edge cases amplifies.

Mustafa Salih Berk, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the app did not properly validate concurrent touch interactions, so holding one allowed area while tapping a restricted one let the restricted action proceed without lock screen authentication.

Impact

An attacker with physical access could read, delete, or rename chats, access settings and profile data, create Gmail and Docs drafts, access NotebookLM notebooks, and trigger Gemini agents without authentication; the text does not mention any defence that limited the exploit.

What the attacker needed

Physical access to an unlocked device; Gemini app installed

The fix

The vulnerability was fixed by removing the specific mode buttons from the locked interface and later deploying a comprehensive patch for the underlying logic flaw.

How it was found

  1. From the lock screen, invoke a Gemini mode such as Lyria or Deep Research that forces a full-screen state.
  2. When prompted for credentials, hold one finger on a permitted area like a text input field.
  3. While holding, tap a restricted target element with another finger to bypass the lock screen.
  4. Access app settings, chat histories, and other services like NotebookLM and Gmail drafts.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

The lock screen is meant to stop anyone who picks up your phone from using apps. In the Gemini app, holding one finger on a text box while tapping another button with a second finger confused the app into skipping the lock screen check. This let someone with your phone open chats and other Google services without knowing your PIN or password.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.