Inappropriate implementation in Extensions (CVE-2026-13822)
In experimental Desktop-Android builds, extension keyboard shortcuts resolve the active tab using a process-global list that ignores window boundaries. This could let an extension gain host access to a sensitive site in a background window when the user triggers the shortcut in a different foreground window.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 48 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 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: In experimental Desktop-Android builds, extension keyboard shortcuts resolve the active tab using a global list, ignoring window boundaries. This may allow an extension to gain host access to a sensitive site in a background window when the user interacts with the extension in a separate foreground window.
Affected files:
chrome/browser/ui/android/extensions/extension_keybinding_registry_android.ccchrome/browser/ui/android/extensions/extensions_toolbar_android.cc
Estimated timestamp from git blame: 2026-03-05
Summary
In the experimental Desktop-Android implementation of Chrome (enabled via the GN argument is_desktop_android = true), extension keyboard shortcuts (commands) may incorrectly resolve the target WebContents by iterating through a process-global TabModelList. In multi-instance or split-screen scenarios, this logic fails to account for multiple windows each having its own 'active' tab model. This potentially allows an extension to be granted the activeTab permission for a sensitive site open in a background window, even when the user intended to trigger the shortcut on a different foreground window.
Root Cause Analysis
In chrome/browser/ui/android/extensions/extensions_toolbar_android.cc, the ExtensionsToolbarAndroid instance is window-scoped, but it initializes its keybinding registry delegate without a reference to its parent window:
keybinding_registry_(std::make_unique<ExtensionKeybindingRegistryAndroid>(
browser_->GetProfile(),
toolbar_view_model_.get())),
The registry's delegate, ExtensionKeybindingRegistryDelegateAndroid, implements GetWebContentsForExtension in chrome/browser/ui/android/extensions/extension_keybinding_registry_android.cc by searching through all available tab models in the process:
content::WebContents* GetWebContentsForExtension() override {
for (const TabModel* model : TabModelList::models()) {
if (model->GetProfile() != context_) {
continue;
}
if (model->IsActiveModel()) {
return model->GetActiveWebContents();
}
}
return nullptr;
}
TabModelList::models() is a process-global singleton containing TabModel instances from all open windows. The TabModel::IsActiveModel() property indicates whether a model is currently selected (e.g., regular vs. incognito) within its respective window's TabModelSelector.
In a multi-window environment where two regular-profile windows are open, both regular TabModel instances will return true for IsActiveModel(). Because the delegate iterates through the global list in insertion order, it will deterministically return the WebContents from the window that was opened first, regardless of which window actually received the keyboard event.
Security Impact
The activeTab permission model ensures that an extension only receives host access to the specific tab the user is actively targeting via a deliberate interaction. This logic flaw breaks that security boundary by misrouting the permission grant to a background window. A malicious extension with a configured keyboard shortcut and activeTab permission could gain cross-origin scripting access and read sensitive data from a high-value site in a background window when the user intended to invoke the shortcut on a benign site in the foreground.
Potential Reproduction Steps
Note: These steps are based on source code analysis of the experimental Desktop-Android feature.
- Build Chrome for Android with the GN argument
is_desktop_android = true. - Install an extension that requests the
activeTabpermission and defines a keyboard command (e.g.,Ctrl+Shift+Y) in its manifest. - Open Window A and navigate its active tab to a sensitive site (e.g.,
https://bank.example). - Using Android multi-instance features (e.g., split-screen), open Window B and navigate its active tab to a benign site (e.g.,
https://news.example). - Focus Window B and press the extension's keyboard shortcut on a hardware keyboard.
- The extension's command listener may receive the
tabobject for the site in Window A instead of the intended site in Window B, effectively granting the extension unauthorized access to Window A.
Suggested Fix
The ExtensionKeybindingRegistryDelegateAndroid should be scoped to its specific window. Instead of searching the global TabModelList, the delegate should be initialized with a reference to the BrowserWindowInterface (available in ExtensionsToolbarAndroid) and use that reference to resolve the active WebContents within the correct window context.
Evaluated with Chrome root at commit: b3153093eb3c78c3e88ccf562bcbc20437a04b0e
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
The extension keybinding registry delegate is not scoped to its own window and instead searches a process-global list of tab models, returning the first active model regardless of which window received the keyboard event.
Impact
A malicious extension with a keyboard shortcut and activeTab permission could gain cross-origin scripting access and read sensitive data from a high-value site in a background window, though this only affects experimental Desktop-Android builds.
What the attacker needed
Experimental Desktop-Android build; malicious extension with activeTab and a shortcut; two windows open in split-screen; user presses the shortcut in the wrong window
The fix
The delegate should be scoped to its specific window and resolve the active WebContents using a reference to the BrowserWindowInterface instead of the global TabModelList.
How it was found
- Build Chrome for Android with the experimental Desktop-Android flag enabled.
- Install an extension that requests the activeTab permission and defines a keyboard shortcut.
- Open one window and navigate its active tab to a sensitive site.
- Open a second window in split-screen and navigate its active tab to a benign site.
- Focus the second window and press the extension's keyboard shortcut.
- The extension may receive the tab object for the sensitive site in the first window instead of the intended site.
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 extensions can ask for permission to access the page you are currently looking at, called the activeTab permission. In this experimental Android build, the code that decides which page that is looks at all open windows and picks the first one, not the window you are actually using. So an extension could end up with access to a page in another window, such as your bank, without you intending it.
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.