Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach UniFi OS management interface over network
-
DeliverySend crafted HTTP request with injected shell metacharacters
-
ExploitBypass input validation in vulnerable parameter
-
ExecutionExecute arbitrary commands as root on appliance
-
PersistEstablish persistence and pivot into management VLAN
-
ImpactExfiltrate controller data or alter firewall/routing
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | The attacker requires network reachability to the UniFi OS management/web service on an affected device (UDM, UCG, UCK, UNVR, UNAS, Express, EFG, UDW, UDR variants running UniFi OS); per CVSS PR:N and UI:N no credentials and no user interaction are required, and the default-listening management interface is the attack surface. Practical limiting factor: UniFi OS administration is typically bound to LAN/management interfaces rather than the WAN, so direct internet exploitation generally requires that an operator has port-forwarded or otherwise exposed the management UI, while LAN-resident attackers (including guest-network clients if not properly segmented and any compromised internal host) can reach it under default deployments. No vulnerable feature toggle, non-default mode, or specific firmware build is called out in the description as a precondition - the vendor states only that network access to the device is sufficient. |
| Impact | The CVSS vector AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H is the worst-case profile - network-reachable, low complexity, no privileges, no user interaction, and total compromise with scope change - yielding the maximum 10.0 score. However, several mitigating signals temper real-world urgency: the issue is not in CISA KEV, no EPSS score was supplied, no POC is referenced, and the vendor advisory wording 'a malicious actor with access to the network' may indicate the management interface is not expected to be exposed to the open internet by default (UniFi OS web UI typically listens on LAN/management interfaces). If an operator has exposed UniFi OS administration to untrusted networks, this is an immediate priority; for LAN-only deployments the practical risk drops to an insider/lateral-movement scenario but remains critical because compromise of a UniFi gateway yields root on the network perimeter. EPSS data is missing, so probabilistic exploitation likelihood cannot be quantified from the provided inputs. |
| Exploit ScenarioDerived | An attacker on the same LAN as a UniFi gateway - for example, a guest Wi-Fi user, a compromised IoT device, or an insider - sends an HTTP request to the UniFi OS web service with a parameter containing shell metacharacters that the backend passes unsanitized to a system command, gaining root-equivalent code execution on the appliance. From there the attacker can pivot into the management VLAN, dump controller credentials, modify firewall rules to expose internal services, or backdoor firmware to persist across reboots. No public exploit identified at time of analysis, but the CVSS profile (AV:N/AC:L/PR:N/UI:N) implies a single-request exploitation primitive once the vulnerable parameter is identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 22, 2026
Unauthenticated command injection in Ubiquiti UniFi OS devices allows remote attackers with network access to execute arbitrary operating system commands by sending crafted input that bypasses validation. The flaw carries a maximum CVSS 10.0 score with scope change (S:C) impacting confidentiality, integrity, and availability, and affects a broad fleet of UniFi gateways, NVRs, NAS units, and Cloud Keys. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.
RemediationAI
Patch available per vendor advisory - apply the UniFi OS firmware updates listed in Ubiquiti Security Advisory Bulletin 064 (https://community.ui.com/releases/Security-Advisory-Bulletin-064-064/84811c09-4cf4-42ab-bd61-cc994445963b) for each affected device family as soon as possible; exact patched version numbers are not present in the supplied input data and should be read directly from the bulletin. Until firmware is applied, restrict reachability of the UniFi OS management interface (HTTPS web UI and any related API ports) to a dedicated management VLAN or jump host, and remove any port-forwarding or WAN exposure of the UniFi OS administration endpoint; this removes the network attack surface but breaks remote admin workflows that rely on direct device access (remote management via Ubiquiti's UI cloud proxy is unaffected). As an additional control, disable or block any unused services on the appliance and monitor authentication and command-execution logs for unexpected shell activity. Do not rely on credentials as a mitigation since the CVSS vector indicates PR:N (unauthenticated).
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 31 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 integrated operating environment Ubiquiti ships on its Dream Machine (UDM/UDM-Pro/UDM-SE/UDM-Pro-Max/UDM-Beast), Express, Cloud Gateway (UCG Ultra/Max/Fiber/Industrial), Cloud Key (UCK/UCKP/UCK Enterprise), Network Video Recorder (UNVR family, ENVR) and UNAS storage platforms, providing the web UI, controller services, and system APIs that front-end network and camera management. The root cause is CWE-20 Improper Input Validation: a parameter consumed by a backend handler is passed into a shell or command-executing routine without sufficient sanitization, allowing attacker-controlled metacharacters to be interpreted as command syntax. CVSS scope change (S:C) indicates that successful exploitation breaks out of the vulnerable component's security authority - typical for shell injection on an embedded appliance where the web service can reach the underlying root-capable OS.
Know when Udm 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
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Primary rating from Vendor (hackerone) · only source for this CVE.
CVSS VectorVendor: hackerone
Lifecycle Timeline
2DescriptionCVE.org
A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi OS devices to execute a Command Injection.
Executive ViewAI
Ubiquiti UniFi OS devices are vulnerable to unauthenticated remote code execution (CVE-2026-34910, CVSS 10.0) allowing attackers to execute arbitrary commands on network infrastructure including gateways, NVRs, NAS units, and Cloud Keys. No vendor-released patch identified at time of analysis, forcing immediate deployment of compensating controls to protect critical network assets from full compromise.
Implement network segmentation to isolate UniFi management interfaces; restrict administrative access to hardened bastion hosts; deploy network intrusion detection monitoring for command injection signatures; enable and actively monitor audit logs for unauthorized access attempts; maintain offline backups of device configurations; establish 24/7 monitoring for anomalous device behavior; prepare incident response procedures for potential compromise detection.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Related Vulnerabilities in UniFi OS Access Control and Injection Flaws
View all 5free5gc UDM provides Unified Data Management (UDM) for free5GC, an open-source project for 5th generation (5G) mobile co
free5gc UDM provides Unified Data Management (UDM) for free5GC, an open-source project for 5th generation (5G) mobile co
Remote attackers can inject control characters into the SUPI parameter of free5GC UDM versions up to 1.4.1, causing URL
Authenticated command injection in Ubiquiti UniFi OS allows low-privileged network-adjacent attackers to execute arbitra
Privilege escalation in Ubiquiti UniFi OS allows a low-privileged attacker with network access to elevate privileges on
free5gc UDM provides Unified Data Management (UDM) for free5GC, an open-source project for 5th generation (5G) mobile co
Information disclosure in Ubiquiti UniFi OS devices allows unauthenticated network-adjacent attackers to read sensitive
Improper access control in Ubiquiti UniFi OS allows network-adjacent attackers to make unauthorized configuration change
pkg/suci/suci.go in free5GC udm before 1.2.0, when Go before 1.19 is used, allows an Invalid Curve Attack because it may
EUVD-2026-31382
GHSA-fvgm-jgwh-qwx7
NVD
CVE.org
CISA KEV
EPSS
Vulnrichment
VulDB
Exploit-DB