Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2026-34908: Authentication bypass in Ubiquiti UniFi OS

Published May 22, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS10.0Critical · v3.1
EPSS15.5%97th percentile
CISA KEVYesAdded Jun 23, 2026
In the wildActivePer CISA KEV
Vendor
Ui
IdentifiersCVE-2026-34908CWE-284 · Improper Access Control

CVE-2026-34908 is an improper access control vulnerability in Ubiquiti UniFi OS that allows an unauthenticated attacker with network access to make unauthorized system changes. The authentication gateway evaluates raw request URIs, while nginx routes requests using decoded or normalized URIs. In combination with the path traversal vulnerability CVE-2026-34909, encoded traversal can therefore cause a request classified as public to reach a protected backend endpoint without authentication. Demonstrated consequences include unauthorized administrator-level reads and writes. Chaining these vulnerabilities with CVE-2026-34910 enables unauthenticated root-level remote code execution. Affected deployments include UniFi OS Server 5.0.6 and earlier and multiple gateway, console, NVR, and NAS product families covered by Ubiquiti Security Advisory Bulletin 064.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Standalone exploitation permits unauthorized changes to UniFi OS. The demonstrated CVE-2026-34908/CVE-2026-34909 bypass also exposed local user records and enabled administrator-level modifications, including changing a super-administrator password and obtaining a console session. Adding CVE-2026-34910 enables root-level remote code execution and device takeover. Compromise of the centralized management plane can expose stored credentials and network configuration and permit changes to managed infrastructure. Root-level code execution is a demonstrated exploit-chain outcome, not an established standalone capability of CVE-2026-34908.

Mitigation

If you can’t patch tonight, do this now.

Remove public management exposure and restrict management access to trusted administrative networks, controlled jump hosts, or VPNs. Monitor for encoded traversal requests, unauthorized administrator accounts, unexpected configuration changes, suspicious scheduled tasks, anomalous processes, and outbound connections. Assess previously exposed vulnerable devices for compromise. No vendor-specified configuration-only workaround is established.

Remediation

Patch, then assume compromise.

Apply the product-specific updates associated with Ubiquiti Security Advisory Bulletin 064. Upgrade UniFi OS Server to 5.0.8 or later; UCG-Industrial and the affected gateway, Dream Machine, Cloud Key, and NVR families to 5.1.12 or later; UNAS models to 5.1.10 or later; UDM-Beast to 5.1.11 or later; and standalone Express to 4.0.14 or later. Verify the applicable release against the exact device model. Patching does not remove an existing compromise. For confirmed infections, isolate the device, preserve evidence, rebuild from clean firmware, rotate stored secrets and signing keys, and invalidate existing sessions.

Public exploits

Exploits

1 exploit validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2026-34910-PoCRepository contains two security artifacts and supporting documentation: a Python exploit script (CVE-2026-34910.py) and a Nuclei template (CVE-2026-34908-unifi-auth-bypass.yaml), plus README and license. Because this repository includes a framework artifact, the main exploit logic is split between a Nuclei detection template for CVE-2026-34908 and a standalone Python PoC for CVE-2026-34910/CVE-2026-34909. The Python script is the primary offensive component. It disables TLS verification, accepts a target URL, and exposes three modes: `--check` to verify the auth bypass by requesting the internal `latest_package` handler through `/api/auth/validate-sso/..%2f..%2f..%2f`, direct command execution by injecting `evil;<command>` into the `pkg_name` query parameter with `by_cmd=true`, and `--read <path>` to retrieve arbitrary files through a traversal path under `/app-assets/users/`. The script treats HTTP 200 responses from the internal handler as success and includes a proof helper that attempts to create `/tmp/PWNED_34910` on the target. The Nuclei YAML is a detection-only template for CVE-2026-34908. It sends a single crafted GET request to `/api/auth/validate-sso/..%2f..%2f..%2fproxy/users/api/v2/ucs/update/latest_package` and matches on HTTP 200 plus response markers such as `pkg_name` and `required`, confirming unauthorized reachability of the internal handler without executing a payload. Overall purpose: demonstrate and operationalize a chain of UniFi OS vulnerabilities affecting pre-SAB-064 systems: CVE-2026-34908 auth bypass, CVE-2026-34909 arbitrary file read, and CVE-2026-34910 unauthenticated command injection RCE. The repository is not just a detector; it contains working exploit code capable of unauthenticated remote command execution and file disclosure against vulnerable UniFi OS Server targets.Boreas37 · Disclosed Aug 9, 2026 · Framework: nuclei · yaml · python · web · networkPoC
Exposure surface

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.

VendorProductType
UiEnterprise Fortress Gateway Firmwareoperating_system
UiEnterprise Network Video Recorder Core Firmwareoperating_system
UiEnterprise Network Video Recorder Firmwareoperating_system
UiUnas 2 Firmwareoperating_system
UiUnas 4 Firmwareoperating_system
UiUnas Pro 4 Firmwareoperating_system
UiUnas Pro 8 Firmwareoperating_system
UiUnas Pro Firmwareoperating_system
UiUnifi Cloud Gateway Fiber Firmwareoperating_system
UiUnifi Cloud Gateway Industrial Firmwareoperating_system
UiUnifi Cloud Gateway Max Firmwareoperating_system
UiUnifi Cloud Gateway Ultra Firmwareoperating_system
UiUnifi Cloud Key Plus Firmwareoperating_system
UiUnifi Cloudkey Enterprise Firmwareoperating_system
UiUnifi Cloudkey Firmwareoperating_system
UiUnifi Dream Machine Beast Firmwareoperating_system
UiUnifi Dream Machine Firmwareoperating_system
UiUnifi Dream Machine Pro Firmwareoperating_system
UiUnifi Dream Machine Pro Max Firmwareoperating_system
UiUnifi Dream Machine Special Edition Firmwareoperating_system
UiUnifi Dream Router 5G Max Firmwareoperating_system
UiUnifi Dream Router 7 Firmwareoperating_system
UiUnifi Dream Router Firmwareoperating_system
UiUnifi Dream Wall Firmwareoperating_system
UiUnifi Express 7 Firmwareoperating_system
UiUnifi Network Video Recorder Firmwareoperating_system
UiUnifi Network Video Recorder G2 Firmwareoperating_system
UiUnifi Network Video Recorder G2 Pro Firmwareoperating_system
UiUnifi Network Video Recorder Instant Firmwareoperating_system
UiUnifi Network Video Recorder Pro Firmwareoperating_system
UiUnifi Os Serverapplication
FAQ

Frequently asked questions

Is CVE-2026-34908 exploited in the wild?
Yes. As of Oct 9, 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-34908?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-34908, the earliest disclosed Aug 9, 2026.
Is there a patch for CVE-2026-34908?
Apply the product-specific updates associated with Ubiquiti Security Advisory Bulletin 064. Upgrade UniFi OS Server to 5.0.8 or later; UCG-Industrial and the affected gateway, Dream Machine, Cloud Key, and NVR families to 5.1.12 or later; UNAS models to 5.1.10 or later; UDM-Beast to 5.1.11 or later; and standalone Express to 4.0.14 or later.
What products are affected by CVE-2026-34908?
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-34908?
CVE-2026-34908 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 15.5% (97th percentile) as of Oct 9, 2026.
Activity feed

Recent activity

88 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+37 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence4Every report linking this CVE to a named adversary.
Associated malware7Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity43Community discussion across Reddit, Mastodon, and other social sources.