Race condition in Payments (CVE-2026-87615)
A shared-state race condition in the IBAN save manager lets a malicious page overwrite the pending upload details so that a user's click on a legitimate save prompt uploads an attacker-chosen IBAN instead. The attacker's IBAN is then stored in the user's Google Payments wallet without consent.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 5 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 without the Chrome Security team.
Overview: A state confusion vulnerability in IbanSaveManager allows a malicious webpage to swap the IBAN being saved to a user's Google Payments wallet. By overlapping two IBAN upload flows, an attacker can overwrite shared state, causing the user's 'Save' click on a legitimate prompt to unknowingly upload an attacker-controlled IBAN.
Affected files:
components/autofill/core/browser/payments/iban_save_manager.cccomponents/autofill/core/browser/payments/iban_save_manager.hchrome/browser/ui/autofill/payments/iban_bubble_controller_impl.cc
Estimated timestamp from git blame: 2025-09-03
Summary
A state confusion vulnerability exists in IbanSaveManager where multiple concurrent IBAN upload flows overwrite shared instance-level state. A malicious webpage can exploit this by presenting a legitimate "decoy" IBAN prompt to the user, while asynchronously starting a hidden upload flow for an attacker-controlled IBAN. When the user interacts with the decoy prompt, the overwritten state causes the browser to upload the attacker's IBAN to the user's Google Payments wallet without their knowledge or consent.
Vulnerability Details
IbanSaveManager coordinates the asynchronous process of obtaining upload details, displaying a consent bubble, and collecting client risk data. The state for this process—including upload_request_details_, context_token_, and user_did_accept_upload_prompt_—is stored directly in the IbanSaveManager instance. Because the client is per-WebContents, this state is shared across all frames and all concurrent save flows.
An attacker can exploit this shared state using the following sequence:
- The attacker triggers a form submission for a "decoy" IBAN.
IbanSaveManagerfetches upload details, clears the shared state, and sets the decoycontext_token_.- The UI successfully displays the "Save IBAN" bubble for the decoy IBAN.
IbanSaveManagerinitiates an asynchronousLoadRiskDatacall for the decoy IBAN.- While the user views the bubble, the attacker's script submits a hidden form containing an attacker-controlled IBAN.
IbanSaveManagerfetches upload details for the attacker IBAN. This overwrites the shared state:upload_request_details_.risk_datais cleared,user_did_accept_upload_prompt_is reset tofalse, andcontext_token_is set to the attacker's token.IbanBubbleControllerImpl::OfferUploadSaveis called for the attacker IBAN. Because the decoy bubble is already visible, it early-returns (iban_bubble_controller_impl.cc:75), suppressing the attacker prompt but leaving the attacker's state active inIbanSaveManager.IbanSaveManagerinitiates an asynchronousLoadRiskDatacall for the attacker IBAN.- The user clicks "Save" on the visible decoy bubble. The callback sets
user_did_accept_upload_prompt_ = true. However, because the attacker's flow cleared therisk_datain step 6, the upload is paused pending risk data. - The asynchronous
LoadRiskDatafor the attacker IBAN completes, invokingOnDidGetUploadRiskDatawith the attacker's IBAN as the parameter. - Because
user_did_accept_upload_prompt_is nowtrue, it immediately callsSendUploadRequest(attacker_iban). SendUploadRequestbuilds the final request using the attacker's IBAN and the sharedcontext_token_(which is the attacker's token from step 6). The attacker's IBAN is successfully saved to the user's account.
Note: The timing of LoadRiskData can be manipulated by the attacker by artificially stalling the main thread with heavy JavaScript or WebGL operations, ensuring the attacker's risk data callback fires after the user clicks "Save".
Impact
An attacker can persist an arbitrary IBAN to a user's synced Google account without their consent. This saved IBAN will be offered as an autofill suggestion across the user's devices for future SEPA payment forms, creating a direct vector for misdirected financial transfers.
Potential Reproduction Steps
Note: Our tooling agent cannot execute code; these are suggested steps based on source code analysis.
- Serve a page with a visible form containing a legitimate "decoy" IBAN and a hidden iframe containing an "attacker" IBAN form.
- Trigger a click on the decoy form's submit button. The "Save IBAN" bubble appears.
- Use JavaScript to temporarily block the main thread to delay
LoadRiskDatacallbacks. - Submit the hidden attacker form.
- Unblock the thread.
- As a user, click the "Save" button on the visible decoy bubble.
- Observe via
chrome://settings/paymentsthat the attacker's IBAN has been added to the user's wallet, not the decoy.
Suggested Fix
Remove the instance-level state (context_token_, upload_request_details_, user_did_accept_upload_prompt_) from IbanSaveManager. Instead, encapsulate the state for each upload flow into a distinct struct or object (e.g., UploadIbanRequestContext) that is passed along with the callbacks, or ensure that overlapping requests explicitly cancel and reset the UI rather than silently corrupting the underlying state.
Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b
Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; 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
The save flow keeps its per-upload state (upload details, context token, and whether the user accepted) in a single shared object used by all frames, so a second concurrent flow overwrites the first.
Impact
An attacker could persist an arbitrary IBAN to the user's synced account without consent, and it would then be offered as an autofill suggestion on future payment forms, potentially misdirecting transfers.
What the attacker needed
Victim visits attacker page; victim clicks Save on the decoy bubble; attacker can stall the main thread
The fix
The state for each upload flow should be kept in a separate per-request object passed with the callbacks, or overlapping requests should explicitly cancel and reset the UI.
How it was found
- Serve a page with a visible decoy IBAN form and a hidden iframe with an attacker IBAN form.
- Submit the decoy form so the save bubble appears.
- Use JavaScript to block the main thread and delay risk-data callbacks.
- Submit the hidden attacker form.
- Unblock the thread.
- Click Save on the visible decoy bubble and check settings to see the attacker IBAN was added.
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 save a bank account number (IBAN) in Chrome, the browser shows a small bubble asking you to confirm. This report says that if a malicious page starts a second, hidden save at the same time, the browser can mix up which number it is about to save. So you click 'Save' on the number you see, but a different number chosen by the attacker gets stored in your account.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.