Insufficient policy enforcement in USB (CVE-2026-17868)
The WebUSB protection that blocks class control transfers to protected interface classes can be bypassed by setting a wIndex whose low byte matches no protected interface, so the check finds no interface and allows the transfer. A web page can then send arbitrary class requests to a protected device such as a Bluetooth adapter, regaining the capability of the earlier CVE-2026-5276.
Originally disclosed on Chrome VRP
- Fix shipped in 54 days
Report description
WebUSB protected-interface-class protection is bypassable via crafted wIndex, giving any webpage unrestricted access to USB devices.
Bug location
Where do you want to report your vulnerability?
Chrome VRP – Report security issues affecting the Chrome browser. See program rules
Which URL (or repository) have you found the vulnerability in?
https://chromium.googlesource.com/chromium/src/+/main/services/device/usb/mojo/device_impl.cc
The problem
Please describe the technical details of the vulnerability
The mitigation that fixed CVE-2026-5276 — blocking WebUSB class control transfers sent to recipient: "device"/"other" that target a protected interface class — can be bypassed by choosing a wIndex whose low byte does not match the protected interface's number. The browser then fails to associate the transfer with the protected interface, allows it, and the request reaches the protected interface anyway (the device ignores wIndex). This fully restores the original CVE-2026-5276 capability: arbitrary HCI control of a USB Bluetooth adapter (and equivalent access to other protected-class devices) from any web page after a single chooser click.
Background — the original bug and its fix
- CVE-2018-6125 introduced
blocked_interface_classes_to stop web pages from reaching security-sensitive USB interface classes (Bluetooth0xE0, HID0x03, Mass Storage0x08, Smart Card/CCID0x0B, Audio/Video, etc.). - CVE-2026-5276 (issue 489711638, my prior report) showed that
controlTransferOut/In({recipient:'device'})skipped that enforcement entirely (an unconditional earlyreturn true), letting a page drive a protected interface (e.g. send HCI to a BT dongle) despite the block. - The fix (gated by
features::kWebUsbProtectedClassControlTransferBlock,FEATURE_ENABLED_BY_DEFAULT) added logic so that, even for class requests todevice/other, Chrome resolves the target interface and rejects the transfer if that interface's class is protected.
Why the fix is insufficient (the bug)
The new check identifies the "target interface" solely from the renderer-controlled wIndex:
// services/device/usb/mojo/device_impl.cc (HasControlTransferPermission)
// L260-274: for CLASS requests (incl. recipient DEVICE/OTHER), look up the interface by index & 0xff
auto interface_it = std::ranges::find(config->interfaces, index & 0xff,
&mojom::UsbInterfaceInfo::interface_number);
if (interface_it != config->interfaces.end()) interface = interface_it->get();
...
// L283-294: block only if THAT interface is a protected class
if (interface && base::FeatureList::IsEnabled(kWebUsbProtectedClassControlTransferBlock)) {
for (const auto& alternate : interface->alternates)
if (blocked_interface_classes_.contains(alternate->class_code)) return false; // blocked
}
...
// L319: otherwise allowed
return true;
If index & 0xff does not equal the interface_number of a protected interface, interface stays nullptr, the block at L283-294 is skipped, and the function falls through to return true (L319). The web page fully controls index; Blink copies it verbatim (third_party/blink/renderer/modules/webusb/usb_device.cc, ConvertControlTransferParameters) and the backend writes it straight to the wire (services/device/usb/usb_device_handle_usbfs.cc:133, setup.wIndex = index). So the page simply sends a class request with a wIndex whose low byte matches no protected interface (e.g. 0xFF), and the device — which ignores wIndex for device-scoped class requests — executes it.
This is exactly the threat model the feature's own comment names (services/device/public/cpp/device_features.cc:49-51): the protection is meant "to protect devices which ignore this field." But the mitigation's only mechanism for the device/other recipient is to match that same field against interface numbers. For the precise devices it is meant to defend, the check is contingent on a field those devices ignore and the attacker controls — so it is self-defeating and trivially bypassable. (By contrast, ClaimInterface (L427) keys on the real interface number, not on wIndex, and remains sound.)
Reproduction (PoC attached: bt_exploit_poc_new.html)
Identical to the CVE-2026-5276 PoC, changing only the control transfer's wIndex (index: 0 → index: 0xFF). On a USB Bluetooth dongle (CSR8510 A10), interfaces 0/1 are class 0xE0, so 0xFF matches no interface.
- Connect the dongle via the WebUSB chooser (one click).
- Control (fix is active): send
HCI_Write_Local_Nameas{requestType:'class', recipient:'device', index:0}→ rejected (the fix blocks it, becauseindex&0xff = 0resolves to the0xE0interface). - Bypass: send the identical command with
index:0xFF→status:"ok", and the dongle's Bluetooth name visibly changes — confirmed on a nearby device scanning for Bluetooth. NoclaimInterface()is performed.
The delivery of the class request to the protected interface — despite the block being enabled — is the boundary failure.
I tested this on latest Chrome (149.0.7827.54) on MacOS.
Suggested fix
Do not derive the protected-class decision from the renderer-controlled wIndex for device/other recipients. For a class control transfer to recipient: device/other, block it whenever the device exposes any protected-class interface (the "device ignores wIndex" case cannot be safely allowed), or require a claimed non-protected interface and reject otherwise. The enforcement must not be contingent on a field that the protected devices ignore and the caller controls.
References
- Incomplete-fix target: https://issues.chromium.org/issues/489711638 — CVE-2026-5276
- Original protection: CVE-2018-6125 (
blocked_interface_classes_) services/device/usb/mojo/device_impl.cc—HasControlTransferPermission(L202-320;wIndexinterface lookup L260-274; protected-class block L283-294; fall-throughreturn trueL319);ClaimInterface(correct enforcement) L427services/device/public/cpp/device_features.cc:49-53—kWebUsbProtectedClassControlTransferBlock(enabled by default) + commentthird_party/blink/renderer/modules/webusb/usb_device.cc—ConvertControlTransferParameters(forwardsindexunvalidated fordevice/other)services/device/usb/usb_device_handle_usbfs.cc:133—setup.wIndex = index(verbatim to the wire)
Impact analysis
Identical to CVE-2026-5276. After one chooser click, any web origin regains arbitrary class control-transfer access to protected USB interfaces: full HCI control of Bluetooth adapters (make discoverable, change name, disable authentication/encryption — enabling CVE-2023-45866-style HID keystroke injection), and equivalent access to smart-card/CCID readers, mass storage, and other protected classes. Web Platform Privilege Escalation — the protection believed to be enforced is not, for the exact device population it targets.
The cause
What version of Chrome have you found the security issue in?
149.0.7827.54 stable
Is the security issue related to a crash?
No, it is not related to a crash.
Choose the type of vulnerability
Privilege Escalation
How would you like to be publicly acknowledged for your report?
Ariel Simon
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 protected-class decision for device/other recipients is derived from the renderer-controlled wIndex rather than from the device's actual interfaces, so a mismatched index skips the block and falls through to allow.
Impact
After a single chooser click, any web origin could regain arbitrary class control-transfer access to protected USB interfaces, including full HCI control of Bluetooth adapters and equivalent access to smart-card, mass storage and other protected classes.
What the attacker needed
Victim connects a protected USB device; victim clicks the WebUSB chooser once; device ignores wIndex for class requests
The fix
The protected-class decision for device/other recipients should not depend on wIndex; such transfers should be blocked whenever the device exposes any protected-class interface, or require a claimed non-protected interface.
How it was found
- Connect the USB Bluetooth dongle through the WebUSB chooser with one click.
- Send a class control transfer to the device recipient with index 0, which is rejected because it resolves to a protected interface.
- Send the identical command with index 0xFF, which matches no interface, and observe it succeed and the dongle's name 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.
WebUSB lets a web page talk to a USB device after the user picks it in a pop-up. Chrome tries to stop pages from sending certain sensitive commands to risky device types, like Bluetooth adapters. The check looked at a number the page itself supplies to decide which part of the device is targeted, so the page could give a wrong number, skip the check, and still reach the sensitive part.
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.