Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach UniFi OS management interface
-
DeliveryAuthenticate as low-privileged operator
-
ExploitSubmit crafted input to vulnerable endpoint
-
ExecutionShell metacharacters bypass input validation
-
PersistCommand executes on UniFi OS device
-
ImpactPivot to subordinate services and network
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Attacker must have network reachability to the UniFi OS management plane (UI/API on the affected console, server, NVR, NAS, Cloud Key, or Cloud Gateway) and must hold valid low-privileged credentials on that UniFi instance (PR:L) - exploitation is not possible fully unauthenticated from the internet against a default-locked-down deployment. No user interaction is required (UI:N) and attack complexity is low (AC:L), so once the precondition of a low-priv account plus network reach is met, exploitation is reliable; deployments that expose the controller UI to the internet or that hand out many operator/site-manager accounts to third parties are materially more at risk than isolated home deployments where only the owner has credentials. |
| Impact | Signals are largely aligned toward high priority: CVSS 9.9 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) indicates a network-reachable, low-complexity attack requiring only low privileges and no user interaction, with scope change and total impact on the device. However, exploitation is not strictly unauthenticated - PR:L means an attacker must hold a valid low-privileged UniFi account or session, which materially limits internet-wide mass exploitation in well-segmented deployments where the controller UI is not exposed. EPSS and KEV data were not provided in the input, and no public POC is referenced, so this currently reads as a high-severity flaw with credible exploitability but no confirmed in-the-wild activity; organizations exposing UniFi management interfaces to untrusted networks or with many guest/operator accounts should treat it as urgent. |
| Exploit ScenarioDerived | An attacker who has obtained or been granted a low-privileged UniFi operator account (for example a site viewer, guest WiFi manager, or contractor login) reaches the UniFi OS management interface on the LAN, VPN, or an exposed remote-access endpoint and submits a crafted parameter to an API or settings field that is passed unsanitized into a shell invocation. Shell metacharacters in the payload break out of the intended command, executing arbitrary code as the management service account on the UniFi OS device and, due to scope change, pivoting to control subordinate services such as routing, firewall rules, or NVR storage. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 12, 2026
Authenticated command injection in Ubiquiti UniFi OS allows low-privileged network-adjacent attackers to execute arbitrary OS commands on UniFi gateways, controllers, NVRs, and NAS devices, with a CVSS 9.9 score reflecting scope change and full CIA impact. The vulnerability affects a broad device family including UDM, UDM Pro/SE/Max/Beast, UDR, UDW, UCG, UNVR, and UNAS lines per Ubiquiti Security Advisory Bulletin 065. No public exploit identified at time of analysis and the issue is not currently listed in CISA KEV.
RemediationAI
Patch available per vendor advisory: update each affected UniFi OS console, server, NVR, NAS, and Cloud Gateway/Cloud Key device to the fixed UniFi OS firmware listed in Ubiquiti Security Advisory Bulletin 065 at https://community.ui.com/releases/Security-Advisory-Bulletin-065-065/aa46a22b-fc43-4eae-9382-6fc8feda967a; exact patched version numbers should be taken from that advisory. Until devices are upgraded, restrict the UniFi OS management UI and APIs to trusted management VLANs or VPN-only access, disable any internet-exposed remote-access/port-forwarding to the controller (port 443/8443), audit and remove unnecessary low-privileged local accounts, rotate credentials for any account that may have been shared with untrusted operators, and enable MFA on Ubiquiti SSO - noting that the trade-off of locking down the management plane is loss of casual remote administration via the public UI.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 32 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 Linux-based operating system that powers Ubiquiti's gateway, controller, NVR, and NAS appliances; it exposes a unified management web UI and REST APIs that proxy operator-supplied parameters to underlying system tooling. The root cause is CWE-20 (Improper Input Validation): user-controlled input received over the management plane is not adequately sanitized before being incorporated into a command invocation, allowing shell metacharacters or argument injection to break out into the underlying shell. Because UniFi OS consoles host management daemons that frequently run with elevated privileges and bridge to subordinate UniFi network and protect services, a successful injection on the OS layer can pivot beyond the immediate process - consistent with the CVSS Scope:Changed designation.
Know when Express 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:L/UI:N/S:C/C:H/I:H/A:H
Management plane is network-reachable (AV:N), exploitation is reliable once authenticated (AC:L), a low-privileged UniFi account is required (PR:L), no user interaction, and command execution on UniFi OS pivots to subordinate services (S:C) with full CIA impact.
Primary rating from Vendor (hackerone).
CVSS VectorVendor: hackerone
Lifecycle Timeline
1DescriptionCVE.org
A malicious actor with access to the network and low privileges could exploit an Improper Input Validation vulnerability found in certain devices running UniFi OS to execute a Command Injection within such UniFi OS devices or instances.
Articles & Coverage 2
Executive ViewAI
Ubiquiti UniFi OS devices (UDM, UDM Pro, controllers, NVRs, NAS appliances) contain a critical authenticated command injection vulnerability (CVSS 9.9) enabling low-privileged local users to execute arbitrary OS commands with full system impact, compromising network access control, video surveillance, and infrastructure management. No vendor patch is currently available, requiring immediate compensating controls to isolate and harden these devices. Organizations with UniFi deployments face direct risk to network security posture until remediation is possible.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict UniFi device management access to dedicated administrative VLAN with strict firewall rules; (2) Enforce multi-factor authentication on all administrative accounts; (3) Implement network detection for suspicious command execution patterns; (4) Disable unnecessary management protocols and services; (5) Maintain offline configuration backups; (6) Document expedited patch deployment procedure for vendor release; (7) Monitor Ubiquiti advisory channels for patch status and timeline.
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 4qs before 6.10.3, as used in Express before 4.17.3 and other products, allows attackers to cause a Node process hang for
Authentication bypass in Ubiquiti UniFi OS lets a network-adjacent, unauthenticated attacker abuse improper neutralizati
A vulnerability has been identified in the Express response.links function, allowing for arbitrary resource injection in
Authentication bypass in Ubiquiti UniFi OS lets a network-adjacent attacker circumvent login on affected devices by inje
Denial of Service vulnerability in Multer (Node.js multipart form-data middleware) affecting versions 1.4.4-lts.1 throug
Unauthenticated network attackers can crash Ubiquiti UniFi gateway devices by sending crafted traffic that triggers an o
Denial of service in Ubiquiti UniFi gateway devices (Dream Machines, Dream Routers, Dream Wall, Cloud Gateways, Enterpri
Unauthenticated network attackers who can reach an affected Ubiquiti UniFi gateway can trigger an out-of-bounds read (CW
Denial of service in UniFi gateway devices (Dream Machines, Dream Routers, Dream Wall, Cloud Gateways, Enterprise Firewa
Network-reachable out-of-bounds write in Ubiquiti UniFi gateway devices-including Dream Machine, Dream Router, Dream Wal
EUVD-2026-36384
GHSA-m7hq-4j28-748g
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB