On this page
A UniFi Controller can change every device on your network, so it deserves the same care as any other administrative system. 2026 has been a busy year for UniFi security advisories, which makes a simple update routine more important than ever.
These steps apply to UniFi OS Server and the legacy Network Server.
Patch quickly
Ubiquiti fixes vulnerabilities through normal releases. In 2026, Singapore's Cyber Security Agency published an alert about multiple vulnerabilities affecting UniFi Network Application 10.1.85 and earlier, and Ubiquiti's Security Advisory Bulletin 067 asked UniFi OS Server users on 5.1.21 and earlier to update to 5.1.37 or later. Subscribe to Ubiquiti's release notes and apply updates through Site Manager or the local control plane.
Protect accounts
- Give each person their own administrator account with the least access they need.
- Use long, unique passwords stored in a password manager.
- Turn on two-factor authentication for UI Accounts.
- Remove accounts when people leave. UniFi OS Server's Organizations and IdP integration help here.
Local administrator and UI Account
A local administrator exists only on that controller. A UI Account is Ubiquiti's cloud identity, needed for Site Manager and remote access from the mobile app. Many administrators keep both: a UI Account with two-factor authentication for daily remote work, and a local administrator with a long, unique password as a fallback if cloud sign-in is unavailable. Store the fallback credentials in your password manager or a sealed record, not in a shared document. Avoid generic names such as "admin" shared between several people, because they make it impossible to tell who changed what. Our UniFi Controller login guide explains how each type of account signs in.
Limit what is exposed
Devices at remote sites need to reach the inform port (TCP 8080) and STUN (UDP 3478). The administrative web interface does not need to be open to everyone. Use Site Manager remote access, a VPN, or firewall rules that allow only your own addresses. Do not forward management ports to the whole internet.
Use a proper certificate
A trusted certificate stops users learning to click through browser warnings. You can upload your own under Settings, Control Plane, Console, Certificates, and UniFi OS Server 5.1.15 added automatic Let's Encrypt support.
Look after the host
- Keep the operating system supported and patched.
- Run the controller on a dedicated machine or VM where practical.
- Do not clone controller VMs except for high availability, because clones share remote access tokens.
- Review any community install script before running it. See our GitHub script guide.
Backups as a security control
Ransomware, failed upgrades and dead disks are all recovered the same way: a recent backup stored somewhere else. See backup and restore.
Treat the backup files themselves as sensitive. They contain your network configuration, including administrator details and Wi-Fi settings, so store copies in a location with access control, not on an open file share.
What you are protecting against
A short threat list helps you spend effort where it matters. For a self-hosted UniFi Controller, the realistic risks are:
- Known vulnerabilities in old versions. Public advisories describe the affected versions, which makes unpatched controllers easy targets.
- Stolen or reused passwords. An administrator password used on another site can be tried against your controller or UI Account.
- An exposed management interface. A login page reachable from the whole internet invites automated guessing and exploit attempts.
- A compromised host. Malware on the computer that runs the controller can reach its data, whatever the application's own settings.
- Insider mistakes. Shared accounts and broad permissions make it hard to know who changed what.
- Loss of the host. Ransomware, theft or a failed disk takes the configuration with it if there is no off-host backup.
Each of the steps in this guide reduces one or more of these risks. None of them needs extra software or a paid service.
A practical update routine
"Patch quickly" is easier to follow with a routine. This one suits most home labs and small businesses.
- Watch for releases. Follow Ubiquiti's release notes and security advisory bulletins, and check Update Manager in Site Manager if your controller is linked to a UI Account.
- Classify the update. A release that fixes a published security advisory should be applied within days. Feature releases can wait for a planned window.
- Take a manual backup and copy it off the host before you start.
- Read the release notes for known issues and changed behaviour, such as removed ports or new requirements.
- Update the controller first, then device firmware in groups, during a quiet period.
- Patch the host operating system on the same schedule, then restart and confirm the controller comes back.
- Record what you did in a simple change log: date, old version, new version and anything unusual.
If you run the legacy Network Server, remember that Ubiquiti has said Network 10.6 is its final release line. Plan a move to UniFi OS Server so that future security fixes keep reaching you. Our comparison of UniFi OS Server and the legacy Network Server explains the differences.
Which ports to open, and to whom
Open the smallest set of ports to the smallest set of sources. The table below uses ports already documented on this site. Check Ubiquiti's required ports reference for the full list, since some features use further ports.
| Port | Used for | Who needs to reach it |
|---|---|---|
| TCP 8080 | Device inform (devices report to the controller) | UniFi devices at every site you manage |
| UDP 3478 | STUN | UniFi devices at every site you manage |
| UDP 10001 | Device discovery | Devices on the local network only |
| TCP 8444 | Captive portal on UniFi OS Server | Guest clients, only if you use a guest portal |
| TCP 11443 | UniFi OS Server web interface | Administrators only, ideally through a VPN or allow list |
| TCP 8443 | Legacy Network Server web interface | Administrators only, ideally through a VPN or allow list |
Discovery traffic should never need to cross the internet. Remote sites are adopted by pointing devices at the controller's inform address, as described in how UniFi device adoption works.
Put the controller on a management network
On a flat home network, every phone, smart TV and guest laptop can reach the controller's login page. Separating management traffic limits that.
- Place the controller host and the management addresses of your UniFi devices on a dedicated management VLAN or subnet.
- Keep guest and IoT networks on their own VLANs, with firewall rules that block them from the management network.
- Allow administrator workstations, or a VPN address range, to reach the web interface.
- Give the controller a static IP or DHCP reservation, so firewall rules and inform addresses stay valid.
If devices and controller end up on different subnets after this change, discovery stops working across the boundary. Use set-inform, DHCP option 43 or a unifi DNS record for new devices.
Extra care on a cloud server
A UniFi Controller on a cloud VPS has a public address by design, so the defaults matter more.
- Use a supported release such as Ubuntu 24.04 and enable automatic security updates for the operating system.
- Use the provider's firewall as well as the host firewall. Allow the inform and STUN ports from anywhere your devices live, and the web interface only from your own addresses or a VPN.
- Use SSH keys for server administration and disable password logins for SSH.
- Take provider snapshots in addition to controller backups, but do not clone the controller into a second running instance.
Our guide to UniFi Controller hosting options compares a VPS with official and managed hosting, which take some of this work off your hands.
A monthly security checklist
- Controller and UniFi OS Server versions are current, or a dated plan exists to update them.
- Device firmware is current across all sites.
- The host operating system is supported and fully patched.
- Every administrator account belongs to a current team member, with the least access they need.
- Two-factor authentication is on for every UI Account with access.
- No unexpected port forwards exist on your router or cloud firewall.
- The certificate is valid and not close to expiry.
- The newest backup is less than a week old and a copy exists off the host.
- You have tested a restore at least once in the past year.
If you suspect a compromise
Unexpected administrator accounts, settings you did not change or unknown devices are reasons to act. A calm, ordered response protects the evidence and the network.
- Restrict access to the web interface immediately, for example by removing a port forward or tightening the firewall.
- Change the passwords of every administrator and UI Account involved, and confirm two-factor authentication is on.
- Remove accounts you do not recognise and note what they changed.
- Update the controller and the host operating system to current releases.
- If the host itself may be compromised, rebuild it from a clean install and restore a backup taken before the suspected incident.
- Review device configurations, Wi-Fi passwords and VPN settings, and rotate any secrets that may have been exposed.
Afterwards, revisit the first setup checklist to make sure fixed addresses, accounts and backups are in the state you expect.
Frequently asked questions
Should I expose my UniFi Controller to the internet?
Only what remote devices need, such as the inform port. Keep the admin interface behind a VPN, Site Manager or an allow list.
How do I know about UniFi security updates?
Follow Ubiquiti's release notes and security advisory bulletins, and check Update Manager in Site Manager.
Is the self-signed certificate a security risk?
It encrypts traffic but cannot prove identity, which trains users to ignore warnings. A trusted certificate is better.
Does this site collect my network data?
No. We are an information site. See our privacy policy.
Sources
Facts in this guide were checked against these sources on November 16, 2026. Ubiquiti updates its software and documentation often.



