CVE-2026-34910

CRITICAL(10.0)KEVLikely Exploited

Ubiquiti UniFi OS Improper Input Validation Vulnerability

Description

CVE-2026-34910 is a CRITICAL command injection vulnerability, rooted in improper input validation, affecting Ubiquiti UniFi OS devices and carrying the maximum CVSS 3.1 score of 10.0. Because UniFi OS does not properly validate attacker-supplied input, a malicious actor with network access can inject and execute arbitrary operating-system commands on the affected device without any authentication or user interaction. Successful exploitation of CVE-2026-34910 gives an attacker complete control over the device — routers, gateways, and network video recorders that sit at the edge of the network — enabling data theft, traffic interception, and use of the device as a pivot into the internal network. The vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, and with an EPSS score of 0.78555 (99.5th percentile) plus a public exploit report describing Mirai botnet exploitation in the wild, CVE-2026-34910 is an urgent, actively exploited threat that demands immediate patching of every UniFi OS device.

KEV Information

Vendor
Ubiquiti
Product
UniFi OS
Date Added
June 23, 2026
Due Date
June 26, 2026
Required Action
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

CVSS Score

Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HOpen in Calculator
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
6.0

CWEs

Affected Products

VendorProductVersion
uiunifi os server< 5.0.8
uiunifi cloud gateway industrial firmware< 5.1.12
uiunifi dream machine firmware< 5.1.12
uiunifi dream machine pro firmware< 5.1.12
uiunifi dream machine special edition firmware< 5.1.12
uiunifi dream machine pro max firmware< 5.1.12
uienterprise fortress gateway firmware< 5.1.12
uiunifi dream wall firmware< 5.1.12
uiunifi dream router firmware< 5.1.12
uiunifi dream router 7 firmware< 5.1.12
uiunifi express 7 firmware< 5.1.12
uiunifi network video recorder firmware< 5.1.12
uiunifi network video recorder pro firmware< 5.1.12
uiunifi network video recorder instant firmware< 5.1.12
uienterprise network video recorder firmware< 5.1.12
uiunifi cloud gateway ultra firmware< 5.1.12
uiunifi cloud gateway max firmware< 5.1.12
uiunifi cloud gateway fiber firmware< 5.1.12
uiunifi dream router 5g max firmware< 5.1.12
uienterprise network video recorder core firmware< 5.1.12

References

Weakness Type

CWE-20: Improper Input Validation

CVE-2026-34910 stems from CWE-20, where UniFi OS receives input but fails to verify that it conforms to the expected format, length, type, or character set before processing it. Because the device accepts unvalidated, attacker-controlled data and passes it into a context where it is interpreted as an operating-system command, an unauthenticated network attacker can supply malformed input that alters program behavior and achieves command injection. This improper input validation is the root cause that turns a routine data-handling path into a full remote code execution primitive.

Learn more: CWE-20 — Improper Input Validation

Impact Analysis

CVE-2026-34910 carries the maximum CVSS 3.1 score of 10.0 (CRITICAL) and is remotely exploitable without physical access (Attack Vector NETWORK), easy to exploit with no special conditions (Attack Complexity LOW), requires no authentication (Privileges Required NONE), and needs no user interaction (User Interaction NONE). The scope is Changed, meaning a compromise of the vulnerable UniFi OS component can affect resources beyond it — the attacker can reach and control the wider network the device governs. All three impact metrics are HIGH: an attacker can read sensitive configuration and traffic data (Confidentiality), tamper with device firmware, rules, and routing (Integrity), and disrupt or disable network connectivity entirely (Availability). With an EPSS score of 0.78555 in the 99.5th percentile, exploitation is highly likely and, given the KEV listing and reports of in-the-wild Mirai botnet abuse, is already occurring — organizations running affected UniFi OS devices should treat CVE-2026-34910 as a critical, time-sensitive emergency.

Exploit Maturity

Public exploit information is available for CVE-2026-34910 via pwndefend.com, which documents active exploitation in the wild and the use of the vulnerability to build a Mirai botnet from compromised UniFi OS devices. CISA has confirmed active exploitation by adding CVE-2026-34910 to the Known Exploited Vulnerabilities catalog, with a federal remediation deadline of 2026-06-26; while the KEV ransomware status is currently listed as Unknown, botnet enrollment of edge devices is a serious and immediate threat. The EPSS score of 0.78555 places CVE-2026-34910 in the 99.5th percentile, indicating a very high, near-certain likelihood of ongoing exploitation activity. Organizations should assume attacks are actively underway and patch every affected UniFi OS device without delay.

Remediation

  1. Apply the vendor security update immediately. Per CISA's KEV required action, apply mitigations in accordance with Ubiquiti's instructions and comply with BOD 26-04 patching guidance; if a fix cannot be applied, discontinue use of the exposed device. Consult the Ubiquiti Security Advisory Bulletin at community.ui.com for the specific update. The federal remediation deadline was 2026-06-26.
  2. Upgrade to a fixed version. Update UniFi OS Server to version 5.0.8 or later, and update affected UniFi device firmware (UniFi Dream Machine, Dream Machine Pro, Dream Router, Cloud Gateway, Enterprise Fortress Gateway, Network Video Recorder, Express 7, and related models) to firmware version 5.1.12 or later.
  3. Restrict network exposure. Ensure UniFi OS management interfaces are not reachable from the internet; place devices behind a firewall, restrict access to trusted management networks only, and disable remote/cloud access where it is not strictly required until every device is patched.
  4. Hunt for compromise. Given confirmed in-the-wild Mirai botnet exploitation, review device and network logs for unexpected outbound connections, unknown processes, configuration changes, and signs of botnet enrollment; reset credentials and rebuild any device suspected of compromise, since command injection can persist beyond a simple reboot.
  5. Harden input validation long-term. As a defense-in-depth measure, enforce strict allowlist-based input validation at all trust boundaries and segment IoT/network appliances away from sensitive internal systems so that a single compromised edge device cannot be used to pivot across the environment.

Technical Details

CVE-2026-34910 is a command injection vulnerability in Ubiquiti UniFi OS that arises from improper input validation (CWE-20): the device accepts network-supplied input without verifying that it has the properties required to be processed safely, then incorporates that input into an operating-system command context. Because the unvalidated data is interpreted rather than treated as inert, an attacker can embed shell metacharacters or command sequences in the input to break out of the intended context and execute arbitrary commands with the device's privileges. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H shows the attack is network-borne, low-complexity, entirely unauthenticated, and requires no user interaction, while the Changed scope and triple-HIGH impact reflect that code execution on an edge networking device compromises confidentiality, integrity, and availability across the systems it protects. This combination of an unauthenticated network vector and full command execution is what drives the maximum 10.0 CRITICAL rating.

Frequently Asked Questions

Is CVE-2026-34910 being actively exploited?

Yes. CVE-2026-34910 is listed in CISA's Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild, with a remediation deadline of 2026-06-26. A public report on pwndefend.com describes the vulnerability being used to build a Mirai botnet from compromised UniFi OS devices, and its EPSS score of 0.78555 (99.5th percentile) indicates a very high likelihood of continued exploitation.

What products are affected by CVE-2026-34910?

CVE-2026-34910 affects Ubiquiti UniFi OS devices. This includes UniFi OS Server before version 5.0.8, and firmware before 5.1.12 on the UniFi Dream Machine, Dream Machine Pro, Dream Machine Special Edition, Dream Machine Pro Max, Dream Wall, Dream Router, Dream Router 7, Dream Router 5G Max, Express 7, Cloud Gateway (Ultra, Max, Fiber, Industrial), Enterprise Fortress Gateway, and the UniFi and Enterprise Network Video Recorder models.

How do I fix CVE-2026-34910?

Apply Ubiquiti's security update per the vendor advisory: upgrade UniFi OS Server to 5.0.8 or later and affected device firmware to 5.1.12 or later. While patching, restrict management-interface exposure, disable unnecessary remote access, and review logs for signs of Mirai botnet compromise as detailed in the Remediation section.

How severe is CVE-2026-34910?

CVE-2026-34910 is rated CRITICAL with the maximum CVSS 3.1 score of 10.0. It allows unauthenticated remote command injection with no user interaction and full HIGH impact to confidentiality, integrity, and availability across a Changed scope. Its inclusion in the KEV catalog, confirmed Mirai botnet exploitation, and 99.5th-percentile EPSS score make it one of the highest-priority vulnerabilities to remediate immediately.

CVSS Score

10.0
CRITICAL(10.0)

EPSS Score

EPSS Score86.96%
EPSS Percentile99.7%

Dates

PublishedMay 22, 2026
Last ModifiedJuly 23, 2026
StatusAnalyzed
CVSS Versionv3.1

Need Help With Vulnerability Management?

Our security experts can help you prioritize and remediate vulnerabilities effectively.