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

Incorrect authorization in USB (CVE-2026-78911)

A logic flaw in WebUSB control transfer permission checks lets a compromised renderer bypass blocklists for protected device interfaces by using the RESERVED transfer type with a DEVICE or OTHER recipient. This could allow arbitrary control transfers to interfaces such as HID or Mass Storage on non-Windows platforms.

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. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A potential logic bypass in WebUSB control transfer permission checks could allow a compromised renderer to issue arbitrary control transfers to protected device interfaces. By utilizing the UsbControlTransferType::RESERVED type with a DEVICE or OTHER recipient, the request can bypass standard and class-specific blocklists. This may enable communication with protected interfaces like HID or Mass Storage on platforms that support the RESERVED type.

Affected files:

  • services/device/usb/mojo/device_impl.cc
  • services/device/usb/usb_device_handle_win.cc

Estimated timestamp from git blame: 2026-04-07

Potential Security Bypass in WebUSB Control Transfer Checks

There is a potential logic-level security bypass within WebUSB's control transfer permission checks (DeviceImpl::HasControlTransferPermission in services/device/usb/mojo/device_impl.cc).

An attacker who has already compromised the renderer process could potentially make direct Mojo calls utilizing the UsbControlTransferType::RESERVED transfer type. This bypasses the browser's filters designed to prevent untrusted web pages from sending arbitrary or class-specific control transfers to protected USB device interfaces (such as keyboards/HID or mass storage).

Technical Details

In services/device/usb/mojo/device_impl.cc, DeviceImpl::HasControlTransferPermission performs the following validation steps:

  1. Standard Request Filter Bypass:

    C++
    if (type == UsbControlTransferType::STANDARD) { ... }
    

    If the transfer type is UsbControlTransferType::RESERVED, the STANDARD filter checks are skipped entirely.

  2. Class/Interface Filter Bypass: The logic to resolve the target interface pointer is as follows:

    C++
    const mojom::UsbInterfaceInfo* interface = nullptr;
    if (recipient == UsbControlTransferRecipient::ENDPOINT) {
      interface = device_handle_->FindInterfaceByEndpoint(index & 0xff);
    } else if (recipient == UsbControlTransferRecipient::INTERFACE ||
               type == UsbControlTransferType::CLASS) {
      // This block is skipped because recipient is DEVICE/OTHER and type is RESERVED
      ...
    }
    

    When recipient is UsbControlTransferRecipient::DEVICE or UsbControlTransferRecipient::OTHER, and type is RESERVED, the interface pointer remains nullptr. Thus, the critical block for checking protected classes is completely bypassed:

    C++
    if (interface && base::FeatureList::IsEnabled(
                         features::kWebUsbProtectedClassControlTransferBlock)) {
      // Protected class check (e.g., HID, Mass Storage) is bypassed because interface is nullptr
      ...
    }
    
  3. Permission Approved: Since the recipient is not INTERFACE or ENDPOINT, the function falls through and returns true (allowing the transfer).

Downstream Wire Transfer

Once permitted, the transfer is submitted to the low-level backend. On Linux, macOS, Android, and ChromeOS, RESERVED maps directly to standard USB reserved request type bits (0x60) on the wire. If the connected USB device's firmware implements relaxed request validation (e.g., executing class commands based on bRequest while ignoring the transfer type bits), the transfer will succeed on the targeted protected interface.

(Note: On Windows, WinUSB incorrectly maps RESERVED due to a shift overflow in usb_device_handle_win.cc, meaning this potential bypass is highly likely limited to non-Windows platforms).

Potential Attack Steps

  1. A user grants WebUSB access to a composite USB device that exposes both a benign vendor interface and a protected interface (e.g., HID/keyboard).
  2. An attacker compromises the renderer process via an unrelated vulnerability to execute arbitrary code.
  3. The compromised renderer bypasses WebIDL bindings and invokes the Mojo interface device::mojom::UsbDevice::ControlTransferOut directly.
  4. The attacker specifies type = UsbControlTransferType::RESERVED, recipient = UsbControlTransferRecipient::DEVICE, request corresponding to a class action (e.g., HID SET_REPORT), and index mapping to the target interface.
  5. The browser process approves the request and transmits it to the USB device, potentially allowing arbitrary operations on the protected interface (e.g., keystroke injection).

Please note: These are potential steps based on source code analysis. Our tooling does not currently have the capability to run code or verify this with a live proof of concept.

Suggested Remediation

To fix this potential bypass, DeviceImpl::HasControlTransferPermission should reject control transfers of type UsbControlTransferType::RESERVED unless they are explicitly required and verified. If RESERVED is not intended for untrusted client use, consider blocking it at the Mojo boundary or within HasControlTransferPermission:

C++
if (type == UsbControlTransferType::RESERVED) {
  return false;
}

Alternatively, ensure that the protected class control transfer blocklist is applied to all request types if an interface is targetable, or treat RESERVED requests as restricted/class-specific.

Evaluated with Chrome root at commit: 5133b93d189b383c37805b1cf3a9d2dbfe8d7379


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

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

Likely, the permission check only resolves the target interface for INTERFACE or ENDPOINT recipients and CLASS transfers, so a RESERVED transfer to DEVICE or OTHER leaves the interface pointer null and skips the protected-class blocklist.

Impact

A compromised renderer could potentially perform arbitrary operations on a protected USB interface, such as keystroke injection, but the bypass is likely limited to non-Windows platforms and depends on the device firmware accepting the request.

What the attacker needed

User grants WebUSB access to a composite device; attacker already controls the renderer process; device firmware accepts relaxed request validation; non-Windows platform

The fix

The permission check should reject RESERVED control transfers or apply the protected-class blocklist to all request types that can target an interface.

How it was found

  1. A user grants WebUSB access to a composite USB device that exposes both a benign vendor interface and a protected interface.
  2. An attacker compromises the renderer process via an unrelated vulnerability.
  3. The compromised renderer bypasses WebIDL bindings and invokes the Mojo interface directly.
  4. The attacker specifies the RESERVED transfer type, a DEVICE recipient, a class action request, and an index for the target interface.
  5. The browser process approves the request and transmits it to the USB device.

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 websites talk to USB devices after the user gives permission. The browser is supposed to block certain dangerous requests, like those that could act as a keyboard. This report says a specially crafted request type can slip past those checks, but only if the attacker already controls the browser's rendering process.

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.