Skip to content
Race condition Advisory Advanced CVE-2026-11032

Insufficient data validation in Password Manager (CVE-2026-11032)

A race condition in the password manager's HTTP authentication handling allows credentials saved for one site to be delivered to a different site's login dialog when biometric re-authentication is enabled. An attacker could exploit this to exfiltrate saved HTTP Basic or Digest credentials by triggering concurrent authentication challenges.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 2 months

Project Fortify, an experimental security project, has identified the following potential security issue.

Overview: A vulnerability in HttpAuthManagerImpl allows a cross-origin credential leak when biometric re-authentication is enabled. If a second authentication challenge occurs while a biometric prompt is pending, the first site's credentials can be delivered to the second site's login dialog. An attacker can use this to exfiltrate saved HTTP Basic or Digest credentials.

Affected files:

  • components/password_manager/core/browser/http_auth_manager_impl.cc
  • chrome/browser/ui/views/login_view.cc
  • chrome/browser/password_manager/chrome_password_manager_client.cc

Estimated timestamp from git blame: 2024-05-22

Summary

A potential vulnerability exists in HttpAuthManagerImpl that can lead to the disclosure of HTTP Basic/Digest credentials across origins when the kBiometricAuthenticationBeforeFilling preference is enabled. HttpAuthManagerImpl is a per-WebContents singleton that manages HTTP authentication challenges within a tab. When a biometric re-authentication prompt is pending for one site, a second concurrent challenge from a different site can overwrite the active observer without cancelling the pending authentication. Upon successful biometric validation, the original site's credentials are delivered to the second site's login dialog.

Technical Analysis

When an HTTP authentication challenge occurs and biometric re-authentication is required, HttpAuthManagerImpl::Autofill binds the site's saved credentials into an asynchronous callback, OnReauthCompleted. The authenticator is then armed to show the biometric prompt.

In components/password_manager/core/browser/http_auth_manager_impl.cc, the SetObserverAndDeliverCredentials method handles the registration of a LoginView as an observer for the authentication process:

C++
void HttpAuthManagerImpl::SetObserverAndDeliverCredentials(
    HttpAuthObserver* observer,
    const PasswordForm& observed_form) {
  // ...
  if (observer_) {
    observer_->OnLoginModelDestroying();
  }
  observer_ = observer;
  // ...
}

If a second HTTP-auth challenge arrives from a different origin while the biometric prompt for the first site is still active, SetObserverAndDeliverCredentials() is called again. It replaces the existing observer_ (the first site's LoginView) with the new site's LoginView. However, it fails to call authenticator_->Cancel() to invalidate the pending biometric request.

If the second origin has no saved credentials, the code path that would normally call Autofill() (which includes an authenticator_->Cancel() call) is skipped. Consequently, the original authenticator_ remains active, and its success callback is still bound by value to the first site's credentials.

When the user completes the biometric authentication, OnReauthCompleted() is executed:

C++
void HttpAuthManagerImpl::OnReauthCompleted(
    const std::u16string& username,
    const std::u16string& password,
    base::OnceClosure on_filling_complete,
    bool auth_result) {
  if (observer_ && auth_result) {
    observer_->OnAutofillDataAvailable(username, password);
    std::move(on_filling_complete).Run();
  }
}

Because observer_ now points to the second site's LoginView, OnAutofillDataAvailable is called on the attacker-controlled dialog with the victim's credentials from the first site. If the user clicks "Sign In" on this pre-filled dialog, the credentials are sent to the attacker's server in the Authorization header.

Potential Steps to Reproduce

Note: These are potential steps as our tooling agent doesn't yet have the ability to run code to confirm them end-to-end.

  1. Enable "Use Windows Hello / Touch ID when filling passwords" in chrome://settings/passwords (or the equivalent setting on Android/Mac).
  2. Ensure HTTP Basic credentials are saved for a target site (e.g., https://victim-bank.com).
  3. The attacker site (https://evil.com) must have no saved credentials in the manager.
  4. The victim visits evil.com.
  5. evil.com triggers a cross-origin fetch() request to victim-bank.com that returns a 401 challenge. This prompts the biometric re-auth sheet.
  6. While the biometric prompt is active, evil.com triggers a second fetch() request to its own origin (evil.com) that returns a 401 challenge. This overwrites the observer in HttpAuthManagerImpl.
  7. The user completes the biometric authentication.
  8. evil.com aborts the first fetch() request, dismissing the first dialog (or the user cancels it).
  9. The attacker's evil.com login dialog will appear, pre-filled with the credentials for victim-bank.com.
  10. If the user clicks "Sign In", the victim's credentials are sent to evil.com.

Suggested Fix

In HttpAuthManagerImpl::SetObserverAndDeliverCredentials, if authenticator_ is active when the observer is being changed, it must be explicitly cancelled.

C++
void HttpAuthManagerImpl::SetObserverAndDeliverCredentials(
    HttpAuthObserver* observer,
    const PasswordForm& observed_form) {
  // ...
  if (observer_) {
    observer_->OnLoginModelDestroying();
  }
  if (authenticator_) {
    authenticator_->Cancel();
  }
  observer_ = observer;
  // ...
}

Alternatively, OnReauthCompleted could verify that the form_manager_'s URL or the observer_ matches the origin of the credentials it is about to deliver.

Evaluated with Chrome root at commit: 876d480da1f794d87813cfa2e6ff4fcf9771e939


Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; 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 code replaces the observer for a pending biometric authentication without cancelling the existing authenticator, so the success callback still delivers the first site's credentials to the new observer.

Impact

An attacker could exfiltrate saved HTTP Basic or Digest credentials for a target site if the user completes biometric authentication and then clicks 'Sign In' on the attacker's pre-filled dialog.

What the attacker needed

Biometric re-authentication enabled; Saved HTTP Basic/Digest credentials for target; Attacker site has no saved credentials; Victim visits attacker site

The fix

The code should explicitly cancel any active authenticator when the observer is changed, or verify that the observer matches the origin of the credentials before delivering them.

How it was found

  1. Enable biometric re-authentication for password filling in the browser settings.
  2. Ensure HTTP Basic credentials are saved for a target site.
  3. The attacker site must have no saved credentials.
  4. The victim visits the attacker site, which triggers a cross-origin request to the target site that returns a 401 challenge, prompting biometric re-auth.
  5. While the biometric prompt is active, the attacker site triggers a second request to its own origin that returns a 401 challenge, overwriting the observer.
  6. The user completes biometric authentication, and the attacker's login dialog appears pre-filled with the target site's credentials.

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 save a password for a website, the browser sometimes asks for your fingerprint or face to confirm before filling it in. This report describes a bug where, if two websites ask for a password at the same time, the confirmation you give for one site could end up filling your password into the other site's login box. That means a malicious website could trick you into sending your saved password for a different site to the attacker.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.