Insufficient policy enforcement in Bluetooth (CVE-2026-14035)
The Web Bluetooth implementation in Chrome fails to clear pending client requests and discovery session state when a tab is hidden, allowing a backgrounded tab to potentially continue receiving Bluetooth advertisement data from authorised devices. An attacker could use this to track nearby Bluetooth devices without the user's knowledge.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 3 months
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: The Web Bluetooth implementation in Chrome fails to properly clear pending client requests and discovery session state when a tab is hidden. This allows a backgrounded tab to potentially continue receiving Bluetooth advertisement data from authorized devices, bypassing intended privacy protections. Two distinct bypass vectors exist due to incomplete state clearing in ClearAdvertisementClients().
Affected files:
content/browser/bluetooth/web_bluetooth_service_impl.cccontent/browser/bluetooth/web_bluetooth_service_impl.hcontent/browser/bluetooth/advertisement_client.cc
Estimated timestamp from git blame: 2026-03-11
Description
A potential privacy bypass vulnerability exists in the Web Bluetooth API implementation in Chrome. When a tab is backgrounded or loses focus, WebBluetoothServiceImpl::ClearAdvertisementClients() is called to stop the delivery of Bluetooth advertisements to the renderer. However, this function is incomplete, leading to two potential bypass vectors that could allow hidden tabs to receive proximity and tracking data (RSSI, manufacturer data, etc.) from previously authorized Bluetooth devices.
1. Pending Client Promotion Race
When device.watchAdvertisements() is called and no discovery session is currently active, the client is added to a pending queue (watch_advertisements_pending_clients_) and an asynchronous request to start a discovery session is sent to the platform.
If the tab is hidden before the platform responds, ClearAdvertisementClients() is triggered but fails to clear this pending queue (content/browser/bluetooth/web_bluetooth_service_impl.cc:2382). When OnStartDiscoverySessionForWatchAdvertisements() eventually receives the session handle, it iterates through the surviving pending queue and moves the clients into the active watch_advertisements_clients_ list (content/browser/bluetooth/web_bluetooth_service_impl.cc:1788). The checks performed during this promotion only verify device permission and Mojo pipe liveness, not the current visibility state of the tab, allowing a hidden tab to become an active listener.
2. Synchronous Session Reuse Bypass
ClearAdvertisementClients() also fails to reset the watch_advertisements_discovery_session_ handle or call MaybeStopDiscovery(). Consequently, the discovery session remains active in the browser process even after a tab is backgrounded.
If a hidden tab re-sends the watchAdvertisements IPC, WatchAdvertisementsForDeviceImpl() follows a synchronous fast-path (lines 1733-1741 in web_bluetooth_service_impl.cc) because the session already exists. This path directly inserts the client into the active list without any visibility checks, synchronously re-subscribing the hidden tab to the active session.
Once a client is in the active list via either vector, DeviceAdvertisementReceived() delivers advertisement events to the hidden tab via WatchAdvertisementsClient::SendEvent (content/browser/bluetooth/advertisement_client.cc:62). This enables persistent tracking of the user's nearby Bluetooth devices without their knowledge or consent, even when the tab is not visible.
(Note: These are potential steps and analysis, as this agent cannot run code to verify.)
Suggested Steps to Reproduce
Vector 1 (Race):
- Grant an origin permission to a Bluetooth device via
navigator.bluetooth.requestDevice(). - From the page, call
device.watchAdvertisements(). - Immediately switch to another tab or minimize the browser window before the OS Bluetooth session starts.
- Observe that the hidden page potentially continues to receive
advertisingeventdata (RSSI, manufacturer data) despite the visibility change.
Vector 2 (Synchronous Reuse):
- Grant an origin permission to a Bluetooth device.
- From the page, call
device.watchAdvertisements()and wait for the session to successfully start. - Switch to another tab or minimize the browser window.
- While hidden, have the page call
device.watchAdvertisements()again. - Observe that the hidden page potentially receives
advertisingeventdata.
Suggested Fix
Update WebBluetoothServiceImpl::ClearAdvertisementClients() to comprehensively clear all advertisement-related state:
- Clear the
watch_advertisements_pending_clients_queue. - Reset
watch_advertisements_discovery_session_andble_scan_discovery_session_. - Alternatively, ensure
MaybeStopDiscovery()is called when visibility changes so that the underlying platform sessions are properly halted when no active visible clients remain.
Evaluated with Chrome root at commit: 0eb4855bda702feaaa8b899336664f97e3df88b8
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. Please feel free to reach out to me if you have concerns or feedback.
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 function that clears advertisement clients when a tab is hidden does not clear the pending client queue or reset the discovery session handle, so clients can be promoted or re-subscribed without a visibility check.
Impact
A hidden tab could potentially continue receiving Bluetooth advertisement data, enabling persistent tracking of nearby devices without the user's knowledge or consent.
What the attacker needed
Origin permission for a Bluetooth device; victim visits a malicious page; tab must be backgrounded or minimised
The fix
The function that clears advertisement clients should be updated to clear the pending client queue and reset the discovery session handles, or to call MaybeStopDiscovery() when visibility changes.
How it was found
- Grant an origin permission to a Bluetooth device via navigator.bluetooth.requestDevice().
- From the page, call device.watchAdvertisements().
- Immediately switch to another tab or minimise the browser window before the OS Bluetooth session starts.
- Observe that the hidden page potentially continues to receive advertisingevent data despite the visibility change.
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.
When you switch away from a tab, the browser is supposed to stop listening for nearby Bluetooth signals so a website cannot keep tracking your devices in the background. This report found that Chrome does not fully clean up that listening state, so a hidden tab might still receive Bluetooth data. That could let a website track which Bluetooth devices are near you even when you are not looking at the page.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.