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

Insufficient validation of untrusted input in Passwords (CVE-2026-11689)

The PasswordGenerationDriver Mojo interface in ChromePasswordManagerClient lacks validation that the calling renderer has permission to access password data for the target URL. A compromised sandboxed iframe process could potentially presave an attacker-controlled password under the precursor origin, bypassing Site Isolation limits.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 12 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 PasswordGenerationDriver Mojo interface in ChromePasswordManagerClient does not validate that the calling renderer has the privilege to access or modify password data for the target URL. If a sandboxed iframe process is compromised, it can potentially exploit this missing validation to trigger password generation or presaving under its precursor origin, bypassing Site Isolation limits on sandboxed frames. This can be resolved by adding ChildProcessSecurityPolicy checks during message handling.

Affected files:

  • chrome/browser/password_manager/chrome_password_manager_client.cc

Estimated timestamp from git blame: 2021-08-11

Root Cause Analysis

In chrome/browser/password_manager/chrome_password_manager_client.cc, the browser binds and handles the autofill::mojom::PasswordGenerationDriver interface. While binding includes a check for credentialless frames:

C++
void ChromePasswordManagerClient::BindPasswordGenerationDriver(
    mojo::PendingAssociatedReceiver<autofill::mojom::PasswordGenerationDriver> receiver,
    content::RenderFrameHost* rfh) {
  if (rfh->IsCredentialless()) {
    return;
  }
  ...
}

there are no security checks against sandboxed processes (e.g., processes running with ProcessLock.is_sandboxed() == true under the kIsolateSandboxedIframes feature) during interface binding or message execution.

Specifically, the message handlers PresaveGeneratedPassword and PasswordNoLongerGenerated in ChromePasswordManagerClient process renderer-supplied forms without verifying process capabilities via ChildProcessSecurityPolicy (CPSP):

C++
void ChromePasswordManagerClient::PresaveGeneratedPassword(
    const autofill::FormData& form_data,
    const std::u16string& password_value) {
  content::RenderFrameHost* rfh =
      password_generation_driver_receivers_.GetCurrentTargetFrame();
  if (!password_manager::bad_message::CheckFrameNotPrerendering(rfh)) {
    return;
  }
  ...
  password_manager_.OnPresaveGeneratedPassword(
      driver,
      password_manager::GetFormWithFrameAndFormMetaData(
          password_generation_driver_receivers_.GetCurrentTargetFrame(),
          form_data),
      password_value);
}

In contrast, the sibling ContentPasswordManagerDriver interface performs validation using HasValidURL(), which delegates to bad_message::CheckChildProcessSecurityPolicyForURL() and kills the renderer process if it lacks the capability to access data for the target origin:

C++
bool HasValidURL(content::RenderFrameHost* render_frame_host) {
  GURL url = GetURLFromRenderFrameHost(render_frame_host);
  if (!url.is_valid())
    return false;

  return password_manager::bad_message::CheckChildProcessSecurityPolicyForURL(
      render_frame_host, url,
      password_manager::BadMessageReason::CPMD_BAD_ORIGIN_FORM_SUBMITTED);
}

For sandboxed frames, ChildProcessSecurityPolicyImpl::IsAccessAllowedForSandboxedProcess restricts data access checks under AccessType::kCanAccessDataForCommittedOrigin by returning false. However, the lack of CPSP checks in the password generation pipeline allows Mojo messages to bypass this enforcement.


Potential Attack Scenario

An attacker with control of a compromised sandboxed iframe process (where IsolateSandboxedIframes is enabled) could theoretically execute the following sequence of steps:

  1. The compromised process binds to the un-gated mojom::AutofillDriver interface and sends FormsSeen containing a fake form structure.
  2. The browser-side AutofillDriver processes the form, retrieves the trusted precursor URL (https://victim.com), and updates its form cache.
  3. The browser triggers server predictions, resulting in a call to PasswordManager::ProcessAutofillPredictions, which creates a PasswordFormManager tracking the form for the sandboxed frame's driver.
  4. The compromised process binds to mojom::PasswordGenerationDriver and sends a PresaveGeneratedPassword message containing matching form data and an attacker-controlled password.
  5. Due to the missing CPSP validation in PresaveGeneratedPassword, the browser matches the existing PasswordFormManager and proceeds to save/presave the attacker's chosen credential in the PasswordStore under the precursor origin (https://victim.com).

Note: These are potential steps. Our security review tooling does not have the capability to run code or construct a working live exploit.


Suggested Fix

Update ChromePasswordManagerClient::PresaveGeneratedPassword and ChromePasswordManagerClient::PasswordNoLongerGenerated to validate the frame's access capability against the target URL/origin using ChildProcessSecurityPolicy before forwarding to the password manager logic, terminating the renderer process via appropriate bad message reasons if the validation fails. For example:

C++
GURL url = password_manager::GetURLFromRenderFrameHost(rfh);
if (!password_manager::bad_message::CheckChildProcessSecurityPolicyForURL(
        rfh, url,
        password_manager::BadMessageReason::CPMD_BAD_ORIGIN_PRESAVE_GENERATED_PASSWORD)) {
  return;
}

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

Likely the message handlers PresaveGeneratedPassword and PasswordNoLongerGenerated do not perform ChildProcessSecurityPolicy checks to verify the renderer's capability for the target URL, unlike the sibling ContentPasswordManagerDriver interface.

Impact

A compromised sandboxed iframe process could potentially presave an attacker-controlled password under the precursor origin, bypassing Site Isolation limits; the report notes that no working live exploit was constructed.

What the attacker needed

Compromised sandboxed iframe process; IsolateSandboxedIframes feature enabled

The fix

The handlers should validate the frame's access capability against the target URL using ChildProcessSecurityPolicy before forwarding to the password manager logic, terminating the renderer on failure.

How it was found

  1. The compromised process binds to the AutofillDriver interface and sends FormsSeen with a fake form structure.
  2. The browser processes the form, retrieves the trusted precursor URL, and updates its form cache.
  3. The browser triggers server predictions, creating a PasswordFormManager for the sandboxed frame's driver.
  4. The compromised process binds to PasswordGenerationDriver and sends PresaveGeneratedPassword with matching form data and an attacker-controlled password.
  5. Due to missing validation, the browser matches the existing PasswordFormManager and saves the attacker's credential under the precursor origin.

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 separates web pages into isolated processes for safety. A sandboxed iframe is a locked-down process that should not be able to touch data belonging to other sites. This report says one internal messaging channel for password generation does not check whether the sender is allowed to act for the target website, so a compromised sandboxed frame might be able to save a fake password for that site.

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.