Missing authorization in Bluetooth (CVE-2026-113005)
Several browser-side Mojo interfaces that open file pickers and device choosers do not properly check transient user activation, and one ignores the result of the activation check entirely. A compromised renderer could invoke these interfaces directly to show dialogs without genuine user intent, and combined with a user holding the Enter key, could lead to unauthorised file writes or device access.
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.cccontent/browser/usb/web_usb_service_impl.cccontent/browser/bluetooth/web_bluetooth_service_impl.cccontent/browser/serial/serial_service.cccontent/browser/hid/hid_service.ccchrome/browser/webshare/share_service_impl.cccontent/browser/contacts/contacts_manager_impl.cccontent/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
-
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
UpdateUserActivationStatereturns aboolindicating whether transient activation was actually present and successfully consumed. However,ChooseEntriescompletely ignores this return value and proceeds to show the file picker even if it evaluates tofalse. -
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)
- WebUSB:
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.
- 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.
- Mojo Invocation: Bypassing Blink's security checks, the compromised renderer directly sends a
ChooseEntriesMojo message to the browser process. It specifies aSaveFilePickerOptionstargeting the user's Downloads folder with an attacker-controlledsuggested_name(e.g.,malware.bat). - 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 returnsfalse. However, because the code ignores the return value, the browser proceeds. - Dialog Steals Focus: The native OS Save File Picker dialog appears and instantly intercepts window focus.
- 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.
- Sandbox Escape / Unauthorized Access: The dialog closes, and the browser process grants the compromised renderer a valid
FileSystemAccessFileHandleformalware.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 ofUpdateUserActivationState(kConsumeTransientActivation)must be checked, and the request should be rejected (e.g., returningkPermissionDenied) if it isfalse. - For the hardware and sharing APIs, a similar browser-side check to consume transient user activation must be implemented before calling
RunChooseror 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.
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 trusts renderer-side checks and does not enforce transient user activation itself, and in the file picker path it discards the boolean returned by the activation-consumption call.
Impact
A compromised renderer could write files to disk or gain access to connected USB, Bluetooth or serial hardware without genuine user intent, though the report notes the scenario is theoretical and not executed.
What the attacker needed
Compromised renderer process; victim holds the Enter key; user interaction with a lure page
The fix
The browser side should check the result of consuming transient activation and reject the request when it is false, and the hardware and sharing APIs should add the same check before opening a chooser.
How it was found
- Compromise the sandboxed renderer and show a lure that gets the user to hold the Enter key
- Send a ChooseEntries Mojo message directly, bypassing Blink, targeting the Downloads folder with an attacker-chosen file name
- The browser consumes transient activation, gets false, but continues anyway
- The native save dialog appears and takes focus
- The held Enter key confirms the default Save action
- The renderer receives a file handle and can write arbitrary content
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 has to ask the browser to show things like a save-file dialog, and the browser is supposed to confirm the user really just clicked something. Here the browser-side code either skips that confirmation or ignores its answer, so a page that has already been taken over could pop up these dialogs on its own. If the user happens to be holding the Enter key, the dialog may confirm itself and let the attacker save a file or reach a device.
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.