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

Insufficient policy enforcement in Bluetooth (CVE-2026-13903)

The Web Bluetooth implementation failed to check the GATT blocklist for a descriptor's parent characteristic during read and write operations. A malicious website could bypass security restrictions and interact with descriptors of partially blocked characteristics.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 2 months

Flapjack, 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: The Web Bluetooth implementation fails to check the GATT blocklist for a descriptor's parent characteristic during read and write operations. This allows websites to bypass security restrictions and interact with descriptors of protected characteristics, violating the Web Bluetooth specification.

Affected files:

  • content/browser/bluetooth/web_bluetooth_service_impl.cc

Estimated timestamp from git blame: 2024-10-23

Summary

The GATT blocklist in Web Bluetooth is designed to restrict access to sensitive services, characteristics, and descriptors. However, the implementation of GATT descriptor read and write operations in WebBluetoothServiceImpl fails to verify the blocklist status of the descriptor's parent characteristic. This omission allows a malicious site to read or write descriptors associated with a partially blocked characteristic, bypassing the security and privacy protections intended by the GATT blocklist.

Technical Details

In content/browser/bluetooth/web_bluetooth_service_impl.cc, the methods RemoteDescriptorReadValue and RemoteDescriptorWriteValue handle GATT descriptor interactions.

According to the Web Bluetooth specification:

  • For readValue() on a descriptor (§ 13.5): "If characteristic is in the Blocked Characteristic for Read UUIDs list, then return a promise rejected with a 'SecurityError' DOMException."
  • For writeValue() on a descriptor (§ 13.5): "If characteristic is in the Blocked Characteristic for Write UUIDs list, then return a promise rejected with a 'SecurityError' DOMException."

The current implementation only checks whether the descriptor's own UUID is in the blocklist, ignoring the status of the characteristic that owns it.

Vulnerable Code Snippets

In WebBluetoothServiceImpl::RemoteDescriptorReadValue:

C++
1378:   if (BluetoothBlocklist::Get().IsExcludedFromReads(
1379:           query_result.descriptor->GetUUID())) {
1380:     std::move(callback).Run(blink::mojom::WebBluetoothResult::BLOCKLISTED_READ,
1381:                             /*value=*/{});
1382:     return;
1383:   }

In WebBluetoothServiceImpl::RemoteDescriptorWriteValue:

C++
1418:   if (BluetoothBlocklist::Get().IsExcludedFromWrites(
1419:           query_result.descriptor->GetUUID())) {
1420:     std::move(callback).Run(
1421:         blink::mojom::WebBluetoothResult::BLOCKLISTED_WRITE);
1422:     return;
1423:   }

Because characteristics entirely excluded from the blocklist (marked with Value::EXCLUDE) are filtered during discovery (WebBluetoothServiceImpl::RemoteServiceGetCharacteristics), they are unaffected. However, partially restricted characteristics (e.g., those marked with Value::EXCLUDE_READS or Value::EXCLUDE_WRITES) remain discoverable by the renderer, allowing an attacker to request their descriptors.

Potential Attack Steps

These are potential steps an attacker would follow to trigger the vulnerability:

  1. An attacker hosts a malicious website and tricks a user into pairing a Bluetooth device that exposes a partially blocklisted characteristic (e.g., 2a02 Peripheral Privacy Flag, which is EXCLUDE_WRITES).
  2. The attacker's JavaScript connects to the GATT server and requests the partially blocklisted characteristic (e.g., service.getCharacteristic('2a02')). This succeeds because it is not fully excluded.
  3. The script retrieves the descriptors associated with this characteristic by calling characteristic.getDescriptors().
  4. The script attempts to read or write to one of these descriptors (e.g., descriptor.writeValue(new Uint8Array([...]))).
  5. The browser verifies the descriptor's UUID against the blocklist, but fails to check the parent characteristic's UUID.
  6. The browser allows the write operation, successfully bypassing the GATT blocklist restriction.

Suggested Fix

In WebBluetoothServiceImpl::RemoteDescriptorReadValue and WebBluetoothServiceImpl::RemoteDescriptorWriteValue, add a check for the parent characteristic's blocklist status before allowing the operation.

For RemoteDescriptorReadValue:

C++
  if (BluetoothBlocklist::Get().IsExcludedFromReads(
          query_result.descriptor->GetUUID()) ||
      BluetoothBlocklist::Get().IsExcludedFromReads(
          query_result.characteristic->GetUUID())) {
    std::move(callback).Run(blink::mojom::WebBluetoothResult::BLOCKLISTED_READ,
                            /*value=*/{});
    return;
  }

For RemoteDescriptorWriteValue:

C++
  if (BluetoothBlocklist::Get().IsExcludedFromWrites(
          query_result.descriptor->GetUUID()) ||
      BluetoothBlocklist::Get().IsExcludedFromWrites(
          query_result.characteristic->GetUUID())) {
    std::move(callback).Run(
        blink::mojom::WebBluetoothResult::BLOCKLISTED_WRITE);
    return;
  }

Evaluated with Chrome root at commit: c0eb5541aebfa4ea08806eaf6e94bcc69f87ab2f


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 code checked only the descriptor's own identifier against the blocklist, not the identifier of the characteristic that owns the descriptor.

Impact

A malicious site could read or write descriptors of a partially blocked characteristic, bypassing the intended security and privacy protections.

What the attacker needed

Victim pairs a Bluetooth device; device has a partially blocklisted characteristic; victim visits a malicious website

The fix

The fix should add a check for the parent characteristic's blocklist status in the descriptor read and write methods.

How it was found

  1. Trick a user into pairing a Bluetooth device that exposes a partially blocklisted characteristic.
  2. Connect to the GATT server and request the partially blocklisted characteristic.
  3. Retrieve the descriptors associated with that characteristic.
  4. Attempt to read or write to one of those descriptors.
  5. The browser checks only the descriptor's identifier and allows the operation.

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.

Web Bluetooth lets websites talk to nearby Bluetooth devices. Some Bluetooth features are blocked for safety, but this bug meant a website could still access parts of a blocked feature by going through a related setting. That could let a bad site read or change data it should not be able to touch.

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.