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

Missing authorization in Browser (CVE-2026-87556)

Search prefetch cache hits served through Service Worker navigation preload or synthetic response paths skip the extension proxying step, so navigations are not observed by WebRequest or DeclarativeNetRequest. A website acting as the default search engine could therefore serve cached content that evades extension-based blocking, auditing and data-loss-prevention policies.

Google Chrome

Originally disclosed on Chrome VRP

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

Overview: Search prefetch cache hits served through Service Worker navigation preload or synthetic response paths bypass extension monitoring (WebRequest and DeclarativeNetRequest). This occurs because the Service Worker navigation stack fails to apply the necessary extension proxying to the cached responses, allowing navigations to circumvent security policies.

Affected files:

  • chrome/browser/chrome_content_browser_client.cc
  • content/browser/service_worker/service_worker_client.cc
  • chrome/browser/preloading/prefetch/search_prefetch/search_prefetch_url_loader_interceptor.cc
  • content/browser/service_worker/service_worker_fetch_dispatcher.cc
  • content/browser/service_worker/service_worker_main_resource_loader.cc

Estimated timestamp from git blame: 2023-06-07

Description

A potential logic flaw has been identified in Chrome's Service Worker navigation stack where search results served from the Search Prefetch cache bypass Extension-based monitoring and security policies (e.g., WebRequest and DeclarativeNetRequest).

Normally, when a navigation hit occurs in the Search Prefetch cache, the SearchPrefetchURLLoaderInterceptor ensures the response is wrapped in a proxying handler that extensions can observe. However, when a navigation is intercepted by a Service Worker—specifically via the Navigation Preload or Synthetic Response optimization paths—this proxying step is omitted.

Potential Root Cause Analysis

The issue appears to stem from missing proxying logic in three specific locations:

  1. Embedder Hook: In chrome/browser/chrome_content_browser_client.cc, the function CreateURLLoaderHandlerForServiceWorkerInitiatedNavigationRequest (lines 6680-6687) retrieves a handler for search prefetch hits by calling SearchPrefetchURLLoaderInterceptor::MaybeCreateLoaderForRequest directly. Unlike the standard navigation interceptor path, it fails to invoke MaybeProxyRequestHandler, resulting in an unmonitored handler being returned to the Service Worker stack.

  2. Navigation Preload Path: In content/browser/service_worker/service_worker_client.cc, for the kNavigationPreload case (lines 1281-1296), if the embedder returns a handler (the unproxied Search Prefetch handler), the code immediately returns a SingleRequestURLLoaderFactory wrapping that handler. This skips the subsequent call to WillCreateURLLoaderFactory (line 1328), which is the standard bottleneck for installing WebRequest proxies.

  3. Synthetic Response Path: In content/browser/service_worker/service_worker_main_resource_loader.cc, the MaybeStartSyntheticNetworkRequest function (lines 1087-1105) takes the unproxied handler and runs it directly (handler.value().Run(...)). This bypasses any URLLoaderFactory creation or extension proxying for the navigation.

Potential Impact

This bypass allows a website (specifically the user's Default Search Engine) to serve cached content that circumvents extension-based security and auditing controls. This includes Enterprise Data Loss Prevention (DLP), SafeSearch enforcement, or privacy-enhancing extensions that strip headers.

While the initial speculative prefetch request is monitored, it is typically observed with a tabId of -1. Many security policies are specifically scoped to main_frame navigations or specific tab IDs. These policies are bypassed because the actual navigation event, when served from the cache via the Service Worker path, is never observed by the extension.

Suggested Potential Reproduction Steps

  1. Configure a test Default Search Engine (DSE) origin.
  2. Register a Service Worker on that origin that enables navigation preload: self.registration.navigationPreload.enable().
  3. In the Service Worker's fetch handler, use the preload response: event.respondWith(event.preloadResponse).
  4. Install an extension that uses webRequest to block the DSE URL for main_frame navigations, conditioned on a valid tabId (> -1).
  5. Trigger a search prefetch by typing a query in the omnibox. The extension will see a prefetch request (tabId: -1) and will likely allow it.
  6. Commit the navigation (press Enter).
  7. Observation: If the SRP is served via the Service Worker synthetic or preload path, the content may be committed without the extension receiving a navigation-time WebRequest event, effectively bypassing the block rule.

Suggested Fix

  1. In chrome/browser/chrome_content_browser_client.cc, update CreateURLLoaderHandlerForServiceWorkerInitiatedNavigationRequest to wrap the returned handler in MaybeProxyRequestHandler (which may need to be exposed or the proxying logic abstracted).
  2. In the Service Worker stack, ensure that even when an embedder-provided handler is used for navigation preload, the resulting loader or factory is still passed through the standard extension interception hooks (WillCreateURLLoaderFactory).

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.

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 Service Worker navigation paths return the search prefetch handler directly without passing it through the standard extension proxying hook, so WebRequest and DeclarativeNetRequest never see the navigation.

Impact

A site acting as the default search engine could serve cached content that bypasses extension-based security and auditing controls such as enterprise data loss prevention, SafeSearch enforcement or header-stripping privacy extensions, though the report only describes this as a potential issue.

What the attacker needed

Site is the default search engine; site registers a Service Worker; victim has a blocking extension installed

The fix

The handler returned for Service Worker initiated navigations should be wrapped in the extension proxying logic, and embedder-provided handlers should still pass through the standard extension interception hook.

How it was found

  1. Set up a test default search engine origin.
  2. Register a Service Worker on that origin that enables navigation preload.
  3. Make the Service Worker's fetch handler respond with the preload response.
  4. Install an extension that blocks the search engine URL for main-frame navigations when a valid tab ID is present.
  5. Type a query in the omnibox to trigger a search prefetch, which the extension sees with a tab ID of -1 and allows.
  6. Press Enter to commit the navigation and observe that no navigation-time event reaches the extension.

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.

Browser extensions can watch and block web requests, for example to stop a page loading or to enforce a company rule. Chrome has a shortcut that caches search results in advance, and when those cached results are handed back through a background script called a Service Worker, the extension is never told about the final page load. That means a rule that should have blocked the page can be silently skipped.

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.