CVE-2026-34908: Authentication bypass in Ubiquiti UniFi OS
- Vendor
- Ui
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.
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.
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-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.
Recent activity
88 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.