Router vulnerability note - Ubiquiti
UniFi device-to-controller traffic in AES-CBC, and a CVE published seven years late
What happened
The channel between a UniFi device and its controller is encrypted, and for a long time it was encrypted with AES in CBC mode. As the advisory (Ubiquiti's own Security Advisory Bulletin 004) puts it, the mode has weaknesses that let someone who can capture enough traffic derive the key, and from there take over the management relationship. The affected floor: controller before 5.10.12 (with 5.6.42 excluded as fixed), UAP and USW firmware before 4.0.6, UAP-AC Outdoor before 3.8.17, USG before 4.4.34.
What makes it notable is the timeline. A CVE numbered 2019 was published in March 2026. The bug had been fixed for years; someone finally wrote the number down. For an operator this is a useful reminder that "we are up to date" and "we know what we are up to date about" are different statements, and that the second one is what an audit is actually selling you.
Who is affected
UniFi estates on controller 5.x and device firmware of the same era; anything that stayed on the pre-4.0.6 device firmware.
Check it yourself
Controller and device versions, and where the capture would happen
In the console: Settings > System > about / updates $ ssh ubnt@<ap-ip> $ mca-dump | head -20 # modern equivalents vary by generation # and on the network: is the controller reachable from the client VLAN at all?
Do this
- Upgrade the controller first, then the devices, so the devices are never asked to speak a dialect the controller dropped.
- Re-adopt or at least re-verify devices after the upgrade; the management channel renegotiates.
- Keep the controller on a management network rather than wherever the NUC happened to be plugged in.
- Write down the versions somewhere that is not the console, because the console will be migrated.
How we handle it
We keep the CVE list per model and per firmware line, which is the only way these retroactive numbers help anybody. If your UniFi estate predates 2021, the audit is usually where we both find out.