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

Insufficient data validation in InterestGroups (CVE-2026-7916)

A confused deputy flaw in the browser's auction URL loader proxy lets a compromised sandboxed auction worklet send a POST request body containing a file reference. Because the request is treated as coming from the browser process, the file-read permission check is skipped and the local file can be uploaded to an attacker-controlled server.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 35 days

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 security team.

Overview: A compromised FLEDGE auction worklet can potentially read arbitrary local files, escaping the sandbox. The AuctionURLLoaderFactoryProxy blindly forwards attacker-controlled POST request bodies to a browser-privileged URLLoaderFactory. By embedding a DataElementFile in the request body, the worklet can trick the browser into opening and uploading local files to an attacker-controlled server.

Affected files:

  • content/browser/interest_group/auction_url_loader_factory_proxy.cc
  • content/browser/interest_group/ad_auction_service_impl.cc
  • content/browser/network_context_client_base_impl.cc

Estimated timestamp from git blame: 2024-12-10

Vulnerability Description

A confused deputy vulnerability exists in the browser-side AuctionURLLoaderFactoryProxy that can potentially allow a compromised sandboxed auction worklet (e.g., compromised via a V8 bug) to achieve an arbitrary file read on the user's system.

The AuctionURLLoaderFactoryProxy::CreateLoaderAndStart function mediates network requests from the worklet. To allow legitimate requests, it enforces a URL allowlist (e.g., script_url_) and expects certain Accept headers. However, if the worklet issues a POST request, the proxy copies the request_body directly into the outgoing new_request without any sanitization:

C++
// content/browser/interest_group/auction_url_loader_factory_proxy.cc:219
if (url_request.method == net::HttpRequestHeaders::kPostMethod) {
  new_request.method = std::move(url_request.method);
  new_request.request_body = std::move(url_request.request_body); // VULNERABILITY: Unsanitized copy
  // ...
}

This request_body can maliciously contain a DataElementFile referencing any local file path on the disk (e.g., /home/user/.ssh/id_rsa).

The proxy forwards this new_request using its underlying trusted URLLoaderFactory. This factory is created in AdAuctionServiceImpl::CreateUnderlyingTrustedURLLoaderFactory using url_loader_factory::TerminalParams::ForBrowserProcess(...). Because it's designated as a browser-process factory, its process_id is set to network::OriginatingProcessId::browser().

When the Network Service receives this request, it attempts to read the file specified in the DataElementFile for the POST upload. It sends an OnFileUploadRequested IPC back to the browser process. In NetworkContextClientBase::OnFileUploadRequested, the browser checks if the process has read access:

C++
// content/browser/network_context_client_base_impl.cc:41
if (!process_id.is_browser() &&
    !cpsp->CanReadFile(ToChildProcessId(process_id.renderer_process_id()), file_path)) {
  // Access check performed here
}

Since process_id.is_browser() is true, the ChildProcessSecurityPolicy::CanReadFile check is completely bypassed. The browser opens the requested local file and returns the handle to the Network Service, which then uploads the file's contents to the attacker's server.

Potential Reproduction Steps

Note: These are suggested/potential steps based on code analysis; our tooling agent does not currently have the ability to run code to verify a working proof-of-concept.

  1. An attacker compromises an auction worklet process (e.g., kServiceWithJit sandbox).
  2. The attacker invokes CreateLoaderAndStart on the URLLoaderFactory remote bound to the AuctionURLLoaderFactoryProxy in the browser process.
  3. The attacker crafts a ResourceRequest where:
    • url is set to the worklet's own allowed script_url.
    • method is POST.
    • headers includes Accept: application/javascript to pass proxy validation.
    • request_body contains a DataElementFile pointing to a target local file.
  4. The proxy forwards the request via its browser-privileged URLLoaderFactory.
  5. The Network Service asks the browser to open the file. The browser complies because the request is marked as originating from the browser process.
  6. The file is uploaded as the POST payload to the attacker's script URL endpoint.

Suggested Fix

In AuctionURLLoaderFactoryProxy::CreateLoaderAndStart, explicitly sanitize the request_body to ensure it does not contain any DataElementFile or DataElementDataPipe elements that the worklet should not have access to. If the request_body contains a file element, the proxy should immediately reject the request by calling receiver_.ReportBadMessage("Invalid request body");.

Evaluated with Chrome root at commit: ff3d2b74fa39431785bd60e51463b08fcc71ee33


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.

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 proxy copies the worklet-supplied request body without sanitising it, and the resulting request is marked as originating from the browser process, so the file-read permission check is bypassed.

Impact

A compromised worklet could read arbitrary local files and upload them to an attacker-controlled server, escaping the sandbox; the report notes the steps are suggested and not verified with a working proof-of-concept.

What the attacker needed

Compromise of an auction worklet process; attacker-controlled server at the allowed script URL

The fix

The proxy should reject any request body containing file or data-pipe elements before forwarding it.

How it was found

  1. Compromise an auction worklet process.
  2. Invoke CreateLoaderAndStart on the URLLoaderFactory bound to the proxy.
  3. Craft a POST request to the allowed script URL with an Accept header and a request body containing a file reference.
  4. The proxy forwards the request through its browser-privileged factory.
  5. The Network Service asks the browser to open the file, and the browser complies because the request is marked as from the browser process.
  6. The file contents are uploaded to the attacker's script URL endpoint.

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 sandboxed part of the browser (the auction worklet) is supposed to be isolated from your files. A helper in the browser process forwards its network requests but does not check what is inside a POST body. The worklet can put a reference to a local file in that body, and the browser, thinking the request comes from itself, opens the file and sends its contents to the attacker.

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.