Attackers can chain three already fixed vulnerabilities in the Ubiquiti UniFi OS server to execute remote code with root privileges and without authentication. The security issues are tracked as CVE-2026-34908, CVE-2026-34909, and CVE-2026-34910. They have been addressed in May and impact UniFi OS Server versions 5.0.6 and earlier. While all three flaws received the maximum severity rating despite their exploitation requiring access to the network, the vendor's advisory did not mention that they could be chained for remote code execution. Additional technical details from Bishop Fox researchers, who validated the complete attack path on a live UniFi OS Server 5.0.6 instance, show that CVE-2026-34908 and CVE-2026-34909 can be used to bypass authentication and reach a vulnerable endpoint, where CVE-2026-34910 enables command injection. Although the injected commands do not initially run as root, the researchers found that the affected service account's sudo privileges make privilege escalation trivial. According to Bishop Fox, no credentials, user interaction, or prior access are required to obtain a root shell on the target. “A UniFi OS Server is not a generic Linux box; it is the management plane for an organization’s network, including, where those devices are deployed, its physical-access doors, surveillance cameras, and the identities tied to them,” explains Bishop Fox. “Root on the appliance is administrative control over everything the console governs.” The root cause o...
Critical UniFi OS bug lets hackers gain root without authentication
BleepingComputer
·Bill Toulas
·Published Jun 8, 2026
·Updated
Affected Software
1 affected component
Ubiquiti UniFi OS Server<=5.0.6
Frequently Asked Questions
1
What is the main topic of this article?
The article discusses a critical vulnerability in Ubiquiti's UniFi OS that allows hackers to gain root access without authentication.
2
What security implications are discussed?
The security implications include the potential for attackers to execute remote code with elevated privileges by chaining three previously fixed vulnerabilities.
3
What vulnerabilities are highlighted in this article?
The vulnerabilities discussed are tracked as CVE-2026-34908, CVE-2026-34909, and CVE-2026-34910.
4
When were the vulnerabilities in UniFi OS patched?
The vulnerabilities were addressed in May 2026.
5
Which product is affected by this security issue?
The affected product is the Ubiquiti UniFi OS Server.