Side-channel information leakage in Autofill (CVE-2026-17851)
The AutofillAI preview path returns cleartext values for sensitive attributes when the target field is a select element, skipping the obfuscation applied to other field types. A compromised renderer could populate a select with candidate options and learn which one matches a secret such as a passport or national ID number, without the user passing biometric re-authentication.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 58 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: The AutofillAI preview path processes select elements without checking if the matched attribute requires obfuscation. A compromised renderer can leverage this by populating a drop-down with candidate options and observing which one is selected when a user hovers over an AutofillAI suggestion. This can potentially leak highly sensitive user attributes, such as passport or national ID numbers, bypassing biometric and device re-authentication.
Affected files:
components/autofill/core/browser/filling/autofill_ai/field_filling_entity_util.cccomponents/autofill/core/browser/filling/field_filling_util.cccomponents/autofill/core/browser/ui/autofill_external_delegate.cccomponents/autofill/core/browser/form_processing/autofill_ai/determine_attribute_types.cccomponents/autofill/core/common/autofill_data_validation.cc
Estimated timestamp from git blame: 2025-03-13
Description
There is a potential information disclosure vulnerability in the AutofillAI filling logic where sensitive attributes can be leaked to a compromised renderer process during form preview (hovering over suggestions).
Normally, when a user previews an AutofillAI suggestion (without clicking/accepting it), sensitive attributes like PASSPORT_NUMBER, DRIVERS_LICENSE_NUMBER, or NATIONAL_ID_CARD_NUMBER are obfuscated (e.g. replaced with masks like •••• ••••). This ensures a compromised renderer process cannot learn the cleartext credentials through the preview IPC mechanism, and must wait for the user to explicitly click/accept the suggestion (which triggers an OS-level biometric or PIN re-authentication challenge).
However, in components/autofill/core/browser/filling/autofill_ai/field_filling_entity_util.cc, the field.IsSelectElement() branch completely bypasses the obfuscation check:
if (field.IsSelectElement()) {
std::optional<SelectOption> select_control_option =
GetOptionForSelect(*attribute, field, app_locale, address_normalizer);
return FillingValueAndType(
select_control_option ? std::move(select_control_option->value) : u"",
select_control_option
? std::optional(std::move(select_control_option->text))
: std::nullopt,
field_type);
} else {
std::u16string fill_value = GetValueForInput(*attribute, field, app_locale);
const bool should_obfuscate =
action_persistence != mojom::ActionPersistence::kFill &&
attribute->type().is_obfuscated();
return FillingValueAndType(should_obfuscate ? GetObfuscatedValue(fill_value)
: std::move(fill_value),
field_type);
}
As seen above, the IsSelectElement() branch does not inspect action_persistence or attribute->type().is_obfuscated(). It invokes GetOptionForSelect() which uses case-insensitive equality matching to search for the cleartext secret among the renderer-supplied option list. If a match is found, the matched option is returned verbatim to the renderer via mojom::AutofillAgent::ApplyFieldsAction(kPreview) during suggestion selection.
Potential Attack Scenario
- A compromised renderer constructs a malicious form with
<select>fields that are crafted to trigger local/server heuristics classifying them asPASSPORT_NUMBER(or other obfuscated AutofillAI types). - The renderer populates these select elements with up to 512 candidate option values (the maximum allowed size per field).
- When the user hovers or arrow-keys over the AutofillAI suggestion, the browser process's
AutofillExternalDelegate::DidSelectSuggestion()triggersFillOrPreviewFormwithmojom::ActionPersistence::kPreview(no biometric authentication is requested at this point). - The browser process performs the matching logic and returns the matched option to the renderer in the preview IPC (
ApplyFieldsAction(kPreview)). - The compromised renderer reads the filled option value from the preview IPC, learning which candidate matched the secret, effectively forming an equality oracle.
Note: Since our security evaluation tools do not have the capability to execute code dynamically, these steps are based on static code tracing and represent a potential exploit path.
Proposed Fix
Modify GetFillingValueAndTypeForEntity() to ensure that when action_persistence != mojom::ActionPersistence::kFill and the target attribute type is_obfuscated() is true, the select element branch is either disabled or correctly masked (e.g., returning an empty match or rejecting filling of sensitive obfuscated types into select elements during preview).
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.
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 select-element branch of the filling helper returns the matched option verbatim without checking the action persistence or whether the attribute type is marked as obfuscated.
Impact
A compromised renderer could learn sensitive attributes such as passport or national ID numbers without the user completing biometric or device re-authentication; the report notes the steps come from static code tracing only and were not executed.
What the attacker needed
Compromised renderer process; victim hovers or arrow-keys a suggestion; sensitive attribute stored for autofill
The fix
The select branch should be disabled or masked when the action is a preview and the attribute type is obfuscated, for example by returning no match or refusing to fill sensitive obfuscated types into selects during preview.
How it was found
- A compromised renderer builds a form with select fields crafted to be classified as an obfuscated AutofillAI type such as passport number.
- The renderer fills those selects with up to 512 candidate option values.
- The user hovers or arrow-keys over the AutofillAI suggestion, triggering a preview fill without biometric authentication.
- The browser matches the secret against the options and returns the matched option in the preview IPC.
- The renderer reads the returned option and learns which candidate matched the secret.
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 hover over an autofill suggestion, the browser shows a preview of what would be filled in. For very sensitive details like passport numbers, that preview is normally masked with dots so a malicious page cannot read the real value. Here, one kind of form field (a drop-down list) skipped the masking, so a page could offer many guesses and see which one the browser picked, revealing the secret one guess at a time.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.