Skip to content
Info disclosure Advisory Advanced CVE-2026-87439

Information leak in ServiceWorker (CVE-2026-87439)

The browser process forwards an unfiltered URLResponseHead containing privileged telemetry and TLS metadata to an untrusted Service Worker renderer. A compromised renderer could extract internal DNS/DoH configurations and TLS certificate chains.

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 potential information disclosure vulnerability exists in the Service Worker RaceNetworkRequest implementation. When handling main-resource navigations, the browser process forwards an unfiltered URLResponseHead containing privileged telemetry and TLS metadata directly to the untrusted renderer process. This allows a compromised Service Worker renderer to extract sensitive connection metrics and certificate verification data.

Affected files:

  • content/common/service_worker/race_network_request_url_loader_client.cc
  • content/common/service_worker/forwarded_race_network_request_url_loader_factory.cc
  • content/browser/service_worker/service_worker_main_resource_loader.cc

Estimated timestamp from git blame: 2023-06-16

Summary

A potential information disclosure vulnerability exists in the Service Worker RaceNetworkRequest implementation in Chromium. During a browser-initiated main-frame navigation request, a compromised Service Worker renderer process can bypass the renderer-browser security boundary to obtain browser-privileged metadata. Specifically, it can retrieve LoadTimingInternalInfo (containing internal network configurations, including DNS/DoH configurations) and net::SSLInfo (containing evaluated TLS certificate chains).

While the control-channel requests (e.g., FollowRedirect) are proxy-protected by a URLLoaderProxy to prevent renderer-driven navigation manipulation, the URLLoaderClient data-channel is directly joined to the renderer via Mojo pipe fusion (mojo::FusePipes). The browser process fails to sanitize or strip restricted fields from the URLResponseHead metadata before forwarding it across this channel.

Root Cause Analysis

  1. High-Privilege Response Head Generation In content/browser/service_worker/service_worker_main_resource_loader.cc, the browser process initiates a parallel race network request using options from NavigationURLLoader::GetURLLoaderOptions(). For outermost main frames, this specifies kURLLoadOptionSendSSLInfoWithResponse and attaches trusted_params. In the network service, this triggers the inclusion of LoadTimingInternalInfo and ssl_info in the response head:

    • Source: services/network/url_loader_util.cc (BuildResponseHead lines 711-724)
  2. Direct Pipe Fusion to Renderer In content/common/service_worker/forwarded_race_network_request_url_loader_factory.cc, the URLLoaderClient pipes are directly fused via mojo::FusePipes under the assumption that the data delivery channel only carries benign data:

    C++
    bool result = mojo::FusePipes(std::move(client_receiver_), std::move(client));
    

    Here, client_receiver_ is the receiver end of the forwarding remote held by the browser-side client, and client is the client remote supplied by the untrusted renderer process.

  3. Unsanitized Forwarding When the browser process's ServiceWorkerRaceNetworkRequestURLLoaderClient receives the response, it clones and forwards the URLResponseHead verbatim to the forwarding_client_ remote without stripping the sensitive fields:

    • Source: content/common/service_worker/race_network_request_url_loader_client.cc (ForwardResponseToClient lines 725-726)

Potential Steps to Trigger the Issue

(Note: These are potential steps; our tooling does not currently have the capability to run code to verify with a live exploit or Proof of Concept)

  1. An attacker registers or compromises a Service Worker on a target scope (e.g., evil.example) configured to use RaceNetworkRequest (e.g., via the Static Router API).
  2. A victim navigates to https://evil.example/index.html (outermost main-frame navigation).
  3. The browser triggers the parallel RaceNetworkRequest with browser-level privileges and options, causing the network process to include load_timing_internal_info and ssl_info in the URLResponseHead returned.
  4. The compromised Service Worker renderer calls CreateLoaderAndStart on the forwarded factory to trigger Mojo pipe fusion.
  5. The browser-side client forwards the unsanitized URLResponseHead containing load_timing_internal_info and ssl_info to the renderer.
  6. The compromised renderer reads the deserialized response head to exfiltrate DNS/DoH configurations and internal TLS certificate chains.

Suggested Remediation

To enforce the browser-renderer boundary, the browser process must sanitize/strip sensitive fields from the URLResponseHead before forwarding it to the untrusted renderer in ServiceWorkerRaceNetworkRequestURLLoaderClient::ForwardResponseToClient:

C++
void ServiceWorkerRaceNetworkRequestURLLoaderClient::ForwardResponseToClient(
    network::mojom::URLResponseHeadPtr head,
    mojo::ScopedDataPipeConsumerHandle body,
    std::optional<mojo_base::BigBuffer> cached_metadata) {
  CHECK(!has_forwarded_response_);
  has_forwarded_response_ = true;

  // Strip browser-privileged information before crossing the trust boundary
  if (head) {
    head->load_timing_internal_info.reset();
    head->ssl_info.reset();
  }

  forwarding_client_->OnReceiveResponse(std::move(head), std::move(body),
                                        std::move(cached_metadata));
}

Evaluated with Chrome root at commit: b1520ef4a76878853a31f0943b565e42060edec8


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

The browser process fails to strip sensitive fields from the URLResponseHead before forwarding it to the renderer via a fused Mojo pipe.

Impact

A compromised Service Worker renderer could obtain internal network configurations and TLS certificate chains, potentially aiding further attacks.

What the attacker needed

Compromised Service Worker renderer; victim navigates to attacker page; RaceNetworkRequest enabled

The fix

The browser process should strip sensitive fields from the URLResponseHead before forwarding it to the renderer.

How it was found

  1. An attacker registers or compromises a Service Worker on a target scope configured to use RaceNetworkRequest.
  2. A victim navigates to the attacker's page, triggering an outermost main-frame navigation.
  3. The browser initiates a parallel RaceNetworkRequest with browser-level privileges, causing the network process to include load_timing_internal_info and ssl_info in the response head.
  4. The compromised Service Worker renderer calls CreateLoaderAndStart on the forwarded factory to trigger Mojo pipe fusion.
  5. The browser-side client forwards the unsanitized URLResponseHead to the renderer.
  6. The compromised renderer reads the deserialized response head to exfiltrate DNS/DoH configurations and internal TLS certificate chains.

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 Service Worker is a script that runs in the background of a website. The browser normally keeps some sensitive network details hidden from web pages. Here, a bug let a malicious Service Worker see those hidden details, like internal DNS settings and certificate information.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.