Android security tags, read closely by Lightrion

CVE-2026-58945 AI-generated analysis

platform/packages/modules/Bluetooth, system/stack/gatt (GATT server) and system/btif (btif_gatt_server)

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (6 corrections). Verify against the commit before relying on it.

Adds attribute-permission security checks to server-side GATT notifications and indications in the Bluetooth stack: if the link lacks the required encryption or MITM authentication, the value is queued, encryption is started, and the value is resubmitted once encryption completes (or dropped with an error callback if encryption fails).

Root cause

GATTS_HandleValueIndication and GATTS_HandleValueNotification in system/stack/gatt/gatt_api.cc sent the value to the peer without checking the attribute's permission bits (GATT_READ_AUTH_REQUIRED, GATT_READ_MITM_REQUIRED, GATT_READ_ENCRYPTED_REQUIRED, GATT_PERM_READ_IF_ENCRYPTED_OR_DISCOVERABLE) against the link security state. Permission logic existed in gatt_db.cc (gatts_check_attr_readability, gatts_read_attr_perm_check) but was not consulted on these send paths. As a result, characteristic values that an application marked as needing encryption or authentication could be sent to a connected peer over an unencrypted or unauthenticated link. The bulletin classifies this as an information disclosure.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings