Skip to content
Access control Advisory Advanced CVE-2026-106326

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.java
  • chrome/android/java/src/org/chromium/chrome/browser/media/MediaViewerUtils.java
  • chrome/android/java/src/org/chromium/chrome/browser/IntentHandler.java
  • chrome/android/java/src/org/chromium/chrome/browser/LaunchIntentDispatcher.java
  • chrome/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

  1. Entry Point: MediaLauncherActivity is 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.
  2. MIME Type Validation Bypass: When MediaLauncherActivity receives an intent, it checks if the data URI is a valid media type. For a URI like customtab://x.mp4?chrome://settings, the scheme is not content://, so it extracts the file extension. The Android framework's MimeTypeMap.getFileExtensionFromUrl() strips the query parameter and extracts .mp4. This matches video/mp4, bypassing the media check.
  3. Privilege Escalation: MediaViewerUtils.getMediaViewerIntent() prepares a navigation intent based on the attacker's data. It calls IntentUtils.addTrustedIntentExtras(intent). Since the intent targets Chrome itself (via ChromeLauncherActivity), Chrome's internal PendingIntent authentication token is attached, marking the intent as trusted.
  4. Defense Bypass: The intent is dispatched to IntentHandler.
    • IntentHandler.getUrlForCustomTab() extracts the navigation URL. For the customtab:// scheme, it returns the decoded query component. For customtab://x.mp4?chrome://settings, this yields chrome://settings.
    • LaunchIntentDispatcher calls shouldIgnoreIntentUrl(). Because the intent contains the trusted PendingIntent token, wasIntentSenderChrome(intent) returns true.
    • shouldIgnoreIntentUrl performs an early return if the sender is Chrome, skipping the intentHasUnsafeUrl() check which is the primary defense against unauthorized chrome:// navigations.
  5. Navigation: The Custom Tab attempts to load the media, but because the scheme is not file://, CustomTabIntentDataProvider does not override the URL. The chrome://settings URL 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.

  1. On an Android device where MediaLauncherActivity is enabled, install a malicious app.
  2. The malicious app sends an explicit intent to org.chromium.chrome.browser.media.MediaLauncherActivity.
  3. Set the intent action to ACTION_VIEW and the data to Uri.parse("customtab://x.mp4?chrome://settings/clearBrowserData").
  4. Execute startActivity(intent).
  5. Observe that Chrome launches and navigates to the chrome://settings/clearBrowserData page 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.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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

  1. On an Android device where MediaLauncherActivity is enabled, install a malicious app.
  2. The malicious app sends an explicit intent to org.chromium.chrome.browser.media.MediaLauncherActivity.
  3. Set the intent action to ACTION_VIEW and the data to a customtab URI whose query contains an internal chrome:// URL.
  4. Execute startActivity(intent).
  5. 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.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.