Confused deputy in UI (CVE-2026-106326)
A confused deputy flaw in Chrome for Android's MediaLauncherActivity lets a malicious local app pass a crafted URI that bypasses media-type validation and is re-dispatched as a trusted intent, so Chrome navigates to restricted internal chrome:// URLs. This could expose sensitive WebUI surfaces such as settings or flags without user interaction.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 5 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 https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: A confused deputy vulnerability in MediaLauncherActivity potentially allows a malicious local app to navigate Chrome to restricted internal chrome:// URLs. By passing a crafted URI to the exported MediaLauncherActivity, an attacker can bypass intent filtering, upgrade the intent to trusted status, and evade the unsafe URL checks.
Affected files:
chrome/android/java/src/org/chromium/chrome/browser/media/MediaLauncherActivity.javachrome/android/java/src/org/chromium/chrome/browser/media/MediaViewerUtils.javachrome/android/java/src/org/chromium/chrome/browser/IntentHandler.javachrome/android/java/src/org/chromium/chrome/browser/LaunchIntentDispatcher.javachrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java
Estimated timestamp from git blame: 2026-01-21
Summary
A potential logic flaw in Chrome for Android allows an attacker-controlled application to bypass the internal URL security defense. This defense is designed to prevent external applications from navigating to internal schemes, protecting sensitive URLs such as chrome://settings or chrome://flags.
The vulnerability stems from a confused-deputy pattern where MediaLauncherActivity processes an untrusted intent, validates its media type using a bypassable method, and then re-dispatches it as a 'trusted' intent originating from Chrome itself.
Technical Details
- Entry Point:
MediaLauncherActivityis an exported activity (android:exported="true") reachable by explicit intents from any installed application. It is enabled at runtime on specific devices like Android Go or enterprise-managed profiles. - MIME Type Validation Bypass: When
MediaLauncherActivityreceives an intent, it checks if the data URI is a valid media type. For a URI likecustomtab://x.mp4?chrome://settings, the scheme is notcontent://, so it extracts the file extension. The Android framework'sMimeTypeMap.getFileExtensionFromUrl()strips the query parameter and extracts.mp4. This matchesvideo/mp4, bypassing the media check. - Privilege Escalation:
MediaViewerUtils.getMediaViewerIntent()prepares a navigation intent based on the attacker's data. It callsIntentUtils.addTrustedIntentExtras(intent). Since the intent targets Chrome itself (viaChromeLauncherActivity), Chrome's internalPendingIntentauthentication token is attached, marking the intent as trusted. - Defense Bypass: The intent is dispatched to
IntentHandler.IntentHandler.getUrlForCustomTab()extracts the navigation URL. For thecustomtab://scheme, it returns the decoded query component. Forcustomtab://x.mp4?chrome://settings, this yieldschrome://settings.LaunchIntentDispatchercallsshouldIgnoreIntentUrl(). Because the intent contains the trustedPendingIntenttoken,wasIntentSenderChrome(intent)returns true.shouldIgnoreIntentUrlperforms an early return if the sender is Chrome, skipping theintentHasUnsafeUrl()check which is the primary defense against unauthorizedchrome://navigations.
- Navigation: The Custom Tab attempts to load the media, but because the scheme is not
file://,CustomTabIntentDataProviderdoes not override the URL. Thechrome://settingsURL is loaded.
Impact
This vulnerability potentially allows an installed malicious application to force Chrome to navigate to any internal chrome://, chrome-native://, or about: URL. This bypasses the security boundary intended to keep these pages unreachable from external apps, exposing sensitive WebUI surfaces.
Potential Reproduction Steps
Note: These are suggested steps based on source code analysis; we do not have a working PoC.
- On an Android device where
MediaLauncherActivityis enabled, install a malicious app. - The malicious app sends an explicit intent to
org.chromium.chrome.browser.media.MediaLauncherActivity. - Set the intent action to
ACTION_VIEWand the data toUri.parse("customtab://x.mp4?chrome://settings/clearBrowserData"). - Execute
startActivity(intent). - Observe that Chrome launches and navigates to the
chrome://settings/clearBrowserDatapage without user interaction.
Suggested Fix
Add a security check within MediaLauncherActivity.onCreate() to validate incoming intents before processing them. By calling IntentHandler.shouldIgnoreIntent(input, false), Chrome will evaluate the target URL against its unsafe URL list, effectively blocking chrome:// payloads originating from external sources before they are repackaged as trusted intents.
Evaluated with Chrome root at commit: eca8648a4e1cdfdda68c495a6003059fed641955
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
Likely the exported MediaLauncherActivity validates the media type using a method that can be bypassed, then re-dispatches the intent with Chrome's trusted token, causing later unsafe-URL checks to be skipped.
Impact
A malicious installed app could force Chrome to navigate to any internal chrome://, chrome-native://, or about: URL, bypassing the boundary meant to keep these pages unreachable from external apps and exposing sensitive WebUI surfaces.
What the attacker needed
MediaLauncherActivity enabled on device; Malicious app installed; No user interaction required
The fix
The report suggests adding a security check in MediaLauncherActivity.onCreate() that calls IntentHandler.shouldIgnoreIntent(input, false) to evaluate the target URL against the unsafe URL list before repackaging it as a trusted intent.
How it was found
- On an Android device where MediaLauncherActivity is enabled, install a malicious app.
- The malicious app sends an explicit intent to org.chromium.chrome.browser.media.MediaLauncherActivity.
- Set the intent action to ACTION_VIEW and the data to a customtab URI whose query contains an internal chrome:// URL.
- Execute startActivity(intent).
- Observe that Chrome launches and navigates to the internal chrome:// page without user interaction.
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 for Android normally blocks other apps from opening its internal pages, like settings or flags, because those pages can be sensitive. A confused deputy is when a trusted program is tricked into doing something on behalf of an untrusted app. Here, a Chrome component that handles media links was tricked into treating an attacker's link as if it came from Chrome itself, so the internal page opened.
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.