Incorrect authorization in Mobile (CVE-2026-106397)
Chrome for iOS validated incoming URLs for share-extension commands only by their path, so any URL with the path /app-group-command was treated as trusted. An attacker could force a silent sign-out or profile switch, and for managed accounts a sign-out could also delete browsing data.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 6 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 Chrome Security team. Please see go/chrome-ai-generated-security-bugs-faq for more information.
Overview: Chrome for iOS insufficiently validates incoming intents intended for the share extension by checking only the URL path ('/app-group-command'). This flaw allows a malicious website or third-party app to force a silent sign-out or profile switch without user confirmation.
Affected files:
ios/chrome/browser/shared/coordinator/scene/scene_controller.mmios/chrome/app/task_request_url_context.mmios/chrome/browser/authentication/ui_bundled/change_profile/change_profile_authentication_continuation.mm
Estimated timestamp from git blame: 2026-02-26
Summary
A logic flaw in Chrome for iOS allows an attacker to force a silent sign-out of the user's primary account, or silently switch the user to a different profile. This is caused by insufficient validation of incoming URLs intended to handle commands from the Chrome Share Extension. Because the validation logic only checks the URL path, an attacker can bypass the check by supplying a malicious URL (via a web link or a custom scheme intent) that matches the expected path.
Technical Details
When Chrome for iOS receives an external URL intent, SceneController processes it in handleURLContextsToOpen. To handle account and profile changes originating from the Chrome Share Extension, it checks if the URL is eligible by calling findContextRequiringAccountChange: -> shareExtensionURLEligibleForAccountChange:.
The vulnerability lies in the implementation of shareExtensionURLEligibleForAccountChange: (ios/chrome/browser/shared/coordinator/scene/scene_controller.mm):
- (BOOL)shareExtensionURLEligibleForAccountChange:(NSURL*)URL {
return [URL.path
isEqualToString:
[NSString
stringWithFormat:@"/%s",
app_group::kChromeAppGroupXCallbackCommand]];
}
This method validates the URL solely by checking if URL.path equals "/app-group-command" (kChromeAppGroupXCallbackCommand). It fails to validate the URL scheme, the host, or the sourceApplication of the intent.
As a result, any URL containing the path /app-group-command will be treated as a trusted command. If the URL contains the query parameter gaia_id=No account, Chrome creates a context of AccountSwitchType::kSignOut. This routes to AuthenticationService::SignOut, forcibly and silently signing the user out. For managed accounts migrated from syncing, this sign-out also triggers a silent deletion of the user's browsing data via ClearBrowsingData().
Alternatively, if an attacker provides a known valid Gaia ID, the context becomes AccountSwitchType::kSignIn, forcing a silent profile switch. This can be abused to switch a user out of an enterprise-managed profile into a personal profile before loading an attacker-controlled page, bypassing enterprise browsing policies.
A similar check exists in the new startup flow within ios/chrome/app/task_request_url_context.mm in the extractGaiaID method, which is also vulnerable to this path-only validation.
Potential Exploitation Steps
Note: These steps are suggested based on code analysis; our tooling agent does not have the ability to run code to confirm them.
Vector A: Malicious Application A malicious third-party app installed on the device can execute the following code to trigger the bug silently:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"googlechrome://x-callback-url/app-group-command?gaia_id=No%20account"] options:@{} completionHandler:nil];
Vector B: Malicious Web Link (if Chrome is Default Browser) If the user has set Chrome as their default browser, tapping a standard HTTP(S) link in another application (e.g., Mail or Messages) can trigger the vulnerability:
- The attacker sends a link:
https://attacker.example/app-group-command?gaia_id=No%20account - The victim taps the link.
- iOS routes the intent to Chrome. Because the URL path matches
/app-group-command, Chrome immediately processes the sign-out command.
Suggested Fix
Update shareExtensionURLEligibleForAccountChange: and extractGaiaID to enforce strict validation. This should involve verifying that the URL scheme matches a trusted internal scheme, or ensuring that the sourceApplication of the UIOpenURLContext belongs to the Chrome Share Extension itself.
Evaluated with Chrome root at commit: 661452647ddb2827305122ff3273bd5dea403f09
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
The URL eligibility check compared only the URL path and did not verify the scheme, host, or source application.
Impact
An attacker could silently sign the user out or switch profiles; for managed accounts migrated from syncing, the sign-out also triggers silent deletion of browsing data, and a profile switch could bypass enterprise browsing policies.
What the attacker needed
Chrome for iOS installed; malicious app installed or victim taps a link; Chrome set as default browser for web link vector
The fix
The URL eligibility checks should be updated to verify the URL scheme or the source application of the intent.
How it was found
- The attacker sends a link or opens a custom scheme URL containing the path /app-group-command.
- The victim taps the link or the malicious app opens the URL.
- iOS routes the intent to Chrome.
- Chrome sees the matching path and processes the sign-out or profile switch command.
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.
Apps on a phone can pass links to each other. Chrome for iOS has a special command that lets its share extension ask the main app to sign out or switch profiles. The app only checked part of the link, so any other app or website could send the same command and make Chrome sign the user out without asking.
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.