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

Insufficient validation of untrusted input in Password Manager (CVE-2026-11031)

The Password Manager sharing service does not validate that the origin and signon_realm fields in incoming invitations match, allowing a malicious sender to spoof the display domain while injecting a credential that will autofill on a different, sensitive domain. An attacker could set a harmless-looking origin for the UI and a high-value signon_realm for autofill, potentially logging the victim into the attacker's account.

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: The Password Manager sharing service does not validate that the origin and signon_realm fields in incoming invitations match. This potentially allows a malicious sender to spoof the display domain in the settings UI while injecting a credential that will autofill on a different, sensitive domain.

Affected files:

  • components/password_manager/core/browser/sharing/password_receiver_service_impl.cc
  • components/password_manager/core/browser/ui/credential_ui_entry.cc
  • components/password_manager/core/browser/password_store/psl_matching_helper.cc
  • components/password_manager/core/browser/password_form.h

Estimated timestamp from git blame: 2024-03-05

Description

A potential logic flaw exists in Chrome's Password Manager sharing feature. When a user receives a shared password invitation via Sync, PasswordReceiverServiceImpl::ProcessIncomingSharingInvitation converts the incoming protobuf into a PasswordForm object. The form.url and form.signon_realm fields are populated independently from attacker-controlled values in the invitation (origin and signon_realm respectively) without any cross-validation to ensure they represent the same or affiliated domains.

This discrepancy can be exploited in two ways:

  1. UI Spoofing: The Password Manager settings UI (chrome://password-manager/) constructs a CredentialUIEntry and determines the display name by calling GetShownOrigin(). For web credentials, this function relies on form.url. An attacker can set origin to a harmless-looking domain (e.g., familyphotos.example) to evade manual review by the victim.
  2. Targeted Autofill Injection: Chrome's autofill engine determines which stored credentials match the current page by evaluating the signon_realm in GetMatchResult(). An attacker can set signon_realm to a high-value target (e.g., https://accounts.google.com/).

If the victim doesn't already have a credential for the attacker's chosen username on the target signon_realm, the invitation is auto-approved and saved. Furthermore, the skip_zero_click flag defaults to false and is not modified, making the injected credential eligible for silent Auto-SignIn via the Credential Management API.

Potential Reproduction Steps

Note: Our tooling agent does not have the ability to run code or construct Sync protobufs, so these steps are theoretical based on code analysis.

  1. An attacker, who shares a Google Family group with the victim, crafts a malicious IncomingPasswordSharingInvitationSpecifics Sync payload.
  2. In client_only_unencrypted_data().password_group_data().element_data(), the attacker sets origin to https://innocuous.example/ and signon_realm to https://accounts.google.com/.
  3. The attacker sets the username to an account they control and provides a password.
  4. The invitation is sent to the victim via Sync.
  5. In components/password_manager/core/browser/sharing/password_receiver_service_impl.cc, IncomingSharingInvitationToPasswordForms populates form.url and form.signon_realm directly from the payload.
  6. IsValidSharedPasswordForm checks both strings for validity and length, but does not cross-validate them. It returns true.
  7. Since the victim has no existing credential for that username on accounts.google.com, the credential is auto-approved and saved to the local PasswordStore.
  8. In the Password Manager UI, the victim sees a new entry for innocuous.example.
  9. When the victim visits accounts.google.com, the malicious credential is offered for autofill (or automatically signed in if the API is used), potentially logging the victim into the attacker's account.

Suggested Fix

In IsValidSharedPasswordForm (or IncomingSharingInvitationToPasswordForms), add validation to ensure that form.url and form.signon_realm are consistent. For standard web credentials, the origin derived from form.url should match the origin of form.signon_realm, or they should be verified as affiliated domains.

Evaluated with Chrome root at commit: a9cbf6e8b275fe4147435aa905f3b7f5a656f5f0


Results from 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 populates form.url and form.signon_realm independently from attacker-controlled invitation fields without cross-validating that they represent the same or affiliated domains.

Impact

An attacker could spoof the display domain and inject a credential that autofills on a sensitive domain, potentially logging the victim into the attacker's account; the report notes the steps are theoretical and not executed.

What the attacker needed

Attacker shares a Google Family group with victim; victim has no existing credential for that username

The fix

The code should be fixed by adding validation to ensure that form.url and form.signon_realm are consistent or verified as affiliated domains.

How it was found

  1. An attacker crafts a malicious Sync payload for a password sharing invitation.
  2. The attacker sets the origin to a harmless domain and the signon_realm to a sensitive domain.
  3. The attacker sets a username they control and a password.
  4. The invitation is sent to the victim via Sync.
  5. The code populates form.url and form.signon_realm from the payload without cross-validation.
  6. The credential is auto-approved and saved, then offered for autofill on the sensitive domain.

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 receive a shared password, the app shows one website name but uses another to decide where to autofill. An attacker can make the app show a harmless site while the password is actually used on a sensitive site like Google. This could trick you into logging into the attacker's account.

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.