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

Missing authorization in Contacts (CVE-2026-113219)

Several browser-side Mojo interfaces for file pickers and device choosers do not properly verify transient user activation, and the file system access check ignores the result of consuming activation. A compromised renderer could invoke these interfaces directly to show dialogs without genuine user intent, potentially leading to unauthorised file writes or device access via social engineering.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 6 months

Pasting the entirety of http://b/495429423 but bug is about the 1 specific instance in the title.

Flapjack (go/flapjack), an LLM-powered static analysis tool, has identified the following potential security issue.

Overview: Several sensitive Mojo interfaces in the browser process fail to properly verify transient user activation before displaying UI choosers or pickers. A compromised renderer can bypass Blink's security checks and directly invoke these interfaces to trigger dialogs without genuine user intent. When combined with an 'Enter key holding' social engineering attack, this can lead to unauthorized file system write access or hardware device access.

Affected files:

  • content/browser/file_system_access/file_system_access_manager_impl.cc
  • content/browser/usb/web_usb_service_impl.cc
  • content/browser/bluetooth/web_bluetooth_service_impl.cc
  • content/browser/serial/serial_service.cc
  • content/browser/hid/hid_service.cc
  • chrome/browser/webshare/share_service_impl.cc
  • content/browser/contacts/contacts_manager_impl.cc
  • content/browser/presentation/presentation_service_impl.cc

Estimated timestamp from git blame: 2025-12-23

Summary

There is a potential systemic vulnerability across multiple browser-side Mojo interface implementations where transient user activation is either improperly verified or entirely unchecked before displaying sensitive UI elements (like file pickers and device choosers).

Chrome's security architecture (User Activation v2) dictates that the browser process must be the authoritative source of truth for user activation. While Blink (the renderer) performs checks before sending these Mojo messages, a compromised renderer can bypass the Blink bindings and call the Mojo methods directly. Without robust browser-side enforcement, an attacker can forcefully display these dialogs and potentially exploit them via social engineering.

Technical Details

  1. File System Access API (Flawed Check): In content/browser/file_system_access/file_system_access_manager_impl.cc (FileSystemAccessManagerImpl::ChooseEntries), the code attempts to consume user activation:

    C++
    if (GetContentClient()->browser()->IsTransientActivationRequiredForShowFileOrDirectoryPicker(WebContents::FromRenderFrameHost(rfh))) {
      FrameTreeNode::From(rfh)->UpdateUserActivationState(
          blink::mojom::UserActivationUpdateType::kConsumeTransientActivation,
          blink::mojom::UserActivationNotificationType::kNone);
    }
    // Execution continues regardless of the return value...
    

    The method UpdateUserActivationState returns a bool indicating whether transient activation was actually present and successfully consumed. However, ChooseEntries completely ignores this return value and proceeds to show the file picker even if it evaluates to false.

  2. Hardware APIs & Other Pickers (Missing Checks): The browser-side implementations for the following APIs do not perform any transient user activation checks before initiating their respective device choosers, relying entirely on renderer-side enforcement:

    • WebUSB: WebUsbServiceImpl::GetPermission (content/browser/usb/web_usb_service_impl.cc)
    • WebBluetooth: WebBluetoothServiceImpl::RequestDeviceImpl (content/browser/bluetooth/web_bluetooth_service_impl.cc)
    • WebSerial: SerialService::RequestPort (content/browser/serial/serial_service.cc)
    • WebHID: HidService::RequestDevice (content/browser/hid/hid_service.cc)
    • Web Share: ShareServiceImpl::Share (chrome/browser/webshare/share_service_impl.cc)
    • Contacts: ContactsManagerImpl::Select (content/browser/contacts/contacts_manager_impl.cc)

Potential Attack Scenario

Note: The following steps are theoretical as the Flapjack LLM agent does not execute code, but they trace the logical flow of the vulnerability based on the codebase.

  1. Renderer Compromise & Social Engineering: An attacker compromises the sandboxed renderer process (e.g., via a V8 bug). The attacker's webpage displays a lure (like a game) tricking the user into holding down the "Enter" key.
  2. Mojo Invocation: Bypassing Blink's security checks, the compromised renderer directly sends a ChooseEntries Mojo message to the browser process. It specifies a SaveFilePickerOptions targeting the user's Downloads folder with an attacker-controlled suggested_name (e.g., malware.bat).
  3. Browser-Side Bypass: The browser process receives the message. It calls UpdateUserActivationState(kConsumeTransientActivation). Since holding the Enter key does not constitute a valid, recent transient activation in the browser's state, this returns false. However, because the code ignores the return value, the browser proceeds.
  4. Dialog Steals Focus: The native OS Save File Picker dialog appears and instantly intercepts window focus.
  5. Automatic Confirmation: Because the user is already holding the "Enter" key, the OS immediately registers an "Enter" keystroke on the newly focused dialog. This triggers the default "Save" action.
  6. Sandbox Escape / Unauthorized Access: The dialog closes, and the browser process grants the compromised renderer a valid FileSystemAccessFileHandle for malware.bat, allowing the attacker to silently write arbitrary payloads to the user's disk. This identical pattern can be used to silently grant access to connected USB/Bluetooth/Serial hardware.

Recommendation

All sensitive Mojo methods that trigger browser-side choosers or pickers must strictly verify that transient user activation is present in the calling frame.

  • For ChooseEntries, the return value of UpdateUserActivationState(kConsumeTransientActivation) must be checked, and the request should be rejected (e.g., returning kPermissionDenied) if it is false.
  • For the hardware and sharing APIs, a similar browser-side check to consume transient user activation must be implemented before calling RunChooser or equivalent.

Evaluated with Chrome root at commit: 9760e6c70cd33a320713361f17c6dcca85648c0f


Results from Flapjack so far have been promising, but it can be wrong in its deductions. At this time, it does not produce proof of concepts or fuzzer tests. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve Flapjack’s 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 process does not enforce transient user activation before showing sensitive choosers, and in the file system access case it ignores the boolean returned when trying to consume activation.

Impact

A compromised renderer could cause unauthorised file system writes or grant access to connected hardware devices, though the report notes the attack steps are theoretical and not executed.

What the attacker needed

Compromised renderer process; victim holds Enter key; user interaction with a lure

The fix

The browser should check the return value of consuming transient activation and reject the request if it is false, and add similar browser-side checks for the hardware and sharing APIs.

How it was found

  1. Compromise the sandboxed renderer process and show a lure that tricks the user into holding the Enter key.
  2. Send a Mojo message directly to the browser process to open a save file picker with an attacker-chosen file name.
  3. The browser tries to consume transient activation, gets false, but still shows the dialog.
  4. The dialog takes focus and the held Enter key confirms the default save action.
  5. The renderer receives a file handle and can write arbitrary content to disk.

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 normally needs a real user action, like a click, before the browser shows a file save dialog or a device picker. This report says some of those checks happen only inside the part of the browser that runs web page code, which an attacker might take over. If that happens, the attacker could make dialogs appear without the user asking, and trick someone into confirming them.

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.