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

Missing authorization in FileSystem (CVE-2026-87603)

A permission policy flaw lets any web origin resolve the global syncfs mount point, bypassing extension checks. An attacker could then trigger authenticated Google Drive API writes, creating directories in a signed-in user's Drive without interaction.

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 exists where standard web origins can resolve the global syncfs mount point due to a permission policy flaw. This allows an attacker to bypass extension checks and trigger authenticated Google Drive API writes via the deprecated SyncFileSystem component. Malicious sites could potentially create directories and sync files to a user's Google Drive without interaction.

Affected files:

  • chrome/browser/sync_file_system/local/sync_file_system_backend.cc
  • chrome/browser/sync_file_system/sync_file_system_service.cc
  • chrome/browser/sync_file_system/drive_backend/sync_worker.cc
  • chrome/browser/sync_file_system/drive_backend/sync_engine.cc
  • chrome/browser/sync_file_system/drive_backend/register_app_task.cc
  • chrome/browser/sync_file_system/syncable_file_system_util.cc

Estimated timestamp from git blame: 2025-09-24

Technical Details

There is a potential vulnerability in the SyncFileSystem component that allows arbitrary web origins to bypass extension permission checks and trigger authenticated Google Drive API calls. The core issue stems from how the global syncfs mount point is registered and authorized.

During startup, SyncFileSystemBackend registers a process-global mount point named syncfs mapped to storage::kFileSystemTypeSyncable (chrome/browser/sync_file_system/syncable_file_system_util.cc:37). In storage::FileSystemContext::GetPermissionPolicy, kFileSystemTypeSyncable is explicitly associated with storage::FILE_PERMISSION_SANDBOX.

When a standard web renderer requests access to this mount point, the security check is handled by ChildProcessSecurityPolicyImpl::HasPermissionsForFileSystemFile. Because the filesystem type is associated with FILE_PERMISSION_SANDBOX, the policy immediately grants access as long as the renderer's origin matches the URL's origin. It does not perform the strict, path-based access controls typically applied to non-sandboxed external filesystems. This effectively allows any web origin to resolve filesystem:<origin>/external/syncfs/x.

Once access is granted, the request is routed to SyncFileSystemService::InitializeForApp. This method initializes the local filesystem context but critically fails to verify whether the requesting origin corresponds to a valid, installed Chrome Extension holding the syncFileSystem permission.

While Chrome attempts to disable this deprecated service by default, this mitigation is bypassed. When Chrome Sync is enabled and the APPS data type is active, SyncFileSystemService::OnStateChanged calls remote_service_->SetSyncEnabled(true). This triggers SyncEngine::SetSyncEnabled, which recreates the SyncWorker, effectively reviving the service.

Following initialization, SyncWorker::RegisterOrigin is called with the attacker's origin. It schedules a RegisterAppTask, which uses the DriveServiceInterface (and the user's OAuth tokens) to perform an authenticated Google Drive API request (AddNewDirectory) to create a folder named after the attacker's host.

Impact

A malicious website could potentially cause the browser to perform unauthorized, OAuth-authenticated writes to a signed-in user's Google Drive (provided Chrome Sync is enabled) without any user interaction or extension privileges.

Potential Reproduction Steps

(Note: These are suggested steps based on code analysis; a live PoC has not been executed by this agent.)

  1. Sign in to Chrome with a Google account and ensure Chrome Sync is enabled.
  2. Navigate to an attacker-controlled HTTPS page (e.g., https://attacker.com).
  3. The page executes the following JavaScript: webkitResolveLocalFileSystemURL('filesystem:' + location.origin + '/external/syncfs/x', function(entry){}, function(err){});
  4. The browser process should proceed to perform authenticated Drive API calls and create a new directory named attacker.com within the hidden 'Chrome Syncable FileSystem' root folder in the user's Drive.

Suggested Fix

  1. Add explicit permission checks: SyncFileSystemService::InitializeForApp must explicitly verify that the requesting origin_url belongs to a valid, installed Chrome App or Extension that holds the syncFileSystem permission.
  2. Review Permission Policy: Re-evaluate whether kFileSystemTypeSyncable should be granted FILE_PERMISSION_SANDBOX, as this allows standard web origins to bypass external mount point restrictions.
  3. Remove Deprecated Code: Given that the SyncFileSystem API is deprecated, the most robust fix would be to completely remove the chrome/browser/sync_file_system/ component and related Drive backend code if it is no longer required.

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

The syncfs filesystem type is granted a sandbox permission that skips strict path checks, and the service does not verify that the requesting origin is an installed extension with the syncFileSystem permission.

Impact

A malicious site could cause OAuth-authenticated writes to a signed-in user's Google Drive when Chrome Sync is enabled, without user interaction or extension privileges.

What the attacker needed

Chrome Sync enabled; User signed in to Chrome; Victim visits attacker page

The fix

The service should explicitly check that the requesting origin is an installed extension with the syncFileSystem permission, and the deprecated component should be removed.

How it was found

  1. Sign in to Chrome with a Google account and enable Chrome Sync.
  2. Visit an attacker-controlled HTTPS page.
  3. The page runs JavaScript that resolves the syncfs filesystem URL for its origin.
  4. The browser performs authenticated Drive API calls and creates a directory named after the attacker's host.

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 has a deprecated feature called SyncFileSystem that lets apps store files in Google Drive. A mistake in how Chrome checks permissions means any website, not just trusted apps, can use this feature. If you are signed in to Chrome Sync, a malicious site could quietly create folders in your Google Drive.

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.