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

Missing authorization in ControlledFrame (CVE-2026-87513)

ControlledFrame guests are blocked from using the File System Access file picker, but drag-and-drop and clipboard paste operations still mint FSA tokens. An attacker controlling guest content could trick a user into dropping a sensitive file, then redeem the token to gain persistent, profile-wide read access to that file.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 4 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: ControlledFrame guests are intentionally blocked from using the File System Access (FSA) file picker to prevent profile-wide permission leaks across isolation boundaries. However, drag-and-drop and clipboard paste operations fail to enforce this restriction and mint FSA tokens. When a guest redeems these tokens, it obtains persistent, profile-wide read access to the file, bypassing the isolation.

Affected files:

  • content/browser/renderer_host/clipboard_host_impl.cc
  • content/browser/renderer_host/render_widget_host_impl.cc
  • content/browser/file_system_access/file_system_access_manager_impl.cc
  • chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc

Estimated timestamp from git blame: 2025-03-11

Background

ControlledFrame is an isolation mechanism used primarily by Isolated Web Apps (IWAs) to host untrusted guest content while strictly isolating its state from the broader user profile. Because File System Access (FSA) permissions are currently scoped to the entire user Profile, granting an FSA permission to a guest would leak that permission to the rest of the profile.

To prevent this, ChromeFileSystemAccessPermissionContext::CanShowFilePicker explicitly blocks the FSA file picker UI for ControlledFrame guests by checking guest->IsOwnedByControlledFrameEmbedder().

Vulnerability

This isolation boundary can be bypassed through clipboard paste or drag-and-drop operations.

When a user drops a file onto a ControlledFrame, the drop event is handled by RenderWidgetHostImpl::DragTargetDrop. This function eventually calls FileInfosToDataTransferFiles (in content/browser/renderer_host/data_transfer_util.cc). This function iterates over the dropped files and calls CreateFileSystemAccessDataTransferToken to mint FSA tokens. Crucially, there is no check in this path to verify if the receiving context is an isolated ControlledFrame. A similar flow exists in ClipboardHostImpl::OnReadFiles for pasted files.

Exploitation Scenario (Suggested Steps)

  1. An attacker controls the web content loaded inside a ControlledFrame guest (e.g., https://attacker.com).
  2. The attacker uses social engineering to trick the user into dragging a sensitive local file into the ControlledFrame guest content.
  3. The guest's JavaScript intercepts the drop event and calls item.getAsFileSystemHandle() on the file item in dataTransfer.items.
  4. The browser process handles the token redemption via FileSystemAccessManagerImpl::GetEntryFromDataTransferToken and ResolveDataTransferTokenWithFileType.
  5. Because the dropped item is a file, ResolveDataTransferTokenWithFileType skips the ConfirmSensitiveEntryAccess prompt and calls GetSharedHandleStateForNonSandboxedPath.
  6. This calls ChromeFileSystemAccessPermissionContext::GetReadPermissionGrant with the guest's origin (https://attacker.com) and UserAction::kDragAndDrop.
  7. The context immediately sets the grant status to PermissionStatus::GRANTED and saves it to the profile-wide active_permissions_map_ and on-disk preferences.
  8. The attacker navigates a normal, un-isolated tab in the main browser window to https://attacker.com. Because the permission is profile-wide and active in memory for the current session, the attacker can immediately read the file without any prompts, entirely bypassing the ControlledFrame isolation boundary.

(Note: These are potential exploitation steps; our tooling has not run a live proof-of-concept).

Suggested Fix

Add a check to prevent FSA DataTransfer tokens from being minted or redeemed for ControlledFrame guests. This could be implemented by:

  1. Checking IsOwnedByControlledFrameEmbedder in the drag-and-drop and clipboard handlers before calling FileInfosToDataTransferFiles.
  2. Alternatively, enforcing the restriction during token redemption in FileSystemAccessManagerImpl, ensuring that isolated contexts cannot obtain profile-wide permission grants.

Evaluated with Chrome root at commit: eca8648a4e1cdfdda68c495a6003059fed641955


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 the drag-and-drop and clipboard file handling paths do not check whether the receiving context is an isolated ControlledFrame guest before minting File System Access tokens.

Impact

An attacker could gain persistent, profile-wide read access to a file the user dropped or pasted into the guest, bypassing the ControlledFrame isolation boundary; the report notes that no live proof-of-concept has been run.

What the attacker needed

Attacker controls ControlledFrame guest content; victim drags or pastes a sensitive file into the guest

The fix

The drag-and-drop and clipboard handlers should check IsOwnedByControlledFrameEmbedder before minting FSA tokens, or token redemption should enforce the restriction in FileSystemAccessManagerImpl.

How it was found

  1. An attacker controls web content loaded inside a ControlledFrame guest.
  2. The attacker tricks the user into dragging a sensitive local file into the guest content.
  3. The guest's JavaScript intercepts the drop event and calls getAsFileSystemHandle on the file item.
  4. The browser redeems the token and grants read permission to the guest's origin without a prompt.
  5. The attacker opens a normal tab to the same origin and reads the file using the profile-wide permission.

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 ControlledFrame is a way to embed untrusted web content inside a browser app while keeping it isolated from the rest of the user's profile. The browser normally blocks this embedded content from asking for file access, but the report says that dragging a file onto it or pasting a file still creates a permission token. If an attacker controls that embedded content, they could trick a user into dropping a private file and then read it later from a normal tab.

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.