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

Missing authorization in Passwords (CVE-2026-79212)

The security checks that guard Chromium's password manual fallback were only applied in the trusted context-menu path, so a compromised sandboxed iframe renderer could call the autofill IPC interface directly. That could cause the browser to fetch and fill a saved password belonging to the frame's precursor origin without the cross-domain consent prompt.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 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: A potential vulnerability in Chromium's password manual fallback mechanism allows a compromised sandboxed iframe renderer to bypass origin restrictions and access saved credentials of its precursor domain. The security checks introduced via the kPasswordManualFallbackSecurityChecks flag are only enforced on the trusted context-menu building path and can be completely bypassed by directly invoking the mojom::AutofillDriver::AskForValuesToFill IPC interface. This could lead to a cross-origin credential disclosure from a process-isolated sandboxed iframe.

Affected files:

  • components/password_manager/core/browser/password_autofill_manager.cc
  • components/password_manager/core/browser/password_manual_fallback_flow.cc
  • components/autofill/core/browser/foundations/browser_autofill_manager.cc
  • components/autofill/content/browser/content_autofill_driver.cc
  • chrome/browser/ui/autofill/autofill_context_menu_manager.cc

Estimated timestamp from git blame: 2024-04-08

Potential Root Cause

The security gate kPasswordManualFallbackSecurityChecks is designed to prevent manual fallback credential leakage inside untrusted environments. However, this gate is currently only enforced in exactly one trusted context-menu construction path:

chrome/browser/ui/autofill/autofill_context_menu_manager.cc:

C++
if (base::FeatureList::IsEnabled(
        password_manager::features::kPasswordManualFallbackSecurityChecks) &&
    (!password_manager_driver.HasValidURL(/*may_kill_renderer*/ false) ||
     !password_manager_driver.IsRenderFrameHostSupported())) {
  return false;
}

A compromised renderer process can completely bypass the context menu builder and directly invoke the underlying browser-side Mojo IPC sink, mojom::AutofillDriver::AskForValuesToFill.

When a compromised renderer directly calls AskForValuesToFill with the trigger source set to kManualFallbackPasswords, the browser process routes the call as follows:

  1. ContentAutofillDriver::AskForValuesToFill (components/autofill/content/browser/content_autofill_driver.cc) accepts the call and runs bad_message::CheckArgs which permits kManualFallbackPasswords and only blocklists unrelated trigger sources.
  2. The request is routed via RouteToManager to BrowserAutofillManager::OnAskForValuesToFillImpl (components/autofill/core/browser/foundations/browser_autofill_manager.cc).
  3. The manager identifies the password request and delegates it to the sandboxed frame's PasswordAutofillManager::ShowSuggestions (components/password_manager/core/browser/password_autofill_manager.cc).
  4. ShowSuggestions identifies the manual fallback trigger source and instantiates PasswordManualFallbackFlow (components/password_manager/core/browser/password_manual_fallback_flow.cc).
  5. The PasswordManualFallbackFlow constructor queries password_manager_driver_->GetLastCommittedURL() to obtain the realm for database lookup. For a sandboxed iframe with an opaque origin, this returns the HTTP/HTTPS precursor URL (e.g., https://victim.example/).
  6. FormFetcherImpl fetches the credentials matching https://victim.example/ from the user's password database.
  7. When generating suggestions, because the matched credential's realm matches the frame's precursor URL, is_cross_domain evaluates to false in components/password_manager/core/browser/password_suggestion_generator.cc.
  8. The browser displays the trusted popup over the sandboxed iframe. If the root suggestion is marked unacceptable because the form cache is empty, the child suggestions (such as SuggestionType::kFillPassword) are still generated as acceptable.
  9. When the user clicks on the acceptable child suggestion, EnsureCrossDomainPasswordUsageGetsConsent skips the confirmation dialog (since is_cross_domain is false) and calls PasswordManagerDriver::FillField with the plaintext password payload.
  10. ContentPasswordManagerDriver::FillField (components/password_manager/content/browser/content_password_manager_driver.cc) lacks any HasValidURL() check and directly forwards the plaintext credential over the Mojo associated interface back to the compromised renderer's PasswordAutofillAgent.

Potential Attack Steps

Note: Since our testing framework does not currently have the capability to run execution code, these are potential/suggested steps to demonstrate the vulnerability:

  1. Ensure kIsolateSandboxedIframes is enabled. A victim user has a saved credential for https://victim.example/ in their Chrome profile.
  2. The user visits a page that embeds a sandboxed iframe pointing to https://victim.example/ (e.g., <iframe sandbox="allow-scripts" src="https://victim.example/sandboxed.html">), which forces the frame to load in a process-isolated sandboxed renderer process.
  3. The attacker compromises this sandboxed renderer process.
  4. The compromised renderer directly crafts and sends a mojom::AutofillDriver::AskForValuesToFill IPC message with trigger_source and password_request.field.trigger_source set to AutofillSuggestionTriggerSource::kManualFallbackPasswords.
  5. The browser process fetches the credentials matching https://victim.example/ and presents the trusted manual fallback popup to the user.
  6. The user selects the child password-filling suggestion from the popup.
  7. The browser process, skipping the cross-domain consent warning, transmits the cleartext password back to the compromised renderer.

Suggested Fix

Enforce origin and URL security gates at the browser-side IPC entry point rather than exclusively at the context-menu builder. Specifically, validate the calling context's URL and frame support within PasswordAutofillManager::ShowSuggestions or BrowserAutofillManager::OnAskForValuesToFillImpl. If the kPasswordManualFallbackSecurityChecks flag is enabled, reject manual fallback requests when !password_manager_driver.HasValidURL(/*may_kill_renderer=*/false) or !password_manager_driver.IsRenderFrameHostSupported() evaluates to true, thus shutting down the IPC-direct bypass route from sandboxed frames.

Evaluated with Chrome root at commit: 3947e01999a53d4e2382e39736cb79d79c7dffcf


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 origin and frame-support security gate was enforced only in the context-menu construction path, leaving the browser-side IPC entry point for manual fallback requests unchecked.

Impact

A compromised sandboxed renderer could obtain a saved password for the frame's precursor origin, though the user still has to select the suggestion in the popup and the report notes the steps are potential rather than executed.

What the attacker needed

Sandboxed iframe isolation enabled; victim has a saved password for the site; attacker compromises the sandboxed renderer; victim clicks the password suggestion

The fix

The origin and frame-support checks should be enforced at the browser-side IPC entry point, rejecting manual fallback requests from frames without a valid URL or frame support when the feature flag is on.

How it was found

  1. Have a victim with a saved credential for a site, with sandboxed iframe isolation enabled.
  2. Get the victim to load a page embedding a sandboxed iframe pointing at that site, so it runs in an isolated process.
  3. Compromise that sandboxed renderer process.
  4. From the compromised renderer, send the autofill request directly with the manual fallback password trigger source.
  5. The browser fetches matching credentials and shows the trusted fallback popup.
  6. The user picks the password suggestion and the cleartext password is sent back 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 splits web pages into separate processes, and a sandboxed frame is meant to be treated as untrusted. The check that stops saved passwords being offered inside such a frame was placed in the menu code rather than at the point where the frame's process talks to the browser, so a malicious frame could ask for passwords another way. If the user then clicked the suggestion, the saved password could be handed back to the attacker's code.

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.