Information leak in ServiceWorker (CVE-2026-79024)
A Service Worker race-network-request navigation loader was created with browser-process privileges, so the network layer skipped its manual-redirect censoring of non-HTTP(S) URLs. A compromised renderer could therefore read raw internal or extension redirect targets that should have been hidden from it.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 3 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: A security boundary violation in the Service Worker race-network-request path potentially allows a compromised renderer to observe uncensored non-HTTP(S) redirect targets in manual redirect mode. This bypass occurs because the underlying loader factory is created with browser-process privileges, whereas the client data pipe is fused directly to the renderer. Consequently, manual redirect censoring in the network process is skipped, potentially leaking internal redirect targets.
Affected files:
services/network/cors/cors_url_loader.cccontent/common/service_worker/forwarded_race_network_request_url_loader_factory.cccontent/browser/loader/navigation_url_loader_impl.cccontent/common/service_worker/race_network_request_url_loader_client.cccontent/browser/service_worker/service_worker_client.cc
Estimated timestamp from git blame: 2026-02-17
Root Cause Analysis
In CorsURLLoader::OnReceiveRedirect, when redirect_mode == kManual, any non-HTTP(S) redirect_info.new_url is designed to be censored to "data:," before being forwarded to the client, unless the loader believes the navigation is browser-initiated:
// services/network/cors/cors_url_loader.cc
if (request_.redirect_mode == mojom::RedirectMode::kManual) {
...
net::RedirectInfo censored_redirect_info = redirect_info;
const bool is_browser_navigation =
request_.mode == mojom::RequestMode::kNavigate &&
process_id_ == OriginatingProcessId::browser();
if (!is_browser_navigation &&
!redirect_info.new_url.SchemeIsHTTPOrHTTPS()) {
censored_redirect_info.new_url = GURL("data:,");
}
...
forwarding_client_->OnReceiveRedirect(censored_redirect_info,
std::move(response_head));
This censoring acts as a defense-in-depth mechanism to protect the renderer from observing sensitive non-HTTP(S) redirect targets (such as internal schemes, custom protocols, or extension URLs).
However, for a Service Worker race-network-request main-resource navigation, this censoring check is bypassed. The loader factory for the race request is created via ServiceWorkerClient::CreateNetworkURLLoaderFactory and NavigationURLLoaderImpl::CreateURLLoaderFactoryWithHeaderClient, which configures the factory with browser process credentials:
// content/browser/loader/navigation_url_loader_impl.cc
network::mojom::URLLoaderFactoryParamsPtr params =
network::mojom::URLLoaderFactoryParams::New();
params->header_client = std::move(header_client);
params->process_id = network::OriginatingProcessId::browser();
params->is_trusted = true;
Because process_id is set to OriginatingProcessId::browser(), the CorsURLLoader evaluates is_browser_navigation to true and skips the redirect URL censoring, assuming the redirect will be handled safely within the browser process. In reality, the client data-pipe of the race-network-request is eventually fused directly to the renderer's URLLoaderClient in ServiceWorkerForwardedRaceNetworkRequestURLLoaderFactory::CreateLoaderAndStart using mojo::FusePipes.
Furthermore, when the manual redirect is delivered to the renderer in manual redirect mode, the response's type is FetchResponseType::kOpaqueRedirect. In MojoURLLoaderClient::OnReceiveRedirect, the renderer explicitly skips calling Platform::Current()->IsRedirectSafe for manual/opaque redirects, meaning the renderer-side scheme safety checks are completely bypassed.
Potential Steps to Trigger / Exploit
Note: Our tooling does not currently have the capability to execute code, so these are potential steps based on code analysis.
- A compromised renderer registers a Service Worker scope that includes a static routing rule configured with a router source of
ServiceWorkerRouterSourceType::kRaceNetworkAndFetchEvent(therace-network-and-fetch-handlersource). - The renderer triggers a main-resource navigation to a URL within the Service Worker's scope.
- The browser intercepts the navigation, matches the rule, and starts the race-network-request concurrently by allocating a forwarding pipe pair.
- The browser passes the forwarded factory remote to the Service Worker renderer. The Service Worker calls
fetch()on the race request token, which triggersmojo::FusePipeson the client pipe, linking the browser's forwarding client directly to the renderer'sURLLoaderClient. - During the network load of the race request, a manual redirect to a sensitive non-HTTP(S) target URL (such as an internal or extension URL rewritten by browser-side extension APIs) occurs.
- Because the network factory was created with
OriginatingProcessId::browser(),CorsURLLoader::OnReceiveRedirectskips manual redirect censoring. - The uncensored
redirect_infois dispatched viaforwarding_client_->OnReceiveRedirectand sent directly through the fused client pipe to the renderer. - The renderer process reads the raw, uncensored non-HTTP(S) redirect target URL, bypassing the manual redirect URL censoring defense-in-depth protection.
Proposed Fix
To remediate this issue, ensure that Service Worker race-network-requests (which are intended to be exposed to the renderer) do not inherit browser-process privileges in a way that bypasses manual redirect censoring.
One potential solution is to explicitly identify whether a Navigation loader factory is being generated for a Service Worker race-network-request and, if so, omit setting params->process_id to OriginatingProcessId::browser(), or explicitly apply manual redirect URL censoring within ServiceWorkerRaceNetworkRequestURLLoaderClient::OnReceiveRedirect before forwarding the redirect info to the forwarding_client_ interface.
Evaluated with Chrome root at commit: 5133b93d189b383c37805b1cf3a9d2dbfe8d7379
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
Likely the race-network-request loader factory was created with the browser process ID and trusted flag, so the redirect censoring check treated the request as a browser navigation even though the client pipe was later fused to the renderer.
Impact
A compromised renderer could observe internal non-HTTP(S) redirect targets, but this is only a defence-in-depth bypass and the text does not show any further exploitation.
What the attacker needed
Compromised renderer; Service Worker with race-network rule; manual redirect to non-HTTP(S) URL
The fix
The loader factory for race-network-requests should not be given browser-process privileges, or the redirect URL should be censored before being forwarded to the renderer.
How it was found
- A compromised renderer registers a Service Worker with a race-network-and-fetch-handler routing rule.
- The renderer starts a main-resource navigation inside the Service Worker scope.
- The browser matches the rule and starts the race-network-request with a forwarding pipe pair.
- The Service Worker fetches the race request token, fusing the client pipe to the renderer.
- A manual redirect to a sensitive non-HTTP(S) URL occurs during the load.
- The uncensored redirect target reaches the renderer.
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.
A browser normally hides certain internal redirect addresses from web pages, replacing them with a harmless placeholder. Here, a background script (a Service Worker) could ask the browser to fetch a page in a special mode, and the browser forgot to hide the address because it thought the request came from itself. A page that is already compromised could then learn internal addresses it should not see.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.