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

Incorrect authorization in Bluetooth (CVE-2026-106314)

The Cast OS Bluetooth implementation used bare UUIDs instead of unique handles for GATT identifiers, causing collisions in WebBluetoothServiceImpl's internal maps. If Web Bluetooth were enabled, an attacker with permission to one device could intercept notifications from another device sharing the same characteristic UUID.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 6 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: The Cast OS Bluetooth implementation uses bare UUIDs instead of unique handles for GATT identifiers. This causes collisions in WebBluetoothServiceImpl's internal maps if multiple devices share a characteristic UUID. In a scenario where Web Bluetooth is enabled, this allows an attacker to intercept GATT notifications from unconnected devices.

Affected files:

  • device/bluetooth/cast/bluetooth_remote_gatt_characteristic_cast.cc
  • device/bluetooth/cast/bluetooth_remote_gatt_service_cast.cc
  • device/bluetooth/cast/bluetooth_remote_gatt_descriptor_cast.cc
  • content/browser/bluetooth/web_bluetooth_service_impl.cc

Estimated timestamp from git blame: 2018-04-04

Summary

A logic vulnerability exists in the Cast OS specific implementation of the Chromium Bluetooth stack. The implementation fails to provide unique identifiers for GATT services, characteristics, and descriptors, relying entirely on bare UUIDs. If Web Bluetooth were enabled on Cast OS, this lack of uniqueness would cause collisions in the browser's permission tracking maps (WebBluetoothServiceImpl), leading to a potential cross-device information leak where a site granted permission to one device could intercept notifications from another device sharing the same characteristic UUID.

Note: Current standard builds of Cast OS disable Web Bluetooth via a NOTREACHED() macro in CastContentBrowserClient::CreateBluetoothAdapter(). Therefore, this is currently a latent vulnerability in the underlying Cast Bluetooth stack rather than an actively exploitable browser flaw.

Technical Details

The device::BluetoothGattCharacteristic interface requires GetIdentifier() to return a string that is unique across the entire adapter. However, on Cast OS (is_castos), the implementation in device/bluetooth/cast/bluetooth_remote_gatt_characteristic_cast.cc violates this contract by returning only the canonical UUID:

C++
std::string BluetoothRemoteGattCharacteristicCast::GetIdentifier() const {
  return GetUUID().canonical_value();
}

Similar non-unique implementations exist for services and descriptors in the same directory.

WebBluetoothServiceImpl relies on these identifiers being unique. When a renderer requests characteristics, the browser populates an internal map (characteristic_id_to_service_id_) using std::unordered_map::insert (content/browser/bluetooth/web_bluetooth_service_impl.cc:1034).

If two physically separate devices expose a characteristic with the same UUID (e.g., the standard Heart Rate UUID 0x2A37), a collision occurs. In Release builds, the insert fails silently because the key already exists, leaving the map pointing to the first device's metadata.

When any device on the adapter sends a notification, WebBluetoothServiceImpl::GattCharacteristicValueChanged filters it by checking if the identifier (the UUID) exists in the map. Because the maps are polluted by the collision, notifications from any device with that UUID will pass the filter and be routed to the active Mojo session established for the first device, resulting in a data leak.

Potential Exploitation Steps

Assuming Web Bluetooth is enabled or reachable on the Cast OS device:

  1. An attacker-controlled web page requests and is granted Web Bluetooth permission to connect to Device A.
  2. The page discovers services and characteristics on Device A. The browser maps the characteristic's UUID to Device A's service in its internal caching maps.
  3. The page calls startNotifications() on a standard characteristic (e.g., Heart Rate, UUID 0x2A37), establishing a notification session mapped to that UUID.
  4. Sometime later, Device B (which the attacker does not have permission to access) sends a GATT notification for its own Heart Rate characteristic.
  5. The Cast OS Bluetooth stack routes the notification to the BluetoothAdapter and then globally to WebBluetoothServiceImpl.
  6. WebBluetoothServiceImpl checks if the incoming characteristic's identifier (the UUID) is in its map. It finds the entry created for Device A and passes the filter.
  7. The browser blindly forwards Device B's raw, sensitive notification data to the attacker's renderer process via the established Mojo session.

Suggested Fix

Update BluetoothRemoteGattCharacteristicCast::GetIdentifier(), BluetoothRemoteGattServiceCast::GetIdentifier(), and BluetoothRemoteGattDescriptorCast::GetIdentifier() to return a genuinely unique string.

The underlying chromecast::bluetooth::RemoteCharacteristic provides a platform-specific handle() (typically the 16-bit GATT attribute handle) which is unique per device connection. The identifier should be constructed by combining the device MAC address, the service handle, and the characteristic handle, similar to how it is implemented in device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm or device/bluetooth/bluez/bluetooth_remote_gatt_characteristic_bluez.cc.

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 Cast OS Bluetooth stack returned only the UUID as the identifier instead of a unique per-device handle, violating the contract that identifiers must be unique across the adapter.

Impact

If Web Bluetooth were enabled, a site granted permission to one device could intercept notifications from another device sharing the same characteristic UUID; however, standard Cast OS builds disable Web Bluetooth, making this a latent vulnerability.

What the attacker needed

Web Bluetooth enabled on Cast OS; Attacker-controlled web page; User grants Bluetooth permission to Device A; Device B shares the same characteristic UUID

The fix

The GetIdentifier() methods should return a genuinely unique string combining the device MAC address, service handle, and characteristic handle, similar to other platform implementations.

How it was found

  1. An attacker-controlled page is granted Web Bluetooth permission to connect to Device A.
  2. The page discovers services and characteristics on Device A, and the browser maps the characteristic UUID to Device A.
  3. The page calls startNotifications() on a standard characteristic, establishing a notification session mapped to that UUID.
  4. Device B, which the attacker does not have permission to access, sends a GATT notification for its own characteristic with the same UUID.
  5. The Cast OS Bluetooth stack routes the notification to the adapter and then to WebBluetoothServiceImpl.
  6. WebBluetoothServiceImpl checks the UUID against its map, finds the entry for Device A, and forwards Device B's notification data to the attacker's renderer.

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.

Bluetooth devices expose services and characteristics, each identified by a UUID. The browser uses these identifiers to track which device a website is allowed to talk to. Here, the identifiers were not unique, so the browser could mix up devices and leak data from one device to another.

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.