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

Missing authorization in FileSystem (CVE-2026-84323)

Android WebView bypasses visibility and user activation checks when showing a file picker, allowing a compromised renderer in a hidden context to trigger a system file picker over the foreground UI. An attacker could then trick the user into selecting a sensitive file that the hidden renderer gains access to.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 5 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 without the Chrome Security team.

Overview: A potential vulnerability in Android WebView allows a compromised renderer in a hidden background context to trigger a system file picker. By bypassing visibility checks and user activation enforcement, an attacker can spoof a file picker request over the foreground UI to gain unauthorized local file access.

Affected files:

  • content/browser/file_system_access/file_system_access_manager_impl.cc
  • android_webview/browser/aw_web_contents_delegate.cc
  • android_webview/browser/file_system_access/aw_file_system_access_permission_context.cc
  • android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
  • content/browser/file_system_access/file_system_chooser.cc

Estimated timestamp from git blame: 2025-11-21

Background

In Chrome, security measures prevent hidden WebContents from opening File System Access (FSA) pickers to protect against UI spoofing. This is typically enforced via a visibility gate (WebContentsBasedCanceller with CancelCondition::kVisibility) inside FileSystemChooser::CreateAndShow.

Potential Vulnerability

Android WebView potentially bypasses this visibility gate due to an early return path in the browser process.

  1. User Activation Bypass: When a compromised renderer sends a blink.mojom.FileSystemAccessManager::ChooseEntries IPC to the browser process, FileSystemAccessManagerImpl::ChooseEntries attempts to consume transient user activation. However, it ignores the boolean return value of FrameTreeNode::UpdateUserActivationState. It consumes the activation if present, but does not reject the request if the activation was missing, allowing the flow to proceed without a valid user gesture.
  2. Visibility Check Bypass: The request eventually reaches FileSystemAccessManagerImpl::ShowFilePickerOnUIThread. On Android, if delegate->UseFileChooserForFileSystemAccess() is true (which it unconditionally is for AwWebContentsDelegate), the code routes to delegate->RunFileChooser(...) and returns early.
  3. Missing Enforcement: This early return completely skips the execution of FileSystemChooser::CreateAndShow, which is responsible for creating the WebContentsBasedCanceller that enforces the visibility requirement. Neither AwWebContentsDelegate::RunFileChooser (C++) nor AwWebContentsDelegateAdapter.runFileChooser (Java) implements an equivalent visibility check before invoking the embedder's onShowFileChooser.

Suggested Attacker Steps

Note: Our tooling agent does not have the ability to run code, so these are potential steps an attacker might follow:

  1. An attacker embeds a hidden WebView in an Android app (e.g., using View.GONE or in a background tab) and compromises its renderer process via a separate vulnerability.
  2. The compromised renderer constructs and sends a ChooseEntries IPC directly to the browser process, bypassing renderer-side user gesture checks.
  3. The browser process processes the request, bypassing the user activation requirement and the visibility gate, and triggers the Android system file picker via the embedder application.
  4. The user sees a system file picker appearing over the current active foreground UI (which may be a benign part of the app or another app entirely).
  5. Believing the request is legitimate, the user selects a sensitive file.
  6. The hidden attacker-controlled renderer receives a FileSystemFileHandle with access to the chosen file.

Suggested Fix

The browser process should enforce visibility and user activation requirements consistently.

  1. In FileSystemAccessManagerImpl::ShowFilePickerOnUIThread, if delegating to the Android WebContentsDelegate, a WebContentsBasedCanceller (or equivalent mechanism) must still be instantiated to abort the picker if the WebContents becomes hidden.
  2. FileSystemAccessManagerImpl::ChooseEntries should strictly verify that transient user activation was successfully consumed (or was explicitly not required) before proceeding.

Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b


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

Likely an early return in the Android WebView file picker path skips the visibility check, and the user activation check ignores its return value, so neither requirement is enforced.

Impact

A compromised renderer in a hidden WebView could spoof a file picker over the foreground UI and, if the user selects a file, gain unauthorised access to that local file.

What the attacker needed

Compromised renderer in a hidden WebView; user selects a file in the picker

The fix

The browser process should enforce visibility and user activation consistently by instantiating a visibility canceller even when delegating to the Android WebContentsDelegate, and by strictly verifying that transient user activation was consumed.

How it was found

  1. An attacker embeds a hidden WebView in an Android app and compromises its renderer process.
  2. The compromised renderer sends a ChooseEntries IPC directly to the browser process.
  3. The browser process processes the request without enforcing user activation or visibility, and triggers the system file picker.
  4. The user sees a system file picker over the foreground UI and selects a sensitive file.
  5. The hidden renderer receives a file handle with access to the chosen file.

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 hidden part of an app (like a background WebView) is supposed to be blocked from opening a file picker, because that could trick you into choosing a private file. Here, the Android WebView code skips that block, so a malicious hidden page could pop up a real file picker over whatever you are doing. If you pick a file, the hidden page gets access to it.

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.