Inappropriate implementation in Credential Management (CVE-2026-13994)
The third-party credential management implementation on Android lacked visibility, focus, throttling and cancellation checks, so a hidden background tab could trigger the system credential picker or save prompt over other sites and keep it on screen even after the tab was closed. An attacker could use this to cause out-of-context credential prompts and persistent UI harassment.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 45 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: The implementation of third-party credential management on Android lacks visibility, focus, and throttling checks. This potentially allows a hidden background tab to trigger and spam system-level security UI over other sites or applications, which cannot be programmatically dismissed by the browser even after the tab is closed.
Affected files:
components/credential_management/android/third_party_credential_manager_impl.cccomponents/credential_management/android/java/src/org/chromium/components/credential_management/ThirdPartyCredentialManagerBridge.javacomponents/credential_management/content_credential_manager.cc
Estimated timestamp from git blame: 2025-05-02
Root Cause Analysis
When Chrome on Android is configured to use a third-party autofill provider, navigator.credentials calls are handled by ThirdPartyCredentialManagerImpl. This implementation currently lacks several safety invariants present in the first-party CredentialManagerImpl and WebAuthn implementations:
- Missing Visibility and Focus Checks:
ThirdPartyCredentialManagerImpl::GetandStoredo not verify if the requestingWebContentsis visible or focused. Consequently, a hidden background tab can initiate a request that displays the Android system Credential Manager UI. - Missing Request Throttling: There is no
pending_request_check to prevent concurrent or rapid-fire requests. A malicious page can call the API repeatedly (e.g., viasetInterval), leading to UI spamming that persists even after the user dismisses a prompt. - Missing Cancellation Logic: The Java bridge (
ThirdPartyCredentialManagerBridge.java) invokes the system API using theApplicationContextrather than anActivitycontext and passes anullCancellationSignal. Furthermore,ThirdPartyCredentialManagerImpl::ResetAfterDisconnectingis a no-op. This means the browser cannot dismiss the system UI when the Mojo pipe is disconnected, the tab is navigated away, or the tab is closed. - Missing Incognito Gate in Store Path: The
Storepath lacks anIsOffTheRecord()check, potentially allowing background pages in Incognito mode to trigger the third-party provider's storage UI, which may leak the origin to a persistent database.
Potential Impact
A malicious website in a hidden tab could potentially raise the Android system Credential Manager picker or save-password prompt while the user is interacting with a different foreground tab (like a banking site). While the system sheet is labeled with the requesting origin, its out-of-context appearance over a sensitive page may lead to accidental disclosure of credentials. The lack of throttling and cancellation allows for persistent UI harassment.
Suggested Reproductions Steps (Potential)
- On an Android 14+ device, set a third-party password manager as the system Autofill service and enable 'Autofill using another service' in Chrome.
- Navigate to a controlled HTTPS origin and execute a script that triggers
navigator.credentials.get({password:true})after a delay or when the page is hidden. - Switch to a different Chrome tab.
- Observe if the Android system Credential Manager bottom sheet appears over the foreground tab.
- Navigate the attacker tab to a new URL while the sheet is visible and observe if the sheet persists.
Recommended Fix
- Implement
IsFocused()andIsVisible()checks inThirdPartyCredentialManagerImpl::GetandStorebefore forwarding requests to the bridge. - Add a
pending_request_throttle to prevent concurrent requests from the same frame. - Update the JNI bridge to accept and manage a
CancellationSignalso thatResetAfterDisconnectingcan dismiss the system UI. - Ensure the
Storepath respectsIsOffTheRecord()to prevent Incognito data leakage.
Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a
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.
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 third-party credential manager bridge omitted the visibility, focus, throttling, cancellation and incognito checks that the first-party implementation has.
Impact
A hidden tab could raise the system credential picker or save prompt over a sensitive foreground page, which may lead to accidental credential disclosure, and the lack of throttling and cancellation allows persistent UI harassment.
What the attacker needed
Android 14+ device; third-party autofill service set; Chrome autofill using another service; attacker-controlled HTTPS page
The fix
The report recommends adding visibility and focus checks, a pending-request throttle, a cancellation signal so the system UI can be dismissed, and an incognito check on the store path; the text does not say whether this was fixed.
How it was found
- Set a third-party password manager as the system autofill service and enable autofill using another service in Chrome on Android 14 or later.
- Open a controlled HTTPS page that calls the credential get API after a delay or while the page is hidden.
- Switch to a different Chrome tab.
- Observe whether the Android system credential manager sheet appears over the foreground tab.
- Navigate the attacker tab to a new URL while the sheet is visible and observe whether it persists.
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.
On Android, Chrome can hand password prompts to a separate password manager app. The code that does this did not check whether the page asking was actually on screen, did not stop a page from asking again and again, and could not close the prompt once it appeared. So a page running quietly in the background could make password prompts pop up over whatever the user was really looking at.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.