Skip to content
Info disclosure Advisory Advanced CVE-2026-13889

Insufficient validation of untrusted input in WebAuthentication (CVE-2026-13889)

The iOS passkey message handler processes a logGetResolved event without checking that the caller's origin is allowed to claim the supplied relying party ID, and the resulting passkey lookup runs synchronously on the UI thread. An attacker could use timing differences to learn whether a user has a passkey for a given site.

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 without the security team.

Overview: The iOS PasskeyInteractionHandler fails to validate the Relying Party ID (rpId) against the caller's origin during the logGetResolved event. Because the underlying passkey database query executes synchronously on the UI thread and performs expensive protobuf copies only when a match is found, attackers can use a timing side-channel to enumerate users' accounts on cross-origin sites.

Affected files:

  • components/webauthn/ios/passkey_request_parser.mm
  • components/webauthn/ios/passkey_java_script_feature.mm
  • components/webauthn/ios/passkey_tab_helper.mm
  • components/webauthn/core/browser/passkey_sync_bridge.cc

Estimated timestamp from git blame: 2026-01-28

Description

On iOS, the kIOSPasskeyShim feature injects a PasskeyInteractionHandler message handler into the main page content world, making it accessible to all web pages. When a script sends a logGetResolved message, the handler processes it synchronously on the browser's main UI thread without validating that the requesting frame's origin is authorized to claim the provided Relying Party ID (rpId).

The flow is as follows:

  1. PasskeyJavaScriptFeature::ScriptMessageReceived receives the message and calls ParsePasskeyScriptEvent.
  2. For kLogGetResolved, the rpId is extracted directly from the attacker's payload.
  3. Unlike kHandleGetRequest paths, there is no OriginIsAllowedToClaimRelyingPartyId check. Instead, it directly invokes a lambda calling PasskeyTabHelper::HasCredential.
  4. This cascades into PasskeySyncBridge::GetPasskeys, which iterates over the user's synced Google Password Manager passkeys.

The Timing Side-Channel

Inside PasskeySyncBridge::GetPasskeys, the code checks if any stored passkey matches the provided rpId.

  • If there is no match: The loop skips the item and finishes quickly.
  • If there is a match: The code executes passkeys.emplace_back(passkey), triggering an expensive deep-copy of a sync_pb::WebauthnCredentialSpecifics protobuf object. Following this, FilterShadowedCredentials allocates base::flat_set objects and performs multiple insertions/comparisons.

Because these operations occur on the browser process's UI thread, a match ties up the UI thread significantly longer than a non-match. An attacker can detect this delay from the renderer process by timing a synchronous IPC call (like a cross-origin iframe navigation or accessing document.cookie) that relies on the browser's UI thread.

Potential Attacker Steps

(Note: These are suggested steps to reproduce the vulnerability. Our tooling agent does not yet have the ability to run code to provide a working proof-of-concept).

  1. An attacker hosts a malicious website and tricks the user into visiting it.
  2. The malicious JavaScript executes a postMessage to the injected handler: window.webkit.messageHandlers.PasskeyInteractionHandler.postMessage({event: 'logGetResolved', rpId: 'target-bank.com', credentialId: 'dummy'});
  3. Immediately after, the JavaScript triggers a synchronous operation that blocks the renderer until the browser UI thread responds (e.g., initiating a cross-origin iframe navigation to force a decidePolicyForNavigationAction check).
  4. The JavaScript measures the time taken for the synchronous operation to complete.
  5. By repeating steps 2-4 and statistically analyzing the latency, the attacker determines if the browser UI thread experienced the delay associated with protobuf copying. If so, they know the user has a passkey for target-bank.com.

Recommended Fix

Update ParsePasskeyScriptEvent or its caller to ensure that logGetResolved (and logCreateResolved) events validate the rpId against the sender's origin, ideally using OriginIsAllowedToClaimRelyingPartyId(). Alternatively, since this path is solely for UMA metric logging, consider decoupling the database check from the synchronous message parsing flow, or dispatching the query to a background sequence.

Evaluated with Chrome root at commit: 137d451a126685dd5010e6609db9f6d4a78d8234


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.

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 logGetResolved message path skips the origin check that other passkey request paths perform, and then runs a database lookup synchronously on the UI thread.

Impact

An attacker could learn whether a user has a passkey for a particular site, which may reveal account membership; the text does not claim a working exploit and notes the results are promising but may be wrong.

What the attacker needed

Victim visits attacker's site; iOS with the passkey shim feature; user has synced passkeys

The fix

The text recommends validating the relying party ID against the sender's origin, or moving the database check off the synchronous message path; it does not say a fix was shipped.

How it was found

  1. Host a malicious website and get the user to visit it.
  2. Send a logGetResolved message to the injected passkey handler with a chosen relying party ID.
  3. Trigger a synchronous browser operation that waits on the UI thread.
  4. Measure how long that operation takes.
  5. Repeat and analyse the timings to infer whether a matching passkey exists.

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.

Passkeys are a way to sign in without a password, tied to a website's address. This report says a web page could ask the browser a question about passkeys for another site and, by measuring how long the answer takes, guess whether the user has an account there. The text does not show a working attack, only a suggested way to try it.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.