Race condition in Voice (CVE-2026-113164)
A time-of-check time-of-use flaw in Chrome for Android's intent handling lets a malicious app bypass the check that blocks privileged chrome:// URLs. On a cold start, the safety check runs before the browser is ready and sees a null URL, then later the real attacker-supplied URL is used without validation.
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 security team.
Overview: A Time-of-Check Time-of-Use (TOCTOU) vulnerability exists in Chrome for Android's intent handling during a cold start. State-dependent URL extraction causes Chrome to validate a null URL before native initialization, and later extract and navigate to an unvalidated attacker-controlled URL after native initialization.
Affected files:
chrome/android/java/src/org/chromium/chrome/browser/IntentHandler.javachrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
Estimated timestamp from git blame: 2025-05-15
Technical Analysis
A Time-of-Check Time-of-Use (TOCTOU) vulnerability exists in Chrome for Android's intent handling during a cold start. The vulnerability allows a malicious external application to bypass intentHasUnsafeInternalScheme checks and navigate Chrome to privileged chrome:// URLs.
The root cause is an inconsistency in how IntentHandler.getUrlFromIntent() behaves before and after the native library is loaded, combined with a caching mechanism in ChromeTabbedActivity.shouldIgnoreIntent().
- Pre-Native Validation: During a cold start,
ChromeTabbedActivity.onCreateinitializesAppLaunchDrawBlocker, which triggersChromeTabbedActivity.shouldIgnoreIntent(). This method computes whether the intent is safe and permanently caches the result inmShouldIgnoreIntent. To evaluate the intent, it callsIntentHandler.getUrlFromIntent(). For aVOICE_SEARCH_RESULTSintent, it callsgetUrlFromVoiceSearchResult(). Because the native browser process is not yet fully started,!BrowserStartupController.getInstance().isFullBrowserStarted()evaluates to true, and the method short-circuits, returningnull. - Validation of Null:
IntentHandler.shouldIgnoreIntentUrlevaluates thisnullURL. It determines that anullURL does not contain an unsafe internal scheme, so the intent is deemed safe. The cache is set:mShouldIgnoreIntent = false. - Post-Native Navigation: Once the native library finishes loading,
ChromeTabbedActivity.initializeState()executes. It retrieves the cachedshouldIgnoreIntent()result (which isfalse) and proceeds tomaybeHandleSingleUrlIntent(). This method re-invokesgetUrlFromIntent(). Now that the browser is fully started,getUrlFromVoiceSearchResult()successfully extracts the attacker-controlled URL fromEXTRA_VOICE_SEARCH_RESULT_URLS. This URL is then passed directly to the navigation logic without any scheme validation.
Because the security validation happened against a null URL pre-native, but the actual navigation uses the raw URL extracted post-native, the chrome:// scheme restriction is entirely bypassed.
Impact
Any installed Android app can silently navigate Chrome to arbitrary chrome:// pages (e.g., chrome://flags, chrome://settings) on cold start. This allows an attacker to bypass the security boundary intended to prevent external applications from accessing privileged browser internal pages.
Suggested Reproduction Steps
Note: These are potential steps to trigger the vulnerability based on code analysis; they have not been executed in a live environment.
- Ensure Chrome is not running (force stop or ensure a cold start).
- Use a malicious Android app to send the following Intent to Chrome:
- Action:
android.speech.action.VOICE_SEARCH_RESULTS - Extra
android.speech.extras.VOICE_SEARCH_RESULT_STRINGS:["search_term"] - Extra
android.speech.extras.VOICE_SEARCH_RESULT_URLS:["chrome://settings"]
- Action:
- Observe that Chrome starts and navigates to
chrome://settingswithout any user interaction or validation error.
Suggested Fix
- Re-evaluate URL Safety: Do not cache the result of
shouldIgnoreIntent()across the pre-native and post-native boundary. Alternatively, explicitly re-validate the URL inmaybeHandleSingleUrlIntentright after it is extracted viagetUrlFromIntent(), ensuring thatintentHasUnsafeInternalSchemeandisValidUrlare checked immediately before navigation. - Safe URL Extraction: Refactor
getUrlFromVoiceSearchResultso that its URL extraction logic does not depend onisFullBrowserStarted(), ensuring consistent URL extraction regardless of the browser's native initialization state.
Evaluated with Chrome root at commit: 137d451a126685dd5010e6609db9f6d4a78d8234
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 safety check result is cached before the browser is fully started, when the URL is null, and the same cached result is trusted later when the real URL is extracted and used without re-validation.
Impact
Any installed Android app could silently navigate Chrome to arbitrary chrome:// pages on cold start, bypassing the security boundary that prevents external apps from accessing privileged internal pages.
What the attacker needed
Chrome for Android installed; Malicious app installed on the device; Chrome is not running (cold start)
The fix
The report suggests not caching the safety check across the pre-native and post-native boundary, or re-validating the URL immediately before navigation, and refactoring URL extraction to not depend on browser startup state.
How it was found
- Ensure Chrome is not running (cold start).
- A malicious Android app sends a VOICE_SEARCH_RESULTS intent with a chrome:// URL in the extra.
- Chrome starts and navigates to the chrome:// URL without user interaction or validation error.
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 Chrome starts, it first checks whether an incoming link is safe, but at that moment it cannot yet read the link and treats it as empty. Later, once Chrome is fully running, it reads the real link and opens it without checking again. A malicious app can exploit this gap to make Chrome open its own internal settings pages.
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.