Skip to content
Mobile Advisory Advanced CVE-2026-79254

Incorrect reference resolution in CustomTabs (CVE-2026-79254)

Chrome's Custom Tabs 'Open in browser' action dispatched an implicit intent without the BROWSABLE category, so on devices with no default browser the URL could resolve to non-browsable activities in other apps. A web origin could therefore deliver attacker-controlled deep links to internal activities that developers had deliberately kept unreachable from the web.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 43 days

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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: When a user selects 'Open in browser' in a Chrome Custom Tab (CCT), Chrome dispatches an implicit ACTION_VIEW intent with the active URL but fails to set Intent.CATEGORY_BROWSABLE. Under specific system conditions where no default browser has been selected, this intent can resolve to and launch non-browsable activities of other installed apps. This allows a web origin to potentially bypass the CATEGORY_BROWSABLE security boundary and deliver arbitrary deep-links to internal, non-web-reachable activities.

Affected files:

  • chrome/android/java/src/org/chromium/chrome/browser/customtabs/content/CustomTabActivityNavigationController.java

Estimated timestamp from git blame: 2016-01-14

Description

There is a potential security boundary bypass in Chrome Custom Tabs (CCT) on Android. When a user selects "Open in browser" from the CCT overflow menu or custom toolbar buttons, Chrome dispatches an implicit ACTION_VIEW intent containing the current tab's URL. However, this intent does not contain the Intent.CATEGORY_BROWSABLE category.

Under standard Android intent resolution rules, an implicit intent with no categories can match any activity whose intent-filter contains <category android:name="android.intent.category.DEFAULT" />, regardless of whether it lacks CATEGORY_BROWSABLE. App developers omit CATEGORY_BROWSABLE specifically to prevent web-to-app launches and secure their internal deep-link handlers. By dispatching a web-derived URL in an intent without CATEGORY_BROWSABLE, Chrome can accidentally route arbitrary attacker-controlled web URLs to these internal, non-web-reachable activities.

Root Cause and Analysis

In chrome/android/java/src/org/chromium/chrome/browser/customtabs/content/CustomTabActivityNavigationController.java, the openCurrentUrlInBrowser() method prepares the intent:

Java
// Line 368-370
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.putExtra(IntentHandler.EXTRA_FROM_OPEN_IN_BROWSER, true);

Note that no category is added to the intent.

If multiple browsers are installed and no default is set on the device, DefaultBrowserInfo.getDefaultWebBrowserInfo() returns the system's ResolverActivity (package name "android"). The package check on line 373-376 restricts the package to "android", fails to resolve the https scheme for that package, and clears the package restriction:

Java
ResolveInfo resolveInfo = DefaultBrowserInfo.getDefaultWebBrowserInfo();
if (resolveInfo != null) {
    intent.setPackage(resolveInfo.activityInfo.packageName);
    // crbug.com/40801270
    if (intent.resolveActivity(mActivity.getPackageManager()) == null) {
        intent.setPackage(null);
    }
}

As a result, the intent is dispatched as a fully implicit intent with setPackage(null). Since the intent target is external and willChromeHandleIntent returns false, execution falls through to the final fallback block:

Java
// Line 425-427
} else if (PackageManagerUtils.canResolveActivity(intent)) {
    mActivity.startActivity(intent, startActivityOptions);
    finish(FinishReason.OPEN_IN_BROWSER);
}

The intent is then dispatched globally without CATEGORY_BROWSABLE, matching and potentially opening non-browsable activities.

This behavior is an asymmetric contrast to the similar menu context-path in chrome/android/java/src/org/chromium/chrome/browser/tab/TabContextMenuItemDelegate.java which correctly enforces the security restriction:

Java
// Line 565-566
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url.getSpec()));
intent.addCategory(Intent.CATEGORY_BROWSABLE); // Enforced category

Potential Trigger Steps

Note: The following are suggested/potential steps to demonstrate the issue, as our tooling agent does not currently have the capability to execute code or run interactive proofs.

  1. Prepare an Android device with at least two web browsers installed, and with no default browser chosen in system settings.
  2. Install a test application containing an activity that handles https://victim-host.example and defines the CATEGORY_DEFAULT category but explicitly omits CATEGORY_BROWSABLE.
  3. Launch a Chrome Custom Tab to https://attacker.test/ from any third-party app.
  4. Within the CCT, navigate to https://victim-host.example/sensitive_action?command=evil.
  5. Tap the CCT menu or toolbar option to "Open in browser".
  6. Observe that the non-browsable activity is either presented in the chooser or launched directly, bypassing the CATEGORY_BROWSABLE restriction.

Suggested Fix

Explicitly sanitize the intent or add Intent.CATEGORY_BROWSABLE in CustomTabActivityNavigationController.openCurrentUrlInBrowser() prior to checking resolution and dispatching, mirroring the fix implemented in TabContextMenuItemDelegate:

Java
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
intent.addCategory(Intent.CATEGORY_BROWSABLE);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

Evaluated with Chrome root at commit: b5b015ea5f690560237d1f0cff1405844cd12b8d


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.

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

The intent built in openCurrentUrlInBrowser() never adds Intent.CATEGORY_BROWSABLE, and when no default browser is set the package restriction is cleared, leaving a fully implicit intent that can match non-browsable activities.

Impact

A web page could potentially reach internal activities that apps had intentionally excluded from web launches, but only on devices with no default browser set and only after the user taps 'Open in browser'; the report gives no executed proof.

What the attacker needed

Android device; two or more browsers installed; no default browser selected; victim taps 'Open in browser'

The fix

The intent should add Intent.CATEGORY_BROWSABLE before resolution and dispatch, matching the existing menu code path.

How it was found

  1. Set up a device with two or more browsers and no default browser selected.
  2. Install a test app whose activity handles the target host with CATEGORY_DEFAULT but not CATEGORY_BROWSABLE.
  3. Open a Custom Tab to an attacker page from a third-party app.
  4. Navigate the Custom Tab to the target host's sensitive action URL.
  5. Choose 'Open in browser' from the Custom Tab menu or toolbar.
  6. Observe the non-browsable activity being offered or launched.

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.

On Android, apps can register to handle links, and a special marker called BROWSABLE is meant to say 'only web links may reach this screen'. Chrome's Custom Tab had a button that opened the current page in another app, but it forgot to add that marker, so the link could reach screens that were never meant to be opened from a website. This only mattered when the phone had several browsers and no default one chosen.

What is Mobile?

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Mobile app vulnerabilities

The lesson behind this report.

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.