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

Insufficient policy enforcement in Password Manager (CVE-2026-11011)

A missing security policy check in Chrome's Password Manager allows a compromised sandboxed iframe renderer to request and receive plaintext saved credentials for the iframe's precursor origin. The browser incorrectly treats the request as same-origin because it compares the main frame's origin with the iframe's precursor URL rather than its opaque origin.

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: A missing ChildProcessSecurityPolicy check in ContentPasswordManagerDriver::PasswordFormsParsed allows a compromised sandboxed iframe process to request password autofill data. Because the browser compares the main frame's origin with the iframe's precursor URL instead of its opaque origin, it treats the request as same-origin, sending plaintext credentials back to the isolated sandboxed renderer.

Affected files:

  • components/password_manager/content/browser/content_password_manager_driver.cc
  • components/password_manager/content/browser/bad_message.cc
  • components/password_manager/core/browser/password_form_filling.cc
  • components/autofill/core/common/password_form_fill_data.cc
  • chrome/browser/password_manager/chrome_password_manager_client.cc
  • components/password_manager/content/browser/form_meta_data.cc

Estimated timestamp from git blame: 2024-06-25

Overview

Note: This is a potential vulnerability identified by an AI agent (Flapjack). The steps below are theoretical and have not been verified with a working proof-of-concept exploit, as the agent does not currently have code execution capabilities.

Chrome's IsolateSandboxedIframes feature places sandboxed iframes into dedicated, isolated renderer processes. The ChildProcessSecurityPolicy (CPSP) correctly denies these opaque-origin processes access to sensitive data, such as passwords, belonging to their precursor origin.

However, a logic flaw in the Password Manager's Mojo message handling allows a compromised sandboxed renderer to bypass this isolation and exfiltrate the precursor origin's saved credentials.

There are two main factors contributing to this vulnerability:

  1. Missing CPSP Check: When the browser receives a PasswordFormsParsed Mojo message, ContentPasswordManagerDriver::PasswordFormsParsed validates the request using HasValidURL(). This function only calls bad_message::CheckForIllegalURL, which merely rejects about: and data: schemes. It crucially fails to call bad_message::CheckChildProcessSecurityPolicyForURL, meaning the browser never verifies if the requesting process is actually authorized to access data for the given URL.
  2. Cross-Origin Bypass: When deciding whether to autofill credentials immediately or wait for user interaction (wait_for_username), SendFillInformationToRenderer compares the primary main frame's origin against the form's signon_realm. For a sandboxed iframe, the signon_realm is derived from its precursor URL. If the main frame and the sandboxed iframe share the same precursor origin (e.g., https://victim.com), IsSameOrigin() evaluates to true. The browser incorrectly assumes the form is same-origin, bypasses the cross-origin wait requirement, and sends plaintext passwords to the renderer.

Potential Steps to Trigger

  1. A victim user saves their username and password for https://victim.com in Chrome.
  2. The victim visits https://victim.com, which embeds a sandboxed iframe: <iframe sandbox="allow-scripts" src="/sandboxed.html"></iframe>.
  3. The sandboxed iframe is placed in an isolated renderer process with an opaque origin.
  4. An attacker exploits a separate vulnerability (e.g., a V8 bug) to achieve Remote Code Execution (RCE) within the sandboxed iframe's renderer process.
  5. The attacker's code bypasses renderer-side checks (like FrameCanAccessPasswordManager) and crafts a fake autofill::FormData object mimicking a login form with a URL of https://victim.com/sandboxed.html.
  6. The compromised renderer sends a PasswordFormsParsed Mojo message to the browser process containing the fake form.
  7. ContentPasswordManagerDriver::PasswordFormsParsed validates the URL but misses the CPSP check, allowing the request to proceed.
  8. The browser fetches the saved credentials for https://victim.com from the Password Store.
  9. In SendFillInformationToRenderer, the browser compares the main frame's origin (https://victim.com) to the form's signon_realm (https://victim.com/). Since they match, wait_for_username evaluates to false.
  10. autofill::MaybeClearPasswordValues leaves the plaintext credentials intact because wait_for_username is false.
  11. The browser sends the plaintext username and password back to the compromised sandboxed renderer process via ApplyFillDataOnParsingCompletion, successfully exfiltrating the credentials.

Suggested Fix

  1. Enforce CPSP in HasValidURL: In components/password_manager/content/browser/content_password_manager_driver.cc, update HasValidURL to call password_manager::bad_message::CheckChildProcessSecurityPolicyForURL instead of CheckForIllegalURL. This will immediately terminate the compromised renderer if an opaque/sandboxed process attempts to access password data.

  2. Strengthen Origin Checks in password_form_filling.cc: When calculating wait_for_username_reason in PasswordFormFilling::SendFillInformationToRenderer, ensure that the origin comparison takes opaque origins into account. Comparing against the precursor URL's signon_realm is insufficient if the frame is sandboxed.

Evaluated with Chrome root at commit: False


Results from Fortify so far have been promising, but it can be wrong in its deductions. At this time, it does not produce proof of concepts or fuzzer tests. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve Fortify’s 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 browser's password manager message handler fails to verify that the requesting process is authorised for the form's URL, and its origin comparison uses the sandboxed iframe's precursor URL instead of its opaque origin.

Impact

A compromised sandboxed renderer could exfiltrate plaintext saved credentials for the precursor origin, but the report notes the steps are theoretical and have not been verified with a working proof-of-concept.

What the attacker needed

Victim has saved credentials; victim visits a site with a sandboxed iframe; attacker exploits a separate bug for code execution

The fix

The report suggests enforcing the child process security policy check in the URL validation and strengthening origin checks to account for opaque origins; it does not state that a fix was applied.

How it was found

  1. Victim saves credentials for a site in Chrome.
  2. Victim visits the site, which embeds a sandboxed iframe.
  3. The sandboxed iframe runs in an isolated renderer with an opaque origin.
  4. Attacker exploits a separate vulnerability to run code in that renderer.
  5. The compromised renderer sends a fake password form message to the browser.
  6. The browser returns plaintext credentials to the compromised renderer.

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 tries to keep sandboxed iframes (web page parts with restricted permissions) in separate processes so they cannot access sensitive data like saved passwords. This report says a missing check lets a hacked sandboxed iframe ask for and receive the passwords saved for the main website, because the browser mistakenly thinks the iframe belongs to the same site. The attacker would first need to exploit another bug to run code inside that sandboxed process.

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.