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.ccchrome/browser/chrome_content_browser_client.ccextensions/browser/extension_navigation_throttle.cccontent/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
- 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).
- 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"). - The browser process receives the
mojom::Frame::CreateNewWindowIPC. - The
chrome-extension://URL passes the initialFilterURLcheck because the scheme is registered as aWebSafeIsolatedscheme, making it generally requestable. - 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.
- 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.
- Interception: In
chrome/browser/chrome_content_browser_client.cc:4425(ChromeContentBrowserClient::CanCreateWindow), the Contextual Tasks feature intercepts thewindow.opencall. It passesis_from_embedded_page = trueandis_to_new_tab = truetocontextual_tasks_ui_service->HandleNavigation(). - Forced Link Handling: Inside
ContextualTasksUiService::HandleNavigationImpl, the combination ofis_from_embedded_pageandis_to_new_tabforces theis_allowed_hostcheck to evaluate tofalse(line 925). Consequently, the code falls through to line 979, posting a task toOnThreadLinkClickedand returningtrueto abort standard window creation. - 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, theLoadURLParamsconstructor initializesis_renderer_initiatedtofalseandinitiator_origintostd::nullopt. - Policy Bypass: As the navigation starts,
ExtensionNavigationThrottle::WillStartOrRedirectRequest(extensions/browser/extension_navigation_throttle.cc:356) checks if there is aninitiator_origin. Seeingnullopt, it treats the navigation as an "Automatically trusted" browser-initiated navigation (like a user typing in the omnibox) and returnscontent::NavigationThrottle::PROCEED. This fully bypasses theweb_accessible_resourceschecks.
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
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
- Compromise the sandboxed guest renderer used by Contextual Tasks, for example through cross-site scripting in loaded content.
- Run JavaScript that opens a new window to a non-web-accessible internal page of an installed extension.
- The browser receives the new-window request and the extension URL passes the initial scheme check.
- The Contextual Tasks service intercepts the request, aborts normal window creation, and opens the URL in a new tab as a browser-initiated navigation.
- 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.