CVE-2026-34910: Command Injection in Ubiquiti UniFi OS
- Vendor
- Ui
CVE-2026-34910 is an improper input validation vulnerability in Ubiquiti UniFi OS that permits arbitrary operating system command execution by an attacker with network access. The package-update functionality passes an insufficiently validated package name to a shell, allowing injected commands to execute with the vulnerable service's privileges. Chaining the flaw with CVE-2026-34908 and CVE-2026-34909 enables unauthenticated remote code execution with root privileges. Affected products include UniFi OS Server 5.0.6 and earlier and multiple gateway, console, NVR, and NAS families with product-specific vulnerable firmware versions. Ubiquiti addressed the vulnerability in Security Advisory Bulletin 064 on May 21, 2026. Exploitation in the wild has been observed, and CISA added the vulnerability to its Known Exploited Vulnerabilities catalog on June 23, 2026.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows arbitrary command execution, potentially compromising device confidentiality, integrity, and availability. The demonstrated unauthenticated exploit chain provides root-level control, enabling theft of stored credentials and configuration secrets, unauthorized administrative changes, malware deployment, persistence, and service disruption. Compromise of a UniFi management device can also facilitate manipulation of managed network infrastructure and lateral movement. Observed exploitation has included downloading and executing botnet malware and backdoors.
Mitigation
If you can’t patch tonight, do this now.
Remove public management-interface exposure and restrict access to dedicated administrative networks, controlled jump hosts, or trusted VPN connections. Block management access from untrusted network segments. Monitor for encoded traversal requests, suspicious package-update requests, unexpected shell or download processes, unauthorized administrator accounts, scheduled-task changes, and anomalous outbound connections. These controls reduce exposure but do not replace firmware updates.
Remediation
Patch, then assume compromise.
Apply the product-specific updates from Ubiquiti Security Advisory Bulletin 064 or a later supported release. Minimum fixed versions include UniFi OS Server 5.0.8; most affected gateway, console, Cloud Key, and NVR families, including UCG-Industrial and UNVR-G2 models, 5.1.12; UNAS models 5.1.10; UDM-Beast 5.1.11; and Express 4.0.14. Verify applicability and installed versions for each model. For confirmed compromises, isolate the device, preserve forensic evidence, rebuild from clean firmware, rotate exposed credentials and cryptographic secrets, and invalidate existing sessions. Updating firmware alone does not remove previously established persistence.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-34910 exploited in the wild?
- Yes. As of Oct 31, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jun 23, 2026.
- Is there a public exploit for CVE-2026-34910?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-34910, the earliest disclosed Aug 9, 2026.
- Is there a patch for CVE-2026-34910?
- Apply the product-specific updates from Ubiquiti Security Advisory Bulletin 064 or a later supported release. Minimum fixed versions include UniFi OS Server 5.0.8; most affected gateway, console, Cloud Key, and NVR families, including UCG-Industrial and UNVR-G2 models, 5.1.12; UNAS models 5.1.10; UDM-Beast 5.1.11; and Express 4.0.14.
- What products are affected by CVE-2026-34910?
- Ui Unifi Os Server, Ui Enterprise Fortress Gateway Firmware, Ui Enterprise Network Video Recorder Core Firmware, Ui Enterprise Network Video Recorder Firmware, Ui Unas 2 Firmware, and at least 26 more.
- How severe is CVE-2026-34910?
- CVE-2026-34910 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 45.8% (99th percentile) as of Oct 31, 2026.
Recent activity
80 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.