UniFi · Security update
UniFi Security Update: Check and Patch CVE-2026-34908, CVE-2026-34909 and CVE-2026-34910 (Bulletin 064)
Three flaws in UniFi OS, published in Ubiquiti’s Security Advisory Bulletin 064 on 21 May 2026, let an attacker who can reach your console’s sign-in page run commands on it as root — with no username and no password. CISA added all three to its Known Exploited Vulnerabilities catalog on 23 June 2026, which means they are being used in real attacks, not just possible in theory.
The fast answer
Open your console, go to Settings > Control Plane > Updates, and read the UniFi OS version it is running. Compare it with the fixed version for your model in the table below. If your version is below the fixed version, update the console now — and check every console and every site, not just the first one. Then read the version again to confirm the update actually landed. If the console’s sign-in page was reachable from the internet before you patched, change the admin password and check the admin accounts afterwards: patching closes the hole, but it does not undo anything an attacker may already have done.
What you are looking at, in plain words
UniFi OS is the software that runs your UniFi console — the box (or self-hosted server) that manages your network: your Dream Machine, Cloud Gateway, Cloud Key, recorder (UNVR), storage (UNAS), Express, or a self-hosted UniFi OS Server. It is the management plane for everything behind it: Wi-Fi, switches, cameras, and doors. Bulletin 064 describes five flaws in it. The three that matter most are rated CVSS 10.0, the highest possible score, by Ubiquiti itself: CVE-2026-34908 (an access-control flaw that lets an attacker slip past the sign-in check), CVE-2026-34909 (a path-traversal flaw that lets an attacker reach files on the console), and CVE-2026-34910 (a command-injection flaw in the update service that lets an attacker run commands). Researchers at Bishop Fox showed the three can be combined: slip past the sign-in, reach the update service, run a command — and from there reach root, because the service account can run privileged commands without a password. The bulletin lists the three as separate flaws; the combination is the researchers’ demonstrated finding, not Ubiquiti’s claim. The other two issues in the same bulletin are CVE-2026-33000 (CVSS 9.1, the same command-injection flaw reached with a valid view:identity:update token) and CVE-2026-34911 (CVSS 7.7, a low-privilege file-read flaw). The update below fixes all five.
Step 0 — Prove which console you have, and whether it is affected
- Work out which console you have. A hardware console (Dream Machine, Cloud Gateway, Cloud Key, recorder, storage device, or Express) or a self-hosted UniFi OS Server on your own computer or server. The fixed version depends on the model — that is why the table below has one row per model group.
- Read the version it is running. Open the console — in Site Manager at unifi.ui.com, in the mobile app, or by local management at the console’s own address — and go to Settings > Control Plane > Updates. Click the UniFi Console row: it shows the version it is running and whether an update is available. Write the number down.
- Compare it with the fixed version for your model. Use the table below. If your version is below the fixed version — or at or below the “affected through” number — the console is affected and needs the update.
- Check whether the sign-in page is reachable from outside your network. If you, or whoever set it up, forwarded the console’s port through the router, or the console sits on a public address, treat it as exposed: patch first, then do the password and admin-account checks in Fix 5. If you are not sure, assume it was reachable — checking costs nothing, and assuming wrong costs everything.
- Check every console and every site. Update Manager in Site Manager lists updates across all your deployments. Work through the whole list, not just the site you happened to open first.
| Console / model group | Affected through | Update to |
|---|---|---|
| UniFi OS Server | 5.0.6 | 5.0.8 or later |
| UCG-Industrial | 5.0.13 | 5.1.12 or later |
| UDM, UDM-Pro, UDM-SE, UDM-Pro-Max, EFG, UDW, UDR, UDR7, Express 7, UNVR, UNVR-Pro, UNVR-Instant, ENVR, UCG-Ultra, UCG-Max, UCG-Fiber | 5.0.16 | 5.1.12 or later |
| UDR-5G, ENVR-Core, UCKP, UCK, UCK-Enterprise | 5.0.17 | 5.1.12 or later |
| UNVR-G2, UNVR-G2-Pro | 5.1.11 | 5.1.12 or later |
| UNAS-2, UNAS-4, UNAS-Pro, UNAS-Pro-4, UNAS-Pro-8 | 5.1.8 | 5.1.10 or later |
| Dream Machine Beast | 5.1.8 | 5.1.11 or later |
| UniFi Express | 4.0.13 | 4.0.14 or later |
About this table: the fixed versions are Ubiquiti’s, from Security Advisory Bulletin 064. The bulletin page loads its content with JavaScript, so this table was cross-checked against the bulletin text quoted in Bishop Fox’s analysis and Tenable’s advisory, and against CISA’s KEV entries — all agree. Individual flaws in the bulletin cover slightly different model sets, so if your model is not listed here, open the bulletin (linked in Sources) and match your exact model. The rule that never changes: if your version is below the fixed version for your model, update.
The fixes, in order
- Back up first. Take a backup of your console before you update, and keep it somewhere other than the console itself. If the update goes wrong, the backup is the difference between a retry and a rebuild.
- Update a hardware console. Open the site, go to Settings > Control Plane > Updates, click the UniFi Console row, and apply the update. Make sure the release channel is Official — not Early Access — on a network you depend on. Expect the console to reboot and the network to drop briefly; do it outside working hours if the network is in active use.
- Update a self-hosted UniFi OS Server. Open Update Manager in Site Manager (unifi.ui.com or the mobile app) and apply the UniFi OS Server update there — or download the latest UniFi OS Server installer from Ubiquiti and run it on the host machine. The fixed version is 5.0.8 or later. Confirm the installed version afterwards; an installer that finished is not the same as an update that landed.
- Repeat for every console and every site. Work through Update Manager’s full list. A second site on an old version is the same hole, just at a different address.
- Close the internet exposure. If the console’s sign-in page is reachable from the internet, stop that. Do not forward the console’s port through your router, and keep the sign-in page to your local network or a VPN where you can. On a self-hosted UniFi OS Server the web interface commonly listens on TCP port 11443 — block external access to it. An attacker cannot use these flaws if they cannot reach the sign-in page at all.
- After patching: change passwords and check admin accounts. If the console was reachable from the internet, or from any network you do not trust, before you patched, change the admin password, look for admin accounts you do not recognise, and rotate any secrets the console holds. Patching closes the hole; it does not undo anything an attacker may already have done — researchers at Bishop Fox put it plainly: patching does not evict an attacker who already got in. On a self-hosted server there is one more step: the signing key that mints admin sessions needs rotating by hand, which is an SSH job for whoever set the server up (Bishop Fox publishes the steps). If you find an account you do not recognise, or anything else that looks wrong, treat the console as compromised and get help rather than patching over it.
Do not fix the wrong thing first: updating the UniFi Network application does not patch UniFi OS. The console row and the application row are separate updates on the same page (Settings > Control Plane > Updates). If you update only the Network application, the version that matters — UniFi OS — is still the vulnerable one. Check the console row by name.
Prove it worked
Go back to Settings > Control Plane > Updates, click the UniFi Console row, and read the version: it must be at or above the fixed version for your model. The console should have rebooted and come back, devices should show connected again, and Site Manager should no longer offer the security update. Then make one small normal change — for example, a Wi-Fi setting — and confirm a device takes it. Only then consider the job done.
Still not working? Work this ladder in order
- No update is offered, but your version is below the fixed version. Ubiquiti rolls updates out in stages, so the fixed version may not have reached your console yet. Check again later, and confirm the release channel is set to Official. As a last resort, Ubiquiti’s advanced updating guide lets you copy a firmware link from community.ui.com/releases and paste it into the address bar in the Settings tab of the device’s properties panel — use that only if you are comfortable with it, and never update over SSH unless Ubiquiti Support asks you to.
- The update fails, or the console never comes back. Work Ubiquiti’s own troubleshooting list in order: the console must be online; check DNS (Ubiquiti suggests 1.1.1.1 or 8.8.8.8); confirm UDP ports 53 and 123 are not blocked by your gateway or ISP. If it still fails, see the companion guide: UniFi firmware update failed.
- The version still reads the old number after the update. Refresh the page and check you updated the console row, not the Network application row — the two are separate. If the console really did not take the update, run the update again; if it fails twice, take the results to Ubiquiti Support rather than repeating it.
- Devices do not reconnect after the console reboots. Give it a few minutes, then check the UniFi Devices page. A device that stays offline may need a power cycle.
- You want to know whether your console was already attacked. Researchers at Bishop Fox publish a free, production-safe detection tool that checks whether a UniFi OS Server is vulnerable without running anything harmful: Bishop Fox CVE-2026-34908 check. It answers “vulnerable or not” — it cannot tell you whether anyone already got in. If the console was exposed and you have any doubt, treat it as compromised and get help.
- None of these steps fixes it. Take your model, the version it reports, and the step that failed to Ubiquiti Support via the Ubiquiti Help Center (linked in Sources above) — that is the next step, not a different vendor’s forum thread.
Mistakes that make it worse
- Updating only the Network application and believing the console is patched.
- Assuming auto-update already did it, without reading the version number.
- Patching one console and forgetting the others — and the self-hosted server.
- Leaving the console’s sign-in page reachable from the internet after patching.
- Changing passwords before patching and thinking that fixes it — patch first, then rotate.
- Treating a patched console as proof nothing happened, when it was exposed before the patch.
- Updating over SSH instead of using the supported update path.
FAQ — UniFi Bulletin 064, answered
Am I affected if my console was never reachable from the internet?
You still need to patch. These flaws need network access to the console’s sign-in page, not a login — and network access includes your own local network, a guest network, or any compromised device on it. Internet exposure is the worst case, not the only case. Patch every console regardless.
Does updating the UniFi Network application fix this?
No. These are UniFi OS flaws, so you must update UniFi OS itself — the UniFi Console row under Settings > Control Plane > Updates. Updating only the Network application row leaves the vulnerable version in place.
I already updated. Do I need to change passwords?
If the console’s sign-in page was reachable from the internet, or from any network you do not trust, before you patched — yes. Change the admin password, check for admin accounts you do not recognise, and rotate secrets the console holds. Patching closes the hole; it does not undo anything done before the patch.
What if the fixed version is not offered on my console yet?
Ubiquiti rolls updates out in stages, so it may not have reached your console yet. Check again later, and confirm your release channel is set to Official. As a last resort, Ubiquiti’s advanced updating guide explains how to apply a firmware link from community.ui.com/releases by hand.
Is my UniFi Express affected?
Yes, if it runs UniFi OS 4.0.13 or earlier. Update it to 4.0.14 or later. Express is on its own version line, so do not compare it with the 5.1.12 number for Dream Machines and Cloud Gateways.
Sources
Ubiquiti — Security Advisory Bulletin 064 (CVE-2026-34908, CVE-2026-34909, CVE-2026-34910, CVE-2026-33000, CVE-2026-34911; fixed versions) · CISA — Known Exploited Vulnerabilities catalog (all three CVEs added 23 June 2026, due 26 June 2026) · Ubiquiti Help Center — UniFi Updates (Settings > Control Plane > Updates; Update Manager; Official channel; troubleshooting) · Ubiquiti Help Center — UniFi Advanced Updating Techniques (manual update link; SSH warning) · Bishop Fox — Popping Root on UniFi OS Server (chain demonstrated on 5.0.6, fixed on 5.0.8; patch-then-rotate advice; detection tool) · Companion guides: UniFi firmware update failed · Upgrading to UniFi Network 11 · Moving to UniFi OS Server.
Did this fix work for you?
Your reaction is stored only in your own browser — it is not sent to us.