Insufficient data validation in Passwords (CVE-2026-12446)
A logic flaw in Chrome's Autofill popup management allows an attacker-controlled frame to become the delegate for a popup that is later updated with a victim frame's password suggestions. When the user selects a recovery suggestion, the attacker's frame receives the victim's cleartext backup password.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 34 days
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 without the Chrome Security team. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: A logic flaw in the Autofill popup management potentially allows an attacker-controlled frame to capture credentials from a cross-origin frame. By inducing a popup update while a malicious frame is the active delegate, sensitive cleartext data from recovery suggestions can be routed to the attacker's renderer.
Affected files:
components/password_manager/core/browser/password_autofill_manager.ccchrome/browser/ui/autofill/chrome_autofill_client.cccomponents/password_manager/core/browser/password_suggestion_generator.cccomponents/password_manager/content/browser/content_password_manager_driver.ccchrome/browser/ui/autofill/autofill_popup_controller_impl.cc
Estimated timestamp from git blame: 2025-07-03
Description
A potential logic vulnerability in ChromeAutofillClient and PasswordAutofillManager could allow for cross-origin credential disclosure. While PasswordAutofillManager (PAM) is instantiated per-frame, the UI controller for the Autofill popup is shared per-tab and managed by ChromeAutofillClient.
The issue resides in how existing popups are updated. When a frame's PasswordAutofillManager::OnAddPasswordFillData is triggered (e.g., during an iframe load), it checks if an autofill popup is already visible in the tab. If so, it updates the popup's suggestions via UpdatePopup, which calls ChromeAutofillClient::UpdateAutofillSuggestions.
In chrome/browser/ui/autofill/chrome_autofill_client.cc, UpdateAutofillSuggestions reuses the existing AutofillSuggestionController and its previously bound delegate without verifying that the caller matches the original owner of the popup. Consequently, if an attacker frame opens a password popup and a victim frame (e.g., in a cross-origin iframe) triggers an update, the victim's suggestions are displayed while the attacker's PAM remains the delegate.
Security Impact
Certain password suggestions used in the recovery flow (kBackupPasswordEntry and kTroubleSigningInEntry) carry cleartext credentials in their Suggestion::payload (specifically within PasswordSuggestionDetails).
When a user interacts with these injected victim suggestions (e.g., by selecting or accepting them), the callbacks are routed to the attacker's PasswordAutofillManager. The attacker's PAM extracts the cleartext credentials from the payload and forwards them to its own renderer process via PreviewSuggestion or FillSuggestion:
// components/password_manager/core/browser/password_autofill_manager.cc
if (suggestion.type == autofill::SuggestionType::kBackupPasswordEntry) {
const auto payload = suggestion.GetPayload<autofill::Suggestion::PasswordSuggestionDetails>();
password_manager_driver_->PreviewSuggestion(payload.username, payload.backup_password.value());
return;
}
This behavior bypasses Site-Isolation by allowing one renderer process to receive credentials intended for another.
Potential Reproduction Steps
- A user has saved credentials for
victim.comthat include a backup password (e.g., from a recent automated password change flow). - A malicious renderer for
attacker.comopens a password autofill popup on a field it controls. ThePAM_Attackeris now the active delegate. - The attacker frame loads
victim.comin a cross-origin iframe within the same tab. - As
victim.comloads, itsPAM_Victimreceives fill data, sees the existing popup, and callsUpdateAutofillSuggestionswith the victim's credentials. - The
ChromeAutofillClientupdates the popup but leavesPAM_Attackeras the delegate. - The user selects a recovery-related suggestion in the popup (still anchored to the attacker's field).
PAM_Attacker::DidSelectSuggestionis invoked, which extracts the victim's backup password from the suggestion payload and sends it to theattacker.comrenderer via Mojo.
Suggested Fix
ChromeAutofillClient::UpdateAutofillSuggestions should verify that the delegate requesting the update matches the delegate_ currently bound to the suggestion_controller_. If they do not match, the existing popup should be hidden or the update rejected.
Evaluated with Chrome root at commit: b3153093eb3c78c3e88ccf562bcbc20437a04b0e
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.
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 popup update function reuses the existing suggestion controller and its bound delegate without checking that the caller matches the original owner of the popup.
Impact
An attacker-controlled frame could receive cleartext credentials from a cross-origin frame, bypassing Site-Isolation, but only if the user selects a recovery-related suggestion.
What the attacker needed
Saved credentials with a backup password; attacker controls a frame in the same tab; victim frame loads in a cross-origin iframe; user selects a recovery suggestion
The fix
ChromeAutofillClient::UpdateAutofillSuggestions should verify that the delegate requesting the update matches the delegate currently bound to the suggestion controller, and if they do not match, hide the existing popup or reject the update.
How it was found
- A user has saved credentials for victim.com that include a backup password.
- A malicious renderer for attacker.com opens a password autofill popup on a field it controls.
- The attacker frame loads victim.com in a cross-origin iframe within the same tab.
- As victim.com loads, its password manager receives fill data, sees the existing popup, and calls UpdateAutofillSuggestions with the victim's credentials.
- The ChromeAutofillClient updates the popup but leaves the attacker's password manager as the delegate.
- The user selects a recovery-related suggestion in the popup, and the attacker's password manager extracts the victim's backup password and sends it to the attacker.com 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.
Chrome's password manager shows suggestions in a popup. The popup is shared across the whole tab, but each frame has its own password manager object. A bug lets one frame's password manager stay in charge of the popup even after another frame updates it with its own suggestions. If the user picks a recovery suggestion, the wrong frame gets the password.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.