Ubiquiti UniFi OS Improper Input Validation Vulnerability
Exploited in the wild, in CISA KEV since 23 Jun 2026 (due 26 Jun 2026), with 2 public exploits. Fixed in EFG 5.1.12, ENVR 5.1.12, Express 5.1.12 and 16 more.
A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi OS devices to execute a Command Injection.
Briefing
Written from the sources below · deepseek-v4.1-flash
Ubiquiti UniFi OS devices contain an improper input validation flaw allowing a network-adjacent attacker to execute command injection. It affects EFG, ENVR, ENVR-Core, Express 7, and UCG-Fiber/Industrial/Max/Ultra models.
Why it mattersCISA KEV-listed with confirmed exploitation, public Nuclei templates, and 90% EPSS make this critical flaw highly likely to be attacked.
ActionPatch affected UniFi OS devices to the vendor-fixed release now; if unavailable, apply Ubiquiti mitigations and restrict network access.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Ubiquiti | EFG | <5.1.12 | 5.1.12 |
| Ubiquiti | ENVR | <5.1.12 | 5.1.12 |
| Ubiquiti | Express | <5.1.12 | 5.1.12 |
| Ubiquiti | UCG-Fiber | <5.1.12 | 5.1.12 |
| Ubiquiti | UCG-Industrial | <5.1.12 | 5.1.12 |
| Ubiquiti | UCG-Max | <5.1.12 | 5.1.12 |
| Ubiquiti | UCG-Ultra | <5.1.12 | 5.1.12 |
| Ubiquiti | UCK | <5.1.12 | 5.1.12 |
| Ubiquiti | UCKP | <5.1.12 | 5.1.12 |
| Ubiquiti | UDM | <5.1.12, <5.1.11 | 5.1.12, 5.1.11 |
| Ubiquiti | UDR | <5.1.12 | 5.1.12 |
| Ubiquiti | UDR7 | <5.1.12 | 5.1.12 |
| Ubiquiti | UDW | <5.1.12 | 5.1.12 |
| Ubiquiti | UNAS-2 | <5.1.10 | 5.1.10 |
| Ubiquiti | UNAS-4 | <5.1.10 | 5.1.10 |
| Ubiquiti | UNAS-Pro | <5.1.10 | 5.1.10 |
| Ubiquiti | UNVR | <5.1.12 | 5.1.12 |
| Ubiquiti | UniFi OS | <5.0.8 | 5.0.8 |
Exploit evidence
2 public sources
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in UniFi OS, strongest first
Embed
A live severity badge for an advisory, README or ticket