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

Improper input validation in FileAPI (CVE-2026-87510)

A compromised renderer can host its own Blob implementation and start a download, then fabricate redirect and response messages to the browser's download client. This lets it forge the download's canonical source URL and origin, potentially spoofing security indicators such as Mark-of-the-Web, Safe Browsing checks, the download UI and enterprise policies.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 2 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 compromised renderer can register a self-hosted blink::mojom::Blob and initiate a download of its blob URL. Because the browser forwards the URLLoaderClient remote directly to the renderer-hosted Blob, the renderer can fabricate redirect and response calls to forge the download's canonical source URL and origin. This allows a compromised renderer to potentially spoof security indicators including Mark-of-the-Web, Safe Browsing checks, the download UI, and enterprise policies.

Affected files:

  • storage/browser/blob/blob_url_loader_factory.cc
  • storage/browser/blob/blob_url_store_impl.cc
  • components/download/internal/common/resource_downloader.cc
  • components/download/internal/common/download_response_handler.cc

Estimated timestamp from git blame: 2018-02-01

Summary / Potential Impact

There is a potential vulnerability in the download subsystem of Chromium where a compromised renderer can spoof the canonical source URL and origin of a downloaded file. By hosting its own implementation of blink::mojom::Blob and initiating a download, the renderer receives the browser's URLLoaderClient Mojo remote (implemented by DownloadResponseHandler). This allows the compromised renderer to simulate a cross-origin redirect to any arbitrary HTTPS URL (e.g., https://victim-bank.com/secure/payload.exe).

As a result, the browser completes the download, writing the renderer-supplied bytes to disk while treating the file's origin as the spoofed URL. This allows the renderer to potentially:

  • Spoof the source metadata on disk (Windows Zone.Identifier / Mark-of-the-Web, macOS quarantine data URL).
  • Bypass Safe Browsing download protection whitelists and reputation checks.
  • Spoof the origin displayed in the Chrome download bubble or shelf.
  • Trigger enterprise auto-open policies (e.g., AutoOpenAllowedForURLs) if the spoofed URL matches an allowlist.

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

Potential Step-by-Step Scenario

  1. Register a Renderer-Hosted Blob: A compromised renderer creates a Mojo pipe for blink.mojom.Blob, keeping the Receiver end and implementing a malicious, self-hosted Blob interface. It calls BlobURLStore::Register with a URL of its own origin (e.g., blob:https://evil.com/UUID) and the PendingRemote<Blob> endpoint.

  2. Obtain a Blob URL Token: The renderer resolves the registered blob URL as a token by calling BlobURLStore::ResolveAsBlobURLToken to receive a blink::mojom::BlobURLToken remote mapping to the renderer's hosted Blob.

  3. Initiate the Download: The renderer calls LocalFrameHost::DownloadURL via Mojo, supplying the blob URL, the token, and setting cross_origin_redirects to network::mojom::RedirectMode::kFollow.

  4. Browser Plumbs the Loader Factory: The browser-process RenderFrameHostImpl::DownloadURL builds a BlobURLLoaderFactory wrapping the token's remote, passes it to the InProgressDownloadManager, and executes the load on the IO thread via ResourceDownloader::Start.

  5. Handover of Mojo Endpoints: ResourceDownloader::Start creates a browser-side DownloadResponseHandler to act as the URLLoaderClient. It then calls CreateLoaderAndStart on the BlobURLLoaderFactory with a PendingReceiver<URLLoader> and the PendingRemote<URLLoaderClient>. Because the factory is backed by the renderer's custom Blob, both endpoints are delivered straight to the renderer's Blob::Load implementation.

  6. Fabricate a Redirection: The renderer intercepts the URLLoaderClient remote and calls OnReceiveRedirect with a spoofed RedirectInfo containing a target URL (e.g., https://victim-bank.com/secure/payload.exe) and referrer.

  7. Bypass Cross-Origin Restrictions: The browser's DownloadResponseHandler::OnReceiveRedirect processes the redirect. Since cross_origin_redirects was set to kFollow by the renderer, the cross-origin check is bypassed, and the forged URL is appended to the download's url_chain_.

  8. Serve the Payload: The renderer calls OnReceiveResponse on the URLLoaderClient remote, providing a fake URLResponseHead and its malicious payload via a Mojo data pipe. The download completes, and the spoofed URL (victim-bank.com) is recorded as the primary canonical source of the download.

Code References

  • Endpoint Hand-off: storage/browser/blob/blob_url_loader_factory.cc:80-81
  • Redirect Hand-off & URL Chain Manipulation: components/download/internal/common/download_response_handler.cc:212-257
  • Downstream Sinks (MotW & Quarantine): components/download/internal/common/download_item_impl.cc:2027-2036 and components/download/internal/common/base_file.cc:619-644

Suggested Fix

To prevent this vulnerability, the browser process should ensure that the blink::mojom::Blob remote used to fetch download resources is always browser-hosted.

Specifically, VerifyDownloadUrlParams or the DownloadURL entry point should validate that any blob_url_token supplied by the renderer resolves to a blob backed by storage::BlobImpl (or similar browser-controlled storage), rather than allowing arbitrary renderer-hosted implementations to handle the Load request.

Evaluated with Chrome root at commit: 84065d9121f6e48f67755f0ae963cc09617e5c85


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 browser forwards its download client endpoint directly to a renderer-supplied Blob implementation instead of requiring a browser-hosted blob, so the renderer controls the redirect and response messages.

Impact

A compromised renderer could spoof the download's source metadata, bypass Safe Browsing download checks, mislead the download UI and trigger enterprise auto-open allowlists; the report notes these are potential findings from static analysis without a working proof of concept.

What the attacker needed

Compromised renderer process; no user interaction beyond the download

The fix

The browser should verify that any renderer-supplied blob URL token resolves to a browser-controlled blob rather than an arbitrary renderer-hosted implementation.

How it was found

  1. The compromised renderer registers a self-hosted Blob and a blob URL of its own origin.
  2. It resolves the blob URL as a token to get a BlobURLToken remote.
  3. It calls DownloadURL with the blob URL, the token and redirect mode set to follow.
  4. The browser builds a BlobURLLoaderFactory and starts the download, handing the loader and client endpoints to the renderer's Blob.
  5. The renderer sends a fabricated redirect to an arbitrary HTTPS URL, which is accepted and added to the URL chain.
  6. The renderer sends a fabricated response with its payload, and the download completes under the spoofed URL.

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 web page runs in a sandboxed part of the browser called the renderer, which is treated as untrusted. Normally the browser decides where a download really came from, but here the renderer is allowed to answer the browser's questions itself and simply claim the file came from any site it likes. That false label could fool the operating system's 'downloaded from the internet' warning or the browser's own safety checks.

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.