Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain low-privilege account + network access
  2. Delivery
    Reach UniFi OS management interface
  3. Exploit
    Submit crafted input to vulnerable field
  4. Execution
    Inject shell command bypassing input validation
  5. Persist
    Execute arbitrary OS commands on host
  6. Impact
    Full device takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires (1) network reachability to the affected UniFi OS device's management surface and (2) a valid low-privilege authenticated account on that device - the CVSS vector's PR:L confirms authentication is needed, and the description explicitly states 'low privileges.' No user interaction and no special non-default feature toggle is documented as required (UI:N), so any UniFi OS build before 5.1.19 with a reachable management interface is exploitable by an authenticated low-privilege actor. The practical limiters are the need for that authenticated foothold and network access to the management interface, which in default deployments is LAN/management-network scoped rather than internet-facing; there is no unauthenticated path.

Impact

The signals are moderately consistent but not alarming. CVSS 3.1 is 8.8 (High) with network vector, low complexity, and only low privileges required (AV:N/AC:L/PR:L/UI:N), and SSVC rates technical impact as 'total' - meaning a successful exploit fully compromises the device. Countervailing signals lower the urgency: EPSS is only 0.79% (52nd percentile), SSVC exploitation status is 'none' (not in CISA KEV), and SSVC marks it not automatable. No public exploit has been identified. The key limiter is PR:L - the attacker must already hold a low-privilege authenticated foothold and network reachability to the management interface, which is not typically internet-exposed by default. Net assessment: a genuinely serious device-takeover bug worth prompt patching in managed fleets, but current real-world exploitation risk is low-to-moderate rather than emergency, and it is better treated as targeted-risk than mass-exploitable. No data conflicts were observed between the CVSS vector and the description; both indicate authenticated network-adjacent access.

Exploit ScenarioDerived

An attacker who has obtained a low-privileged UniFi account - for example a limited operator login or reused/leaked credentials - and can reach the device's management interface over the network submits a crafted value into a vulnerable input field that is passed to a host command. The injected shell payload executes on the UniFi OS host, giving the attacker command execution as the appliance's service context and a path to full device takeover. No public proof-of-concept has been identified, and the attack requires the authenticated foothold rather than being anonymously exploitable.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jul 10, 2026

Command injection in Ubiquiti UniFi OS (all builds before 5.1.19) lets a low-privileged user on the same network run arbitrary operating-system commands on the underlying host device, giving full control of gateways, recorders, and Cloud Keys. The flaw stems from improper input validation (CWE-20) and carries high confidentiality, integrity, and availability impact (CVSS 8.8). There is no public exploit identified at time of analysis, and CISA's SSVC framework rates exploitation as none, but the technical impact is total and a vendor patch is already available.

Earlier versions of this analysis (2)
v2 Jul 10, 2026 - 03:01 cvss changed CVSS 8.8

Command injection in Ubiquiti UniFi OS (versions prior to 5.1.19) allows a network-adjacent attacker holding low-privilege credentials to run arbitrary operating-system commands on the host device, gaining total control over gateways, recorders, and Cloud Keys running the platform. The flaw stems from improper input validation (CWE-20) reachable over the network, and while a vendor patch is available, there is no public exploit identified at time of analysis and EPSS rates near-term exploitation probability low at 0.79%.

v1 Jul 02, 2026 - 15:32 CVSS 9.9

Command injection in Ubiquiti UniFi OS allows a low-privileged attacker with network access to execute arbitrary operating-system commands on the underlying host device, affecting the UniFi OS Server and a broad range of UniFi appliances including Dream Machines, Dream Routers, Cloud Gateways, Cloud Keys, and Network/Enterprise Video Recorders. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C, all impacts High) scores 9.9 because a scope change lets an authenticated but low-privilege actor break out of the application context and fully compromise the host. There is no public exploit identified at time of analysis and it is not listed in CISA KEV, but the near-maximum score and host-level takeover make this a high-priority patch.

RemediationAI

Vendor-released patch: UniFi OS 5.1.19. Upgrade every affected device - Dream Machine/Router/Wall, Cloud Gateways, Cloud Keys, Express 7, Enterprise Fortress Gateway, Enterprise Firewall Core, UniFi OS Server, and the NVR/EVR/NAS lines - to 5.1.19 or later as described in Ubiquiti Security Advisory Bulletin 066 (https://community.ui.com/releases/Security-Advisory-Bulletin-066-066/984eceb3-49c8-4227-942d-671c289b3afc). Because exploitation requires a low-privileged authenticated user with network access, effective interim compensating controls until patching is complete are: restrict the UniFi OS management interface to a dedicated management VLAN and trusted admin IPs (side effect: admins must connect from that segment), ensure the management UI and SSH are never exposed to the internet, and audit and reduce the number of low-privilege local accounts and revoke unnecessary ones (side effect: some delegated operators lose access). Enforcing strong, unique credentials and MFA on management accounts further limits who can reach the vulnerable authenticated surface.

Affected VersionsENISA

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

Affected Packages

euvd cloud_gateways fix: 5.1.19
euvd cloud_keys fix: 5.1.19
euvd dream_machines fix: 5.1.19
euvd dream_routers fix: 5.1.19
euvd dream_wall fix: 5.1.19
euvd enterprise_firewall_core fix: 5.1.19
euvd enterprise_fortress_gateway fix: 5.1.19
euvd enterprise_video_recorders fix: 5.1.19
euvd express_7 fix: 5.1.19
euvd network_attached_storage fix: 5.1.19
euvd network_video_recorders fix: 5.1.19
euvd unifi_os_server fix: 5.1.19

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 12 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

UniFi OS is the embedded Linux-based management operating system that runs Ubiquiti's networking and video product lines - Dream Machine/Router/Wall gateways, Cloud Gateways, Cloud Keys, Express 7, Enterprise Fortress Gateway, Enterprise Firewall Core, and Network/Enterprise Video Recorders, plus the self-hosted UniFi OS Server (per the ubiquiti_inc CPE entries). The root cause is CWE-20 Improper Input Validation: attacker-controlled input reaches a host command context without adequate sanitization, allowing shell metacharacters or arguments to be injected and executed by the OS. Because the injection runs on the host device itself, successful exploitation translates directly into control of the appliance's operating system rather than just the management application.

Know when Network Attached Storage gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (hackerone) PRIMARY CRITICAL
NVD 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable management interface (AV:N) with low complexity and no user interaction, but requires a low-privilege authenticated account (PR:L); command execution on the host yields total C/I/A impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (hackerone).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Jul 10, 2026 - 03:02 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 10, 2026 - 03:01 vuln.today
v2 - CVSS changed
Severity Changed
Jul 10, 2026 - 02:52 NVD
CRITICAL HIGH
CVSS changed
Jul 10, 2026 - 02:52 NVD
9.9 (CRITICAL) 8.8 (HIGH)
Patch available
Jul 02, 2026 - 16:17 EUVD

DescriptionNVD

A malicious actor with access to the network and low privileges could exploit an Improper Input Validation vulnerability found in UniFi OS to execute a Command Injection on the host device.

Executive ViewAI

Why It Matters

Ubiquiti UniFi OS versions prior to 5.1.19 contain a critical command injection vulnerability (CVE-2026-54402) that permits low-privileged network users to execute arbitrary operating-system commands on infrastructure devices including gateways, recorders, and Cloud Keys. Successful exploitation grants complete device control with implications for network integrity, surveillance system availability, and potential lateral movement into connected enterprise systems.

Business Impact: High
Compensating Controls

Apply vendor patch: Ubiquiti UniFi OS version 5.1.19 or later.

Threat Intelligence Overview

EPSS Score
0.8%
Top 48% exploitable
Prevalence
High
Ubiquiti UniFi gear is widely deployed across SMB, prosumer, and enterprise networks
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy