Skip to content
Info disclosure Advisory Advanced CVE-2026-106303

Observable discrepancy in Autofill AI (CVE-2026-106303)

The browser's autofill preview obfuscation for sensitive documents is length-preserving, so a compromised renderer can learn the exact character count of a stored passport or ID number. An attacker who already has code execution in the renderer could use that length to narrow down the secret.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 4 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: When a user hovers over an Autofill AI suggestion, the browser process generates a form preview. Under the default configuration, the legacy obfuscation mechanism is length-preserving, appending exactly one separator per character of the sensitive data. A compromised renderer process can intercept this preview value over Mojo IPC to deduce the exact length of sensitive documents like passports and driver's licenses without user consent.

Affected files:

  • components/autofill/core/browser/filling/field_filling_util.cc
  • components/autofill/core/browser/filling/autofill_ai/field_filling_entity_util.cc

Estimated timestamp from git blame: 2025-02-24

Root Cause

During a preview path (triggered via mojom::ActionPersistence::kPreview when a user hovers over an Autofill AI suggestion), the browser obfuscates sensitive input attributes (such as passport numbers, driver's licenses, and national IDs) before transferring the form values to the renderer. This obfuscation is performed by GetObfuscatedValue() in components/autofill/core/browser/filling/field_filling_util.cc:

C++
std::u16string GetObfuscatedValue(const std::u16string& value,
                                  size_t visible_suffix_length) {
  static constexpr char16_t kDot[] = u"\u2022\u2060\u2006\u2060";

  if (!base::FeatureList::IsEnabled(features::kAutofillAiWalletPrivatePasses)) {
    visible_suffix_length = std::min(visible_suffix_length, value.size());
    size_t obfuscation_length = value.size() - visible_suffix_length;

    std::u16string result;
    result.reserve(sizeof(kDot) * obfuscation_length + visible_suffix_length);

    for (size_t i = 0; i < obfuscation_length; ++i) {
      result.append(kDot);
    }
    ...
    return result;
  }
  ...
}

When GetFillingValueAndTypeForEntity() (in components/autofill/core/browser/filling/autofill_ai/field_filling_entity_util.cc) handles input fields during a preview, it invokes GetObfuscatedValue(fill_value) with the default visible_suffix_length = 0.

Since the feature flag kAutofillAiWalletPrivatePasses is disabled by default, the legacy block is executed. It appends exactly one 4-character separator dot (kDot) per original character of the secret, producing an obfuscated string whose length is directly proportional to the original secret size (4 * value.size()).

Potential Exploit Scenario & Trigger Path

Note: These are potential steps; our current tooling has not executed or run live exploit code to produce a working proof of concept.

  1. The user has stored credentials or document numbers via Autofill AI (e.g., Passport, Driver's License, or National ID).
  2. An attacker compromises the renderer process through an independent vulnerability (gaining arbitrary code execution within the sandbox).
  3. The compromised renderer serves or modifies a form with an input field classified under a sensitive entity type (such as PASSPORT_NUMBER).
  4. When the user focuses the field and hovers over the Autofill AI suggestion popup, the browser process generates a preview action via FormFiller::FillOrPreviewForm -> ContentAutofillDriver::ApplyFormAction().
  5. The browser computes the obfuscated preview string, which is exactly 4 * N characters long (where N is the sensitive document number's length).
  6. The browser transmits this value to the renderer via the Mojo IPC interface mojom::AutofillAgent::ApplyFieldsAction.
  7. The compromised renderer intercepts the Mojo message or inspects renderer memory to extract the exact length of the user's sensitive document number, prior to any explicit user consent or confirmation to fill.

Security Impact

This constitutes a browser-to-compromised-renderer information disclosure. Knowing the exact length of government-issued IDs allows an attacker to deduce user metadata (such as issuing state or country, which have predictable length variations) and significantly narrows down the cryptographic or brute-force search space of the credential.

Suggested Fix

To remediate this leak, either enable the constant-length masking feature kAutofillAiWalletPrivatePasses by default, or modify GetObfuscatedValue() to always perform constant-length obfuscation for preview actions regardless of the flag's status. For example, for fully obfuscated attributes, it should return a fixed number of dots (e.g., 8 dots) to avoid revealing the actual character count of the underlying secret.

Evaluated with Chrome root at commit: b1520ef4a76878853a31f0943b565e42060edec8


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.

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

The preview obfuscation function replaces each character of the secret with a fixed-size separator, so the obfuscated string's length is proportional to the secret's length instead of being constant.

Impact

A renderer that is already compromised could learn the exact length of a stored government ID, which may reveal metadata such as issuing country and narrow the search space for the secret; the report notes no live exploit was run.

What the attacker needed

Stored sensitive document in Autofill AI; attacker already has renderer code execution; victim hovers over the autofill suggestion

The fix

The report suggests enabling the constant-length masking feature by default or changing the obfuscation function to always return a fixed number of dots for previews.

How it was found

  1. The user stores a sensitive document number such as a passport or driver's licence in Autofill AI.
  2. The attacker compromises the renderer process through a separate vulnerability.
  3. The compromised renderer presents a form field classified as a sensitive entity type.
  4. The user focuses the field and hovers over the Autofill AI suggestion, triggering a preview.
  5. The browser builds the obfuscated preview string and sends it to the renderer over Mojo IPC.
  6. The compromised renderer measures the preview string to learn the exact length of 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 sends a masked preview of the value to the part of the browser that draws the page. The masking replaces each character with a fixed-size dot, so the masked text is longer for longer secrets. If an attacker already controls that page-drawing part, they can measure the masked text and learn how many characters your passport or ID number has.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.