Insufficient policy enforcement in Passwords (CVE-2026-17829)
Chrome's password manager could fill a backup password from a grouped-affiliation site into another site without showing the required cross-domain confirmation popup. An attacker who controls a grouped site could obtain a user's backup password for a different grouped site if the user selects the misleading suggestion.
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. 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 security issue in Chrome's password manager could allow a grouped-affiliation site to receive the backup password of another grouped site without displaying the required cross-domain confirmation popup. This occurs because the proactive password recovery state is keyed solely on username, enabling different credentials sharing the same username to inherit the recovery state. When the backup suggestion is accepted, the filling path fails to consult the cross-domain consent gate.
Affected files:
components/password_manager/core/browser/password_suggestion_generator.cccomponents/password_manager/core/browser/password_autofill_manager.cccomponents/password_manager/core/browser/undo_password_change_controller.cc
Estimated timestamp from git blame: 2025-07-03
Root Cause
There is a potential security boundary bypass in Chrome's password manager regarding backup passwords for grouped-affiliation sites. While standard credential filling for grouped-affiliation domains requires an explicit cross-domain consent dialog, backup passwords (kBackupPasswordEntry) can bypass this protection.
First, in components/password_manager/core/browser/undo_password_change_controller.cc, IsFormEligibleForProactiveRecovery only blocks the credential that enters the recovery state if it is a grouped match:
bool IsFormEligibleForProactiveRecovery(
const StoredCredential* form_best_match, ...) {
...
if (password_manager_util::GetMatchType(*form_best_match) ==
password_manager_util::GetLoginMatchType::kGrouped) {
return false; // Only gates the ENTERING credential
}
...
}
If a user has both an exact-match credential and a grouped-affiliation credential with the same username, the exact match is used as the form_best_match. The eligibility check passes, and the recovery state transitions to kShowProactiveRecovery (and eventually kIncludeBackup upon dismissal). This state is keyed solely on the username via UndoPasswordChangeController::GetState(username).
Second, in components/password_manager/core/browser/password_suggestion_generator.cc, suggestions are generated for all matched credentials. If a grouped-match credential shares the username, it inherits the recovery state:
bool show_recovery_password =
undo_password_change_controller.GetState(credential.username_value) ==
PasswordRecoveryState::kIncludeBackup;
if (credential.backup_password_value && show_recovery_password) {
AppendBackupSuggestion(credential, suggestions);
}
AppendBackupSuggestion builds a suggestion of type SuggestionType::kBackupPasswordEntry but does not populate cross-domain details or realm tags in the payload.
Third, in components/password_manager/core/browser/password_autofill_manager.cc, the acceptance path for kBackupPasswordEntry lacks any cross-domain confirmation gate (unlike standard credentials which check is_grouped_affiliation and route through ShowCrossDomainConfirmationPopup):
case autofill::SuggestionType::kBackupPasswordEntry: {
...
auto payload =
suggestion
.GetPayload<autofill::Suggestion::PasswordSuggestionDetails>();
OnPasswordCredentialSuggestionAccepted(
base::BindOnce(&PasswordAutofillManager::FillBackupSuggestion,
weak_ptr_factory_.GetWeakPtr(), payload));
break;
}
As a result, selecting the grouped backup suggestion immediately fills the backup password into the current page without user warning.
Potential Attack Flow / Suggested Trigger Steps
Note: These are potential steps to trigger the behavior based on code review; our tooling agent does not currently have the capability to execute code.
- Ensure the
PasswordFormGroupedAffiliationsfeature is active. - In Chrome's password store, save
[email protected]with a password forhttps://current.example(exact match) and[email protected]with a different password containing a backup password forhttps://grouped.example(grouped match). - Navigate to
https://current.example, enter[email protected]and an incorrect password, and submit the form. - Dismiss the proactive-recovery popup when it appears (setting state to
kIncludeBackup). - Focus the password field to open autofill suggestions. Observe that two identical suggestions for recovery passwords appear with no realm details to distinguish them.
- Select the second suggestion. The backup password for
grouped.exampleis successfully filled intocurrent.examplewithout displaying a cross-domain confirmation popup.
Suggested Fix
Ensure that backup suggestions (kBackupPasswordEntry) respect cross-domain boundaries:
- In
components/password_manager/core/browser/password_suggestion_generator.cc, when callingAppendBackupSuggestion, explicitly populate theis_cross_domainandsignon_realmproperties ofPasswordSuggestionDetailsif the credential is a grouped or cross-origin match. - In
components/password_manager/core/browser/password_autofill_manager.cc, interceptautofill::SuggestionType::kBackupPasswordEntryand ensure it is routed throughShowCrossDomainConfirmationPopupif the payload represents a cross-domain or grouped-affiliated credential.
Evaluated with Chrome root at commit: 5133b93d189b383c37805b1cf3a9d2dbfe8d7379
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 proactive password recovery state is keyed only on the username, and the backup password suggestion acceptance path does not check cross-domain affiliation or route through the consent popup.
Impact
A grouped-affiliation site could receive the backup password of another grouped site without the required cross-domain confirmation popup, but the report notes the steps are potential and were not executed.
What the attacker needed
PasswordFormGroupedAffiliations feature active; Two saved credentials with same username; One exact-match and one grouped-affiliation credential; Grouped credential has a backup password
The fix
The backup suggestion should populate cross-domain details and be routed through the cross-domain confirmation popup when the credential is a grouped or cross-origin match.
How it was found
- Ensure the PasswordFormGroupedAffiliations feature is active.
- Save an exact-match credential and a grouped-affiliation credential with the same username, the latter containing a backup password.
- Navigate to the exact-match site, enter the username and an incorrect password, and submit the form.
- Dismiss the proactive-recovery popup to set the state to kIncludeBackup.
- Focus the password field to open autofill suggestions and observe two identical recovery suggestions with no realm details.
- Select the second suggestion; the backup password for the grouped site is filled into the current site without a cross-domain confirmation popup.
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 normally asks for confirmation before filling a password that belongs to a different website. This report found that a special 'backup password' suggestion skipped that confirmation, so a password from one site could be filled into another site without warning. The issue is based on code review and was not actually executed.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.