CVE-2026-54404: Ubiquiti UniFi OS SQL injection privilege escalation

CVE-2026-54404 · Severity: high · CVSS 8.8 · Published 2026-07-02

Ubiquiti UniFi OS, the software used to manage various networking and security devices like routers and video recorders, is affected by a security flaw. An attacker who already has a low-level account on the network could use this vulnerability to gain full administrative control over the device. This could allow them to access sensitive data, disrupt network operations, or compromise connected security cameras and storage systems.

Technologies: Ubiquiti Cloud Gateway, Ubiquiti Cloud Key, Ubiquiti Dream Machine, Ubiquiti Dream Router, Ubiquiti Dream Wall, Ubiquiti Enterprise Firewall Core, Ubiquiti Enterprise Video Recorder, Ubiquiti Network Video Recorder, Ubiquiti UniFi OS. Vendors: Ubiquiti.

Quick answers

Is CVE-2026-54404 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-54404 being exploited in the wild.
How severe is CVE-2026-54404?
High severity, with a CVSS score of 8.8, published 2 July 2026.
Which products and versions are affected?
Ubiquiti Cloud Gateway < 5.1.19; Ubiquiti Cloud Key < 5.1.19; Ubiquiti Dream Machine < 5.1.19; Ubiquiti Dream Router < 5.1.19; and 5 more.
Is there a fix for CVE-2026-54404?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-54404 attacked?
It is attacked over the network, in an operating system.
Am I affected by CVE-2026-54404?
Check whether you run Ubiquiti Cloud Gateway, Ubiquiti Cloud Key, Ubiquiti Dream Machine or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A series of authenticated SQL injection (CWE-89) vulnerabilities exist in Ubiquiti UniFi OS across multiple hardware platforms. The vulnerability is exploitable by a remote attacker with low-privileged credentials (PR:L) over the network (AV:N). By injecting malicious SQL commands, an attacker can bypass intended access controls to escalate their privileges within the UniFi OS environment. The issue affects various product lines including Dream Machines, Cloud Keys, and Network Video Recorders running versions prior to 5.1.19. Users are advised to update to UniFi OS version 5.1.19 or later to mitigate these risks.

Affected products

  • Ubiquiti Inc UniFi OS Server < 5.1.19
  • Ubiquiti Inc Dream Machines < 5.1.19
  • Ubiquiti Inc Enterprise Fortress Gateway < 5.1.19
  • Ubiquiti Inc Dream Wall < 5.1.19
  • Ubiquiti Inc Dream Routers < 5.1.19
  • Ubiquiti Inc Express 7 < 5.1.19
  • Ubiquiti Inc Cloud Keys < 5.1.19
  • Ubiquiti Inc Network Video Recorders < 5.1.19
  • Ubiquiti Inc Enterprise Video Recorders < 5.1.19
  • Ubiquiti Inc Cloud Gateways < 5.1.19
  • Ubiquiti Inc Network Attached Storage < 5.1.19
  • Ubiquiti Inc Enterprise Firewall Core < 5.1.19

Timeline

  • 2026-07-02: disclosed
  • 2026-07-02: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.