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

Policy bypass in Extensions (CVE-2026-17882)

A logic flaw in the chrome.tabs.duplicate extension API lets a malicious extension duplicate an Isolated Web App popup window without its AppBrowserController. The resulting window hides the location bar, enabling origin spoofing, and lets the extension move the privileged IWA tab into a normal window, bypassing isolation.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 47 days

Flapjack, 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: A logic flaw in the chrome.tabs.duplicate extension API allows a malicious extension to duplicate an Isolated Web App (IWA) popup window, producing a corrupted window missing its AppBrowserController. This missing controller causes the location bar to be hidden (enabling high-fidelity origin spoofing) and bypasses security checks that prevent moving IWA tabs into standard browser windows.

Affected files:

  • chrome/browser/ui/browser_commands.cc
  • chrome/browser/extensions/api/tabs/tabs_api.cc
  • chrome/browser/ui/window_feature_controller/window_feature_controller.cc
  • chrome/browser/ui/navigator/browser_navigator.cc

Estimated timestamp from git blame: Unknown (Google3 checkout)

Description

A vulnerability exists in the implementation of the chrome.tabs.duplicate extension API that allows a malicious extension with the tabs permission to bypass security boundaries for Isolated Web Apps (IWAs). When duplicating a tab from an IWA popup window (type TYPE_APP_POPUP), the resulting window is incorrectly initialized, stripping it of its AppBrowserController.

When chrome.tabs.duplicate is called on a TYPE_APP_POPUP window, execution eventually routes to DuplicateTabAt in chrome/browser/ui/browser_commands.cc. Because a popup window does not support a tab strip, the code falls back to calling CreateAndShowNewWindowWithContents.

Inside CreateAndShowNewWindowWithContents, there is a DCHECK(original_browser->GetType() != BrowserWindowInterface::TYPE_APP_POPUP); which is compiled out in release builds. When handling the popup in production, the logic falls through to an else block because original_browser->GetType() is not TYPE_APP.

C++
new_browser = Browser::Create(Browser::CreateParams(
    original_browser->GetType(), original_browser->GetProfile(), true));

This constructor creates a Browser::CreateParams object but fails to copy the app_name from the original browser. Consequently, when BrowserWindowFeatures::Init runs for the new window, web_app::MaybeCreateAppBrowserController fails to identify the application (since the app_name is empty) and returns nullptr. The window is thus created without an AppBrowserController.

This missing controller has two severe consequences:

  1. Origin Spoofing: In WindowFeatureController::AppPopupBrowserSupportsWindowFeature, the visibility of the location bar (kFeatureLocationBar) requires a valid app_controller_. Because it is null, the function returns false. The popup window displays the content without any origin indicator (Omnibox), enabling high-fidelity spoofing.
  2. IWA Isolation Bypass: The missing AppBrowserController causes validation logic in other extension APIs to fail. In chrome/browser/extensions/api/tabs/tabs_api.cc, WindowsCreateFunction::ValidateTab checks if a tab belongs to an IWA before allowing it to be moved. It relies on AppBrowserController::From(source_browser) to identify IWA windows. Since the duplicated window lacks this controller, the check is bypassed. The extension can now move the privileged IWA tab into a standard TYPE_NORMAL browser window using chrome.tabs.move.

Navigating this incorrectly placed tab causes a CHECK crash in BrowserNavigator, leading to a denial of service.

(Note: These are potential steps, as our tooling agent does not run code directly.)

Potential Steps to Reproduce

  1. Install a Chrome extension with the tabs permission.
  2. Open an Isolated Web App and trigger a popup window (e.g., via window.open('...', '_blank', 'popup=yes')).
  3. Using the extension, call chrome.tabs.duplicate(popupTabId) to duplicate the IWA popup.
  4. Observe that the new window contains the IWA content but lacks a location bar/Omnibox, allowing arbitrary content spoofing.
  5. From the extension, call chrome.tabs.move(duplicatedTabId, {windowId: standardWindowId}).
  6. The IWA tab is successfully moved to a normal window, bypassing the isolation boundary.

Suggested Fix

Update CreateAndShowNewWindowWithContents in chrome/browser/ui/browser_commands.cc to explicitly handle TYPE_APP_POPUP windows by extracting the app_name from the original browser and using the correct Browser::CreateParams factory method (e.g., Browser::CreateParams::CreateForAppPopup).

Evaluated with Chrome root at commit: 65b3256311f3ab6fb9870eaa522de7e6dd2663bb


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

Likely the duplicate path builds the new window with a generic Browser::CreateParams that omits the app_name, so MaybeCreateAppBrowserController returns null and the window has no AppBrowserController.

Impact

A malicious extension could spoof origins by hiding the address bar and could move a privileged IWA tab into a normal window, and navigating that tab may crash the browser; the text notes these steps are potential and were not run.

What the attacker needed

A malicious extension with tabs permission; an IWA popup window is open; user installs the extension

The fix

CreateAndShowNewWindowWithContents should be updated to handle TYPE_APP_POPUP windows by taking the app_name from the original browser and using the correct CreateParams factory method.

How it was found

  1. Install a Chrome extension with the tabs permission.
  2. Open an Isolated Web App and trigger a popup window.
  3. Call chrome.tabs.duplicate on the popup tab to duplicate the IWA popup.
  4. Observe the new window shows IWA content without a location bar.
  5. Call chrome.tabs.move to move the duplicated tab into a standard window.
  6. The IWA tab is moved to a normal window, bypassing the isolation boundary.

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.

An Isolated Web App is a special kind of web app that Chrome treats as more trusted, so it gets its own window without a normal address bar. A browser extension with the 'tabs' permission can ask Chrome to copy a tab, and here that copy lost the internal object that marks the window as an app window. Without that marker, the window shows content with no address bar, so a user cannot tell which site they are really on, and the tab can be moved into an ordinary window.

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.