Confused deputy in SignIn (CVE-2026-106188)
Chrome on Android fails to validate the scheme of the continue_url parameter in the X-Chrome-Manage-Accounts header for the ADDSESSION service type, allowing a malicious website to trigger a browser-initiated navigation to privileged chrome:// or intent:// URLs. This could bypass web security boundaries and lead to a sandbox escape.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 5 months
Flapjack, 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 X-Chrome-Manage-Accounts (Mirror) header allows Google domains to trigger account management actions. When processing the ADDSESSION service type on Android, Chrome fails to validate the scheme of the provided continue_url, potentially allowing a malicious website to force a highly privileged browser-initiated navigation to internal chrome:// or intent:// URLs.
Affected files:
chrome/browser/signin/chrome_signin_helper.cccomponents/signin/core/browser/chrome_connected_header_helper.cc
Estimated timestamp from git blame: 2014-09-24
Overview
The X-Chrome-Manage-Accounts header is used by Google domains to signal account management actions to Chrome. When processing this header on Android, specifically for the GAIA_SERVICE_TYPE_ADDSESSION service type, Chrome does not validate the scheme of the continue_url parameter.
Because the resulting navigation is executed as browser-initiated (is_renderer_initiated = false), this lack of validation potentially allows an attacker to navigate the user's browser to privileged chrome:// or intent:// URLs, bypassing web security boundaries.
Potential Exploitation Steps
Note: These steps are suggested based on static code analysis; an active Proof of Concept has not yet been executed.
- Attacker Lures User: An attacker hosts a malicious website (e.g.,
https://attacker.com/exploit.html) and lures a user to it on Chrome for Android. - Navigation to Google Endpoint: The attacker's page executes a renderer-initiated top-level navigation to a specific Google endpoint that reflects the
continuequery parameter into theX-Chrome-Manage-Accountsheader. For example:window.location.href = "https://accounts.google.com/SignOutOptions?continue=chrome://flags". - Header Interception & Parsing: The
accounts.google.comserver responds with an HTTP redirect and the header:X-Chrome-Manage-Accounts: action=ADDSESSION,continue_url=chrome://flags. Chrome parses this header inChromeConnectedHeaderHelper::BuildManageAccountsParamsbut fails to validate the scheme of thecontinue_url. - Navigation Cancellation: The browser's navigation stack blocks the
302redirect tochrome://flagsbecause it was initiated by web content. Consequently, the navigation fails to commit, and the tab's visible URL remains the attacker's page (https://attacker.com/exploit.html). - Task Execution (Missing Initiator Check): The asynchronously posted task
ProcessMirrorHeaderexecutes. WhileGAIA_SERVICE_TYPE_INCOGNITOincludes an initiator origin check,GAIA_SERVICE_TYPE_ADDSESSIONdoes not (noted by a TODO on line 246 ofchrome_signin_helper.cc). The code proceeds into theADDSESSIONflow. - Java Coordinator and Equality Check Bypass: The C++ code calls
SigninBridgeFactory::GetForProfile(profile)->WaitForCookiesAndRedirect(...), passing the unvalidatedchrome://flagsURL. This transitions to Java (SigninBridge.java), which records the current URL (mInitialTabURL). Because the previous navigation failed,mInitialTabURLremainshttps://attacker.com/exploit.html. - Browser-Initiated Navigation: After waiting for cookies,
WebSigninRedirectCoordinator#onSigninResultverifies thatmTab.getUrl().equals(mInitialTabURL). Since the URL never changed, this check passes. The code executesmTab.loadUrl(new LoadUrlParams(mContinueUrl)). By default,LoadUrlParamssetsmIsRendererInitiated = false. - Privileged Access: The navigation to
chrome://flags(or anintent://URI) succeeds because Chrome trusts browser-initiated navigations, resulting in a sandbox/security boundary escape.
Suggested Fix
- Scheme Validation: Update
ChromeConnectedHeaderHelper::BuildManageAccountsParamsorProcessMirrorHeaderto strictly validate the scheme of thecontinue_url. It should only permithttp://andhttps://schemes, strictly forbiddingchrome://,intent://,file://, etc. - Origin Initiator Check: Implement the missing initiator domain check for
GAIA_SERVICE_TYPE_ADDSESSIONinProcessMirrorHeader(resolving the TODO on line 246 inchrome/browser/signin/chrome_signin_helper.cc).
Evaluated with Chrome root at commit: a9e0d24757518a6f49f01bf5068f2cadfc6092f4
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 missing scheme validation for the continue_url parameter in the ADDSESSION flow, combined with the absence of an initiator origin check, allows a browser-initiated navigation to arbitrary schemes.
Impact
This could allow an attacker to navigate the user's browser to privileged chrome:// or intent:// URLs, bypassing web security boundaries and potentially escaping the sandbox.
What the attacker needed
Chrome for Android; victim visits attacker's site; Google endpoint reflects continue param
The fix
The scheme of continue_url should be strictly validated to only allow http:// and https://, and an initiator origin check should be added for GAIA_SERVICE_TYPE_ADDSESSION.
How it was found
- Attacker lures user to a malicious website on Chrome for Android.
- The page navigates to a Google endpoint that reflects the continue parameter into the X-Chrome-Manage-Accounts header.
- Chrome parses the header but fails to validate the scheme of continue_url.
- The browser blocks the redirect to chrome://flags because it was web-initiated, so the tab URL remains the attacker's page.
- The asynchronously posted ProcessMirrorHeader task executes without an initiator check for ADDSESSION.
- The Java coordinator checks that the current URL equals the initial URL, which passes, then loads the unvalidated URL as a browser-initiated navigation.
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.
Chrome has a special header that Google sites can use to tell the browser to manage accounts. On Android, when handling one type of account action, Chrome does not check what kind of link is in the continue_url parameter. A malicious site could abuse this to make Chrome open dangerous internal pages like chrome://flags, which normal web pages are not allowed to do.
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.