November 19, 2026
Understanding CVE 2023 45866, the Bluetooth Keyboard Injection Flaw
How a device that pretends to be a keyboard can type on your phone or laptop, and what you can do about it.
By Reva Zuranti
1 min read
How a device that pretends to be a keyboard can type on your phone or laptop, and what you can do about it.
Bluetooth connects our phones, headsets, keyboards and TVs. In late 2023 researchers disclosed CVE 2023 45866, a flaw that lets a nearby attacker pose as a Bluetooth keyboard and send keystrokes to the target without the owner approving anything. In this article I explain the issue, who is affected and how to protect yourself. I studied the published proof of concept for my coursework and I am deliberately leaving exploit commands out here.
Step 1 โ Understand the problem
The weakness is classified as improper authentication. A Human Interface Device such as a keyboard is normally trusted once it is paired. In the affected implementations, a fake input device could connect and be accepted without the normal pairing confirmation. Keystrokes are powerful. They can open apps, install software, send messages or run commands, all as if you were typing yourself.
Step 2 โ Know the attack flow
- Discovery. The attacker scans for Bluetooth devices nearby.
- Spoofing. The attacker presents itself as a trusted input device.
- Injection. The attacker sends keystrokes that the target treats as real typing.
The attacker must be within Bluetooth range, which limits the risk but does not remove it in crowded places.
Step 3 โ Check whether you are affected
My report lists Android, Linux using BlueZ, macOS and iOS with certain keyboards, and Android or Linux based smart TVs as affected systems. Patches depend on the vendor, and some older Android versions did not get an official fix. Always confirm exact versions on the official entry at https://nvd.nist.gov/vuln/detail/CVE-2023-45866 and in your vendor's security bulletin.
Step 4 โ Protect yourself
- Install the latest security updates for your phone, computer and smart TV.
- Turn Bluetooth off when you do not need it.
- Review the list of paired devices and remove anything you do not recognize.
- Install apps only from official stores.
- Avoid using Bluetooth in crowded public places when you can.
- If your phone no longer receives updates, consider replacing it.
What I learned
Security is not only about passwords and firewalls. Even small convenience features can open a door. Patching quickly and turning off what you do not use are simple habits that remove a lot of risk.