Insufficient validation of untrusted input in Chrome for iOS (CVE-2026-13847)
The iOS Credential Provider Extension matched a saved credential's pre-computed eTLD+1 against the raw requesting host using a suffix check, without normalising the requesting host through the Public Suffix List. An attacker who controls a tenant subdomain under a PSL-listed private registry of an apex domain could have the apex domain's saved credentials suggested and, if the user selected one and passed biometric authentication, filled into the attacker's page.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 35 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 iOS Credential Provider Extension (CPE) asymmetrically matches the requesting host against a saved credential's pre-computed eTLD+1 registry-controlled domain. Because the requesting host is not Public Suffix List (PSL) normalized, an attacker-controlled tenant subdomain on a PSL-listed private registry of the apex domain is incorrectly treated as a valid match. Consequently, the user's high-value apex-domain credentials could be erroneously suggested, potentially leading to plaintext credential disclosure upon selection.
Affected files:
ios/chrome/credential_provider_extension/ui/credential_list_mediator.mmios/chrome/credential_provider_extension/ui/ui_util.mmios/chrome/browser/credential_provider/model/archivable_credential+password_form.mm
Estimated timestamp from git blame: 2026-04-29
Potential Root Cause
In ios/chrome/credential_provider_extension/ui/credential_list_mediator.mm, the matching logic performed in -[CredentialListMediator passwordCredential:matchesServiceIdentifiers:] evaluates whether a stored credential matches the requesting service identifier (serviceIdentifier).
While the stored credential's registryControlledDomain is pre-computed in Chrome's main browser process using PSL-awareness via net::registry_controlled_domains::GetDomainAndRegistry with INCLUDE_PRIVATE_REGISTRIES (in archivable_credential+password_form.mm), the requesting requestedHost is extracted as a raw host string via HostForServiceIdentifier() in ui_util.mm with no PSL or eTLD+1 normalization. Due to the lack of dependency on //net in the iOS App Extension environment, the extension cannot easily perform symmetric PSL normalization on the requesting side.
The matching evaluation is defined as follows:
if (credential.registryControlledDomain.length > 0) {
NSString* domainSuffix = [NSString
stringWithFormat:@".%@", credential.registryControlledDomain];
if ([requestedHost isEqualToString:credential.registryControlledDomain] ||
[requestedHost hasSuffix:domainSuffix]) {
return YES;
}
}
Because the requesting host is checked via hasSuffix:, this creates an asymmetric match. If a private registry is listed on the PSL under an apex domain (such as up.railway.app listed as a private registry, while the legitimate credentials reside at the apex railway.app):
- A credential stored for
https://railway.app/hasregistryControlledDomain = "railway.app". - When the user visits an attacker-controlled site under the private registry (e.g.,
https://attacker.up.railway.app/), the rawrequestedHostis"attacker.up.railway.app". - The check
[@"attacker.up.railway.app" hasSuffix:@".railway.app"]evaluates toYES, causing the credential provider to treat this as a valid match.
Potential Exploit Scenario
Note: These are suggested/potential steps, as our tooling agent does not have the ability to run code on an iOS device to verify this interactively.
- A user saves a credential for a high-value apex domain, such as
https://railway.app/, in Google Chrome on iOS. - An attacker registers a tenant subdomain under a PSL-listed private registry of that apex domain (e.g.,
https://attacker.up.railway.app/). - The user visits
https://attacker.up.railway.app/inside Safari or another iOS browser. - When the user taps on the login/password fields and invokes the AutoFill Chrome Credential Provider Extension, Chrome's matching logic incorrectly determines that the
railway.appcredential matchesattacker.up.railway.appand presents it under the "Suggested" list. - If the user selects the suggestion and completes Face ID/Touch ID authentication, the extension completes the request, filling the plaintext password directly into the attacker's page.
Suggested Fix
To remediate this issue, the matching logic should be updated to prevent raw suffix matching across PSL boundaries:
- Since the full
//netlibrary is too heavy to link into the extension, consider embedding a lightweight compiled Trie of known public suffixes/private registries or a highly optimized subset of the PSL directly into the credential provider extension bundle. - Alternatively, perform strict origin/host matching, or design a symmetric validation mechanism to ensure that credentials are only suggested for subdomains that share the same verified eTLD+1 as the requesting application context.
Evaluated with Chrome root at commit: b1520ef4a76878853a31f0943b565e42060edec8
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
The matching logic compared a PSL-normalised stored registry-controlled domain against a raw, un-normalised requesting host using a suffix check, creating an asymmetric match across PSL boundaries.
Impact
The user's apex-domain credentials could be suggested on an attacker-controlled tenant subdomain and, if the user selected the suggestion and passed biometric authentication, the plaintext password could be disclosed to the attacker; the report notes the exploit steps were not verified interactively.
What the attacker needed
Chrome on iOS with a saved apex credential; Attacker controls a tenant under a private PSL entry; Victim visits the attacker's tenant subdomain; Victim selects the suggestion and passes biometrics
The fix
The matching logic should be changed to avoid raw suffix matching across PSL boundaries, for example by embedding a lightweight public suffix list in the extension or by performing strict symmetric host validation.
How it was found
- A user saves a credential for a high-value apex domain in Chrome on iOS.
- An attacker registers a tenant subdomain under a PSL-listed private registry of that apex domain.
- The user visits the attacker's tenant subdomain in Safari or another iOS browser.
- The user taps a login field and invokes the Chrome Credential Provider Extension AutoFill.
- The extension incorrectly matches the apex credential and lists it under Suggested.
- If the user selects it and passes Face ID or Touch ID, the plaintext password is filled into the attacker's page.
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.
Browsers decide whether a saved password belongs to a site by comparing the site's registered domain, the part just below the public suffix. Here the saved side was reduced to that registered domain, but the site being visited was compared as a raw string using a 'ends with' check. That let a host under a shared private suffix look like a subdomain of the real apex domain, so the real domain's password could be offered on the attacker's page.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.