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

Confused deputy in Contextual Tasks (CVE-2026-106266)

A compromised guest renderer in the Contextual Tasks feature could open a new window to a restricted extension page. The service re-issues the navigation as browser-initiated without an initiator origin, bypassing web_accessible_resources checks and loading the privileged page.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 6 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.

Overview: A compromised guest renderer within the Contextual Tasks WebUI can bypass extension security policies by initiating a new window request. The Contextual Tasks service intercepts the request and re-issues it as a browser-initiated navigation without an initiator origin. This launders the navigation, allowing it to bypass web_accessible_resources checks and load restricted extension pages.

Affected files:

  • chrome/browser/contextual_tasks/contextual_tasks_ui_service.cc
  • chrome/browser/chrome_content_browser_client.cc
  • extensions/browser/extension_navigation_throttle.cc
  • content/browser/renderer_host/render_frame_host_impl.cc

Estimated timestamp from git blame: 2026-04-08

Summary

A potential vulnerability exists in the Contextual Tasks feature where a compromised guest renderer can bypass web_accessible_resources restrictions for installed Chrome extensions. When the guest renderer requests a new window, the ContextualTasksUiService intercepts the request and manually triggers the navigation using a newly instantiated content::NavigationController::LoadURLParams. Because it does not propagate the original initiator_origin or set is_renderer_initiated, the browser treats the request as a trusted, browser-initiated navigation, bypassing extension security boundaries.

Note: The following steps and analysis are suggested/potential scenarios based on source code analysis, as our tooling agent does not currently run active exploit code to verify them dynamically.

Potential Attack Scenario

  1. An attacker compromises the sandboxed guest renderer used by the Contextual Tasks feature (e.g., via an XSS payload in the web content it loads).
  2. The attacker executes JavaScript to open a new window pointing to a sensitive, non-web-accessible internal page of an installed extension: window.open("chrome-extension://<target_id>/secret_page.html").
  3. The browser process receives the mojom::Frame::CreateNewWindow IPC.
  4. The chrome-extension:// URL passes the initial FilterURL check because the scheme is registered as a WebSafeIsolated scheme, making it generally requestable.
  5. The Contextual Tasks service intercepts the request, aborts the standard window creation, and opens the URL in a new tab as a browser-initiated navigation.
  6. The new tab successfully loads the internal extension page, bypassing the extension's manifest restrictions and exposing its privileged context to the attacker.

Root Cause Analysis

The vulnerability stems from a loss of navigation context during request interception.

  1. Interception: In chrome/browser/chrome_content_browser_client.cc:4425 (ChromeContentBrowserClient::CanCreateWindow), the Contextual Tasks feature intercepts the window.open call. It passes is_from_embedded_page = true and is_to_new_tab = true to contextual_tasks_ui_service->HandleNavigation().
  2. Forced Link Handling: Inside ContextualTasksUiService::HandleNavigationImpl, the combination of is_from_embedded_page and is_to_new_tab forces the is_allowed_host check to evaluate to false (line 925). Consequently, the code falls through to line 979, posting a task to OnThreadLinkClicked and returning true to abort standard window creation.
  3. Context Loss (Laundering): In OnThreadLinkClicked (chrome/browser/contextual_tasks/contextual_tasks_ui_service.cc:474), a new tab is created and navigated using: new_contents->GetController().LoadURLWithParams(content::NavigationController::LoadURLParams(url)); By default, the LoadURLParams constructor initializes is_renderer_initiated to false and initiator_origin to std::nullopt.
  4. Policy Bypass: As the navigation starts, ExtensionNavigationThrottle::WillStartOrRedirectRequest (extensions/browser/extension_navigation_throttle.cc:356) checks if there is an initiator_origin. Seeing nullopt, it treats the navigation as an "Automatically trusted" browser-initiated navigation (like a user typing in the omnibox) and returns content::NavigationThrottle::PROCEED. This fully bypasses the web_accessible_resources checks.

Suggested Fix

When constructing LoadURLParams in ContextualTasksUiService::OnThreadLinkClicked (or the methods calling it), the original navigation context must be preserved.

The HandleNavigation method should accept the initiator_origin from the source_contents, and this origin should be explicitly assigned to LoadURLParams::initiator_origin. Additionally, LoadURLParams::is_renderer_initiated should be set to true when the original action was renderer-initiated. Alternatively, HandleNavigationImpl should explicitly reject unhandled or sensitive schemes (like chrome-extension://) before treating them as thread link clicks.

Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b


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.

Raised in root component due to access or custom field issues on 1516765

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 Contextual Tasks service re-issues a renderer-initiated window request as a browser-initiated navigation without carrying over the initiator origin, so extension navigation checks treat it as trusted.

Impact

A compromised guest renderer could load a restricted extension page and expose its privileged context to the attacker; the report notes the scenario is based on source code analysis and was not dynamically verified.

What the attacker needed

Compromised guest renderer; target extension installed; attacker can run JavaScript

The fix

The navigation context should be preserved by passing the original initiator origin and renderer-initiated flag into the new navigation, or sensitive schemes such as chrome-extension should be rejected before being treated as thread link clicks.

How it was found

  1. Compromise the sandboxed guest renderer used by Contextual Tasks, for example through cross-site scripting in loaded content.
  2. Run JavaScript that opens a new window to a non-web-accessible internal page of an installed extension.
  3. The browser receives the new-window request and the extension URL passes the initial scheme check.
  4. The Contextual Tasks service intercepts the request, aborts normal window creation, and opens the URL in a new tab as a browser-initiated navigation.
  5. The new tab loads the internal extension page, bypassing the extension's manifest restrictions.

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.

Extensions can mark some of their pages as off-limits to normal web pages. This report says a malicious page inside a special Chrome feature could ask the browser to open one of those off-limits pages, and the browser would treat the request as if the user had typed the address, so it would allow 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.

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.