Skip to content
Info disclosure Advisory Intermediate CVE-2026-17838

Incorrect security UI in Chrome for iOS (CVE-2026-17838)

The Google Password Manager passkey assertion bottom sheet on iOS displays the top-level frame's origin instead of the requesting iframe's validated relying party ID. An attacker could embed their own origin in a cross-origin iframe on a victim site and trick the user into believing they are authenticating to the victim site, potentially leading them to approve a passkey assertion for the attacker's 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. 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: An origin-spoofing issue exists in the Google Password Manager (GPM) passkey assertion bottom sheet on iOS. When a cross-origin iframe requests a passkey assertion, the modal bottom sheet displays the top-level frame's origin instead of the requesting iframe's validated relying party ID (rp_id). An attacker could exploit this to spoof the user into providing credentials under the impression that they are authenticating to the top-level site.

Affected files:

  • ios/chrome/browser/passwords/bottom_sheet/coordinator/credential_suggestion_bottom_sheet_coordinator.mm
  • ios/chrome/browser/passwords/bottom_sheet/coordinator/passkey_suggestion_bottom_sheet_mediator.mm
  • ios/chrome/browser/passwords/bottom_sheet/coordinator/credential_suggestion_bottom_sheet_mediator_base.mm
  • ios/chrome/browser/passwords/bottom_sheet/ui/credential_suggestion_bottom_sheet_view_controller.mm
  • components/webauthn/ios/passkey_tab_helper.mm
  • components/webauthn/ios/passkey_java_script_feature.mm

Estimated timestamp from git blame: 2026-02-02

Description

There is a potential UI/origin spoofing vulnerability in the Google Password Manager (GPM) passkey assertion bottom sheet on iOS. When a cross-origin subframe initiates a modal passkey assertion (navigator.credentials.get()), the presented GPM bottom sheet displays the origin of the top-level frame instead of the requesting frame's validated relying party identifier (rp_id).

While the companion passkey creation bottom sheet resolves and displays the validated rp_id via RelyingPartyIdForRequest(), the assertion (suggestion) flow instead uses the active WebState's top-level URL to brand the UI.

Technical Details & Root Cause

  1. Injection and Event Handling: The WebAuthn passkey shim is injected into all frames via PasskeyJavaScriptFeature (components/webauthn/ios/passkey_java_script_feature.mm). When a subframe requests assertion via navigator.credentials.get(), PasskeyTabHelper::HandleGetRequestedEvent validates the rp_id against the requesting frame's security origin:

    C++
    // components/webauthn/ios/passkey_tab_helper.mm
    const url::Origin& origin = web_frame->GetSecurityOrigin();
    const std::string& rp_id = params.RpId();
    if (!OriginIsAllowedToClaimRelyingPartyId(rp_id, origin)) { ... }
    
  2. Omission of RP ID during Presentation: Once filtered, the helper calls client_->ShowSuggestionBottomSheet(request_info). The RequestInfo struct only contains frame identifiers, and the validated rp_id is discarded:

    C++
    // components/webauthn/ios/ios_passkey_client.h
    struct RequestInfo {
      std::string frame_id;
      std::string request_id;
      std::optional<autofill::RemoteFrameToken> remote_frame_token;
    };
    
  3. Branding with the Top-Level Origin: CredentialSuggestionBottomSheetCoordinator instantiates the bottom sheet and extracts the display URL from the active top-level WebState:

    OBJC
    // ios/chrome/browser/passwords/bottom_sheet/coordinator/credential_suggestion_bottom_sheet_coordinator.mm
    WebStateList* webStateList = self.browser->GetWebStateList();
    const GURL& URL = webStateList->GetActiveWebState()->GetLastCommittedURL(); // top-level page
    ...
    _viewController = [[CredentialSuggestionBottomSheetViewController alloc] 
        initWithHandler:self URL:URL];
    

    The mediator base (credential_suggestion_bottom_sheet_mediator_base.mm) also captures the active WebState's top-level URL as _domain and propagates it to the consumer. PasskeySuggestionBottomSheetMediator does not retrieve the correct rp_id via the tab helper (unlike the creation flow, which uses RelyingPartyIdForRequest to resolve and display the subframe's target domain).

  4. Rendering in UI: CredentialSuggestionBottomSheetViewController.mm processes the top-level URL to format the sheet's header subtitle and row subtitles:

    OBJC
    // ios/chrome/browser/passwords/bottom_sheet/ui/credential_suggestion_bottom_sheet_view_controller.mm
    std::u16string formattedURL =
        url_formatter::FormatUrlForDisplayOmitSchemePathAndTrivialSubdomains(_URL);
    self.subtitleString = l10n_util::GetNSStringF(
        IsConditionalPasskeyLoginEnabled()
            ? IDS_IOS_CREDENTIAL_BOTTOM_SHEET_SUBTITLE_WITH_PASSKEYS
            : IDS_IOS_CREDENTIAL_BOTTOM_SHEET_SUBTITLE,
        formattedURL);
    

    As a consequence, the relying party identity (rp_id) of the subframe requesting the credential is never presented to the user. Instead, the trusted UI claims the authentication is for the top-level site.

Potential Attack Scenario

  1. The attacker registers a GPM passkey for https://attacker.example on the victim's device.
  2. The attacker embeds https://attacker.example as a cross-origin <iframe> inside https://victim.example (e.g., via compromised ad spaces or third-party widgets).
  3. Inside the iframe, the attacker's script initiates a modal WebAuthn assertion: navigator.credentials.get({publicKey:{rpId:'attacker.example', challenge:new Uint8Array(32), allowCredentials:[]}}).
  4. If successful, Chrome will display the GPM bottom sheet with the subtitle "You'll sign in to victim.example" (or "Sign in to victim.example"), and each passkey suggestion row will list victim.example (or a generic "Passkey" label) as the subtitle, spoofing the true destination.
  5. The user selects the credential, passes Face ID/Touch ID, and a valid cryptographic assertion for attacker.example is completed and returned to the attacker's iframe.

(Note: These are potential steps; our tooling does not currently have the capability to execute proof-of-concept code to verify runtime exploitability.)

Suggested Fix

Update PasskeySuggestionBottomSheetMediator to resolve and display the validated rp_id of the requesting frame rather than defaulting to the top-level active WebState's URL. This can be achieved by utilizing RelyingPartyIdForRequest() on PasskeyTabHelper to retrieve and format the correct domain for display, similar to the fix already implemented in PasskeyCreationBottomSheetMediator.

Evaluated with Chrome root at commit: fb72408a8493c46bc75fae1c70d03daec96b3040


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

The passkey assertion flow discards the validated relying party ID and instead brands the bottom sheet with the active top-level WebState's URL.

Impact

An attacker could spoof the origin shown in the passkey bottom sheet, potentially tricking the user into approving a passkey assertion for the attacker's origin while believing they are authenticating to the top-level site; the report notes that runtime exploitability was not verified.

What the attacker needed

Attacker controls a site with a passkey; victim has a passkey for attacker's site; attacker can embed iframe on victim site; victim interacts with the bottom sheet

The fix

The passkey suggestion mediator should resolve and display the validated rp_id of the requesting frame, similar to the creation flow, instead of using the top-level WebState's URL.

How it was found

  1. The attacker registers a passkey for their own origin on the victim's device.
  2. The attacker embeds their origin as a cross-origin iframe inside the victim's site.
  3. Inside the iframe, the attacker's script calls the WebAuthn assertion API with the attacker's rpId.
  4. Chrome shows the passkey bottom sheet with the victim site's origin as the subtitle.
  5. The user selects the credential and passes biometric verification, completing an assertion for the attacker's origin.

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 a website asks you to sign in with a passkey, a pop-up shows which site you are signing in to. This report found that if the request comes from a small embedded frame inside a page, the pop-up shows the main page's address instead of the frame's address. That could let a malicious site make you think you are signing in to a trusted site when you are actually giving a passkey to the attacker.

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.