Skip to content
Access control Advisory Advanced CVE-2026-106205

Missing authorization in Passwords (CVE-2026-106205)

A logic flaw in Chrome's Android Credential Manager and Touch-to-Fill integration means a late-arriving passkey notification can overwrite the shared filler object while another frame's credential sheet is already visible. A compromised cross-origin iframe could then receive the victim's plaintext credentials when the user picks one from the sheet.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 4 months

Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A potential vulnerability in Chromium's Android Credential Manager / Touch-to-Fill integration allows a compromised cross-origin iframe to hijack credential filling when a victim's credential sheet is displayed. Due to a missing visibility gate re-check in ContinueShowKeyboardReplacingSurface, late-arriving passkey notifications can overwrite the per-WebContents filler_ object. This can lead to the victim's plaintext credentials being filled and exfiltrated to the attacker's renderer.

Affected files:

  • chrome/browser/password_manager/chrome_password_manager_client.cc
  • chrome/browser/password_manager/android/cred_man_controller.cc
  • chrome/browser/touch_to_fill/password_manager/touch_to_fill_controller.cc

Estimated timestamp from git blame: 2025-06-05

Potential Vulnerability: Cross-Origin Credential Theft via Missing Visibility Gate Recheck on Android

A logic flaw in Chrome’s Android Credential Manager (CredMan) / Touch-to-Fill (TTF) integration allows a compromised cross-origin iframe (Frame A) to hijack credential filling initiated by another honest cross-origin frame (Frame V) within the same WebContents. This enables the attacker's renderer to read the victim's plaintext credentials.


Root Cause Analysis

In chrome/browser/password_manager/chrome_password_manager_client.cc, the synchronous entry point ShowKeyboardReplacingSurface guards re-entry with a per-WebContents visibility check:

C++
if (keyboard_replacing_surface_visibility_controller_ &&
    !keyboard_replacing_surface_visibility_controller_->CanBeShown()) {
  ...
  return;
}

However, the deferred entry point ContinueShowKeyboardReplacingSurface — reachable via wait_for_passkeys_timer_ and WebAuthnCredManDelegate::credentials_available_closure_ — does not re-evaluate this visibility gate.

When a frame request is delayed (transitioning from kNotReady to kHasPasskeys), the CredManController::Show method is called. If the victim's sheet is currently visible, calling visibility_controller_->SetVisible(A_driver) safely returns early without updating the active visible driver. However, the controller unconditionally overwrites the per-WebContents filler_ member with the attacker's filler:

C++
// chrome/browser/password_manager/android/cred_man_controller.cc
visibility_controller_->SetVisible(std::move(frame_driver)); // Returns early if already visible (retains Victim driver)
filler_ = std::move(filler); // Overwrites with Attacker's filler!

When the user selects a credential from the visible sheet, the victim's delegate still invokes the shared CredManController::TriggerFilling callback. Because the shared filler_ was overwritten by the late-arriving frame, the plaintext username and password are routed through the attacker's filler, delivering them directly to the attacker's renderer via Mojo (mojom::PasswordAutofillAgent::FillPasswordSuggestion).


Potential Steps to Trigger the Vulnerability

(Note: These are suggested/potential steps based on C++ source review; our tooling does not yet have the capability to execute this code live or verify device-specific Credential Manager queuing dynamics.)

  1. Preconditions: The user is running Android U+ with CredManMode set to kAllCredMan. The attacker's domain (attacker.com) has a pre-existing registered passkey. The experiment kShowSuggestionsOnAutofocus is active (enabled in current Android Finch field trials).
  2. Environment Setup: An attacker-controlled top-level page embeds two cross-origin frames: Frame A (attacker.com, compromised renderer) and Frame V (victim.com, honest). Frame A is granted the publickey-credentials-get policy.
  3. Trigger Delayed Flow: Frame A initiates a conditional WebAuthn request and issues an autofill suggestion request with trigger_source == kPasswordManagerProcessedFocusedField. This starts Chrome's 4-second wait_for_passkeys_timer_ bound to Frame A's continuation closure.
  4. Initiate Victim Sheet: Frame V finishes page load and its autofocus autofill request is processed. Since the visibility gate is still kCanBeShown, the gate is bypassed. The autofocus trigger branch skips stopping the active timer. The legimate credential sheet for victim.com is rendered, and the shared filler_ is set to V's filler.
  5. Overwrite the Active Filler: Within the 4-second window, Frame A's passkey enumeration finishes. delegate_A triggers its credentials-ready notification, stopping the timer and calling ContinueShowKeyboardReplacingSurface for Frame A. Since the visibility gate is not re-checked, it calls CredManController::Show, which unconditionally overwrites the shared filler_ with A's filler.
  6. Credential Exfiltration: The user selects a credential on V's sheet. The filling callback is invoked, which routes the credentials to the overwritten filler_ (Frame A). The plaintext credentials are then transmitted via Mojo to Frame A's compromised renderer.

Suggested Remediation

Add a robust visibility/origin check in ContinueShowKeyboardReplacingSurface before delegating to CredManController or initiating Touch-To-Fill.

Alternatively, inside CredManController::Show, do not overwrite the shared filler_ and callbacks if visibility_controller_->SetVisible(...) fails to activate visibility for the requesting driver. Ensure that filler_ operations are scoped strictly to the currently visible frame driver. For example:

C++
if (visibility_controller_->IsVisible() && visibility_controller_->GetVisibleDriver() != frame_driver) {
  return false; // Prevent passive hijacking
}

Evaluated with Chrome root at commit: 87214e6721f6c34afd9181b80769a24c0c601c50


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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

How it worked

Root cause

Likely the deferred entry point ContinueShowKeyboardReplacingSurface does not re-check the visibility gate, and CredManController::Show overwrites the shared per-WebContents filler_ even when SetVisible returns early because another frame's sheet is already showing.

Impact

A compromised cross-origin iframe could receive the victim's plaintext credentials, though the report notes the steps are based on source review and were not executed or verified on a device.

What the attacker needed

Android U or later; CredManMode set to kAllCredMan; attacker domain has a registered passkey; attacker page embeds two cross-origin frames

The fix

The report suggests re-checking visibility and origin in ContinueShowKeyboardReplacingSurface, or refusing to overwrite the shared filler when SetVisible does not activate the requesting driver.

How it was found

  1. Set up an attacker top-level page with two cross-origin frames, the attacker frame allowed to request public-key credentials.
  2. The attacker frame starts a conditional WebAuthn request and an autofill suggestion request, starting the passkey wait timer.
  3. The victim frame loads and its autofocus autofill request shows the victim's credential sheet, setting the shared filler to the victim's.
  4. Within the timer window the attacker frame's passkey enumeration completes and its continuation overwrites the shared filler with the attacker's.
  5. The user picks a credential on the victim's sheet and the plaintext credentials are routed to the attacker's renderer.

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 report has not been written yet. The Original tab links to the source.

When you tap a saved password on Android, Chrome shows a sheet and then sends the chosen password to the page that asked for it. Here, two different pages inside the same tab can both ask, and a second request arriving late replaces the record of which page should get the password. So the password can be handed to the wrong page, one the attacker controls.

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.

More from Google Chrome

View all

The newest disclosed reports for this program.

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.