CVE-2026-34910Known exploitationNetwork attack vector

Unauthenticated shell execution via unvalidated package name

Published May 22, 2026 · Updated May 22, 2026

Command injection in Ubiquiti UniFi OS allows remote attackers with network access to execute arbitrary shell commands. The package-update latest_package handler interpolates a caller-controlled package name into a command string that a sh -c wrapper executes without validation. The unauthenticated path uses an authentication-gateway bypass, and passwordless sudo rights permit root access.

CVSS severity10.0
Critical
EPSS probability87.47%
Next 30 days · Sep 16, 2026
Known exploitationReported
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Command injection in Ubiquiti UniFi OS allows remote attackers with network access to execute arbitrary shell commands. The package-update latest_package handler interpolates a caller-controlled package name into a command string that a sh -c wrapper executes without validation. The unauthenticated path uses an authentication-gateway bypass, and passwordless sudo rights permit root access.

The record

CVE
CVE-2026-34910
Published
May 22, 2026
Updated
May 22, 2026
Vendor
Ubiquiti Inc.
Product
Enterprise NVR
Classifications
CWE-20, T1190, T1059.004
Attack vector
network
Privileges
unauthenticated

Timeline

How it unfolded

  1. May 22, 2026CVE publishedPublication date reported by the CVE source.
  2. May 22, 2026Record updatedLatest update available in the CVE record.
  3. Jun 23, 2026Exploitation reportedCISA Known Exploited Vulnerability listing

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=0 <5.1.12

What conditions does exploitation require?

Attack vectornetwork
Required privilegesunauthenticated

What is affected?

Ubiquiti Inc. · Enterprise NVRversion=0 <5.1.12
Ubiquiti · Dream Machine Proversion=0 <5.1.12
Ubiquiti Inc. · Dream Machine Beastversion=0 <5.1.11
Ubiquiti · Network Video Recorder Instantversion=0 <5.1.12
Ubiquiti · UniFi Express 7version=0 <5.1.12
Ubiquiti Inc. · UNAS Proversion=0 <5.1.10
Ubiquiti · Dream Routerversion=0 <5.1.12
Ubiquiti · Cloud Gateway Fiberversion=0 <5.1.12
Ubiquiti Inc. · Dream Machine Special Editionversion=0 <5.1.12
Ubiquiti · CloudKey Enterpriseversion=0 <5.1.12
Ubiquiti · UNAS Pro 4version=0 <5.1.10
Ubiquiti Inc. · Dream Machine Pro Maxversion=0 <5.1.12
Ubiquiti Inc. · Network Video Recorder G2 Proversion=0 <5.1.12
Ubiquiti · Dream Router 7version=0 <5.1.12
Ubiquiti · UniFi OS Serverversion=0 <5.0.8
Ubiquiti · Dream Wallversion=0 <5.1.12
Ubiquiti · UNAS Pro 8version=0 <5.1.10
Ubiquiti · CloudKey+version=0 <5.1.12
Ubiquiti Inc. · Enterprise NVR Coreversion=0 <5.1.12
Ubiquiti Inc. · Network Video Recorder G2version=0 <5.1.12
Ubiquiti · Cloud Gateway Ultraversion=0 <5.1.12
Ubiquiti Inc. · UNAS 2version=0 <5.1.10
Ubiquiti Inc. · Cloud Gateway Maxversion=0 <5.1.12
Ubiquiti Inc. · Cloud Gateway Industrialversion=0 <5.1.12
Ubiquiti · Enterprise Fortress Gatewayversion=0 <5.1.12
Ubiquiti · Network Video Recorderversion=0 <5.1.12
Ubiquiti · UNAS 4version=0 <5.1.10
Ubiquiti · Network Video Recorder Proversion=0 <5.1.12
Ubiquiti · Dream Machineversion=0 <5.1.12
Ubiquiti Inc. · Dream Router 5G Maxversion=0 <5.1.12

Published CVSS scores

10.0HackerOneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsShadowserver observations through Sep 16, 2026. Gaps indicate unavailable data.
Sep 10, 2026Sep 16, 2026
View daily counts
Reporting dayUnique IPs
Sep 10, 20264
Sep 11, 20261
Sep 12, 20261
Sep 13, 20262
Sep 14, 20262
Sep 15, 20263
Sep 16, 20262
Latest reporting daySep 16, 2026
Latest daily unique IPs2
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectornetwork
Privilegesunauthenticated
Known exploitationReported
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-20Improper Input Validation
T1190Exploit Public-Facing Application
T1059.004Unix Shell

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo