Incorrect authorization in Workers (CVE-2026-76019)
A file: document in Chrome could create a dedicated worker whose script URL pointed at a local file, and the browser process would read that file with its own privileges and hand the bytes back to the renderer. An attacker who already controlled the auto-opened file renderer could therefore read local files that Chrome's OS account can access, without path enumeration or code execution.
- Fix shipped in 26 days
Steps to reproduce the problem
Tested on macOS 26.5.2 with official Google Chrome Stable 150.0.7871.187 from Google's Stable DMG. The individually attached files are
self-contained and do not require a Chromium checkout, build output, archive extraction, or pre-existing web server. receiver.js is a readable JavaScript bundle containing the exact generated Mojo dependency closure.
- Download all files then run :
chmod +x poc.sh && ./poc.sh
-
The launcher starts its own loopback web server. It creates a disposable positive profile with HTML already configured to open automatically. This represents the supported prior “Always open files of this type” choice (or
AutoOpenFileTypespolicy); the attacker does not set it during the episode. -
The default target is
~/.bash_history, then~/.zsh_history, then/etc/hosts. A different readable file can be selected with./poc.sh --target /absolute/path/to/your/desired/file -
A normal HTTP page with no user activation starts one attachment download. Chrome saves
downloaded-page.htmland opens that exact file automatically in a new Site-Isolated renderer. The destination page explains that the download is only the bootstrap, then displays the unrelated target file's cleartext contents. -
Run the positive and fresh-profile differential automatically with
./poc.sh --both --headless --target /absolute/path/to/your/desired/file
Note 1: An exact non-default installation can be selected with --chrome /path/to/Google\ Chrome.
Note 2: this PoC uses MojoJS to simulate native compromise of the auto-opened file: renderer. The bug does not itself provide renderer code execution.
Problem Description
Chromium's default allow_file_access_from_file_urls == false policy prevents a file: document from reading local URLs. Blink records this restriction in the document's SecurityOrigin. Due to this behavior, normal fetch(target) fails in this following way: new Worker(target) throws SecurityError, and Chromium's macOS sandbox profile denies the destination renderer direct access to the same path.
A committed file document nevertheless receives renderer-facing browser interfaces, including a generic FileURLLoaderFactory and a document-scoped DedicatedWorkerHostFactory interfaces. A compromised renderer can supply an attacker-chosen file: worker-script URL through the production worker interface.
The browser authenticates the requesting renderer but in the process it loses Blink's local-access restriction; WorkerScriptFetcher sees only that the creator scheme is file and installs a generic browser-side FileURLLoaderFactory. That factory treats the file:// initiator and target as the same tuple origin, converts the URL to a native path, and applies ChromeNetworkDelegate::IsAccessAllowed(). On macOS (possibly on Linux, haven;t checked) that desktop policy accepts every path, leaving only the browser process's OS access.
Chrome therefore it opens the target with browser privileges and returns a kBasic response body data pipe. DedicatedWorkerHost::DidStartScriptLoad() forwards it to the renderer-controlled client, which drains the bytes before Blink parses or
executes them as a worker script. The renderer sandbox and Blink's normal denial are bypassed because the privileged read and body delivery already occurred in the browser process. MojoJS exposes production IPC; Site Isolation remains enabled, thus this assumes a separate compromise of the auto-opened file renderer rather than migration of the HTTP renderer compromise.
The effect is disclosing the content of attacker-known file paths readable by Chrome's OS account only, without path enumeration, file write nor code execution. Prior HTML auto-open state is a requirement for the no-interaction web entry and is not present in a fresh profile; auto-open itself is not alleged to be the vulnerability.
Additional Comments
Save all attached files in the same directory. receiver.js bundles the exact generated Mojo dependency closure. Attached is a video of this bug for further reference.
Summary
WorkerScriptFetcher allows compromised file renderer to bypass Chrome local-file policy
Custom Questions
Type of crash:
Non applicable
Crash state:
Non applicable
Reporter credit:
Anonymous
Additional Data
Category: Security
Chrome Channel: Stable
Regression: N/A \
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-side worker script fetcher only checks that the creator scheme is file and installs a generic file URL loader, losing Blink's local-access restriction and relying on a desktop policy that accepts every path.
Impact
A compromised auto-opened file renderer could disclose the contents of attacker-known local file paths readable by Chrome's OS account, with no path enumeration, file write or code execution; the report notes this assumes a separate renderer compromise and that auto-open must already be enabled.
What the attacker needed
Chrome on macOS (possibly Linux); HTML auto-open already enabled in profile; Separate compromise of the file renderer; Attacker knows the target file path
How it was found
- Download the provided files and run the launcher script.
- The launcher starts a loopback web server and uses a profile where HTML auto-open is already enabled.
- A normal HTTP page without user activation starts one attachment download.
- Chrome saves and automatically opens the downloaded HTML file in a new renderer.
- The opened page uses the worker interface to read a chosen local file and displays its contents.
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.
Chrome normally stops a web page opened from a local file from reading other local files. This report shows that when such a page starts a background worker script, Chrome's browser process fetches the script itself and forgets that restriction, so the page can receive the contents of a local file. The attacker must already have control of that local-file page, for example through a previously allowed auto-open download.
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.