Insufficient policy enforcement in WebAuthentication (CVE-2026-11263)
A logic flaw in Android's WebAuthn implementation lets a compromised cross-origin subframe bypass origin checks and overwrite the callback state of a pending main-frame password request. When the user interacts with the main frame's TouchToFill UI, their plaintext credentials are sent to the attacker's renderer.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 58 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 without the security team.
Overview: A logic flaw in Android's WebAuthn implementation potentially allows a compromised cross-origin subframe to steal plaintext passwords from the main frame. The issue occurs when a subframe's password-only request bypasses origin checks and clobbers the callback state of a pending main frame request. When the user interacts with the main frame's TouchToFill UI, their credentials are sent to the attacker.
Affected files:
chrome/browser/webauthn/android/webauthn_request_delegate_android.cccomponents/webauthn/android/webauthn_browser_bridge.ccchrome/browser/webauthn/android/chrome_webauthn_client_android.ccchrome/browser/touch_to_fill/password_manager/touch_to_fill_controller_webauthn_delegate.cc
Estimated timestamp from git blame: 2026-01-07
Summary
There is a potential vulnerability in the Android WebAuthn implementation that allows a compromised cross-origin subframe to bypass Site Isolation and exfiltrate plaintext passwords belonging to the main frame. The vulnerability relies on two distinct logic flaws: a missing security check in the Java layer for password-only requests, and unsafe state clobbering in the C++ UI delegate.
(Note: The steps described below are potential vectors identified through code analysis; our tooling agent does not currently run executable proofs-of-concept.)
Technical Details
1. Java Origin Check Bypass
When a renderer sends a blink::mojom::Authenticator::GetCredential Mojo message on Android, it is routed to AuthenticatorImpl.java.
If a request is crafted with options.publicKey == null and options.password == true, Fido2CredentialRequest::handleGetCredentialRequest routes it to handlePasswordOnlyImmediateRequest and immediately returns. This early return skips the frameHost.performGetAssertionWebAuthSecurityChecks() call, which is responsible for enforcing ancestor origin validation (ValidateAncestorOrigins). Consequently, cross-origin subframes are not blocked from making password-only requests.
2. C++ Callback Clobbering
The Java layer forwards the request to the C++ delegate, WebAuthnRequestDelegateAndroid. This delegate is a per-tab singleton (WebContentsUserData).
In OnWebAuthnRequestPending, the delegate unconditionally saves the incoming callbacks (e.g., password_callback_ = std::move(password_callback)). If the main frame already has a pending request, its callbacks are clobbered.
Furthermore, the delegate checks if (frame_host->IsInPrimaryMainFrame()). Because the malicious request comes from a subframe, this evaluates to false, causing an early return. Crucially, this early return fails to dismiss the active TouchToFill UI that was spawned by the main frame.
Potential Attack Scenario
An attacker could potentially exploit this by compromising a subframe renderer:
- A user navigates to a victim main frame (e.g.,
bank.com) that embeds a cross-origin subframe (attacker.com). - The main frame initiates a legitimate
navigator.credentials.get({password: true, mediation: 'immediate'})request. The browser displays the TouchToFill bottom sheet containing the user's saved passwords forbank.com. - The attacker's compromised subframe renderer crafts and sends a raw Mojo
GetCredentialrequest withpublicKey: nullandpassword: true. - The Java layer skips origin checks, and the C++ delegate unconditionally clobbers the
password_callback_with the attacker's callback. Thebank.comTouchToFill UI remains visible. - The user, intending to log into
bank.com, taps their saved password. - The clobbered callback is executed, and the plaintext credentials for
bank.comare routed via Mojo to theattacker.comrenderer.
Suggested Fix
- Java Layer (
Fido2CredentialRequest.java): Ensure thatperformGetAssertionWebAuthSecurityChecks(or an equivalent origin validation routine) is strictly enforced for password-only immediate requests before callinghandlePasswordOnlyImmediateRequest. - C++ Layer (
WebAuthnRequestDelegateAndroid::OnWebAuthnRequestPending): Prevent concurrent requests from silently clobbering shared state. If a request is already active (or if a TouchToFill UI is currently showing), incoming requests should either be rejected, or the existing UI should be explicitly dismissed before overwriting the callbacks.
Evaluated with Chrome root at commit: f200f57a19490707ff8bc7aa5de3cbc443a3afad
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
Likely two logic flaws: a missing origin security check for password-only requests in the Java layer, and unconditional overwriting of shared callback state in a per-tab C++ delegate that also fails to dismiss the existing TouchToFill UI.
Impact
A compromised cross-origin subframe could steal plaintext passwords belonging to the main frame, though the report notes the steps are potential vectors from code analysis and no executable proof-of-concept was run.
What the attacker needed
Android device; compromised cross-origin subframe renderer; victim has saved passwords for main frame; user taps the TouchToFill prompt
The fix
The report suggests enforcing origin validation for password-only immediate requests in the Java layer and preventing concurrent requests from clobbering shared state or leaving the TouchToFill UI active in the C++ layer.
How it was found
- A user visits a victim main frame that embeds a cross-origin subframe.
- The main frame starts a legitimate password-only immediate credential request, showing the TouchToFill sheet.
- The compromised subframe sends a raw credential request with no public key and password-only set.
- The Java layer skips origin checks and the C++ delegate overwrites the pending password callback.
- The user taps their saved password in the still-visible TouchToFill UI.
- The overwritten callback sends the plaintext credentials to the attacker's 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.
WebAuthn is a browser feature that lets websites ask for saved passwords or security keys. The report describes a bug where a malicious iframe (a page embedded inside another site) could trick the browser into sending the parent site's saved password to the attacker instead. The attacker would first need to compromise that iframe's code, and the user would then tap their password in a prompt that looks legitimate.
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.