CWE-327Weakness · CWE-327

CVE-2019-25651

HIGH · 8.3 CVSS v3.1 Published 2026-03-27
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
88/100
Remediation priority · High
No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Ubiquiti UniFi Network Controller prior to 5.10.12 (excluding 5.6.42), UAP FW prior to 4.0.6, UAP-AC, UAP-AC v2, and UAP-AC Outdoor FW prior to 3.8.17, USW FW prior to 4.0.6, USG FW prior to 4.4.34 uses AES-CBC encryption for device-to-controller communication, which contains cryptographic weaknesses that allow attackers to recover encryption keys from captured traffic. Attackers with adjacent network access can capture sufficient encrypted traffic and exploit AES-CBC mode vulnerabilities to derive the encryption keys, enabling unauthorized control and management of network devices.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Ubiquiti UniFi devices use weak AES-CBC encryption for controller communication, allowing attackers with adjacent network access to capture traffic and recover encryption keys through CBC mode vulnerabilities, enabling unauthorized device control.

MitigationUpgrade UniFi Network Controller to 5.10.12+ and update all device firmware (UAP/USW to 4.0.6+, UAP-AC variants to 3.8.17+, USG to 4.4.34+). Ensure network segmentation limits adjacent access.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Adjacent
Complexity
High
Privileges
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify UniFi Controller version
    Log into the UniFi Controller web interface and navigate to Settings > System > About, or check via CLI: `ssh <controller_ip> -c 'cat /usr/lib/unifi/data/version'`
    Affected if Controller version is earlier than 5.10.12
  2. Check UAP/USW access point firmware versions
    In UniFi Controller, go to Devices > select each access point > check the Firmware version field under Device Overview, or use SSH to access point and run `cat /var/etc/version`
    Affected if UAP or USW firmware version is earlier than 4.0.6
  3. Check UAP-AC variant firmware versions
    In UniFi Controller, go to Devices > select each UAP-AC variant > check the Firmware version field, or SSH to the device and run `cat /var/etc/version`
    Affected if UAP-AC variant firmware version is earlier than 3.8.17
  4. Check USG gateway firmware version
    In UniFi Controller, go to Devices > select USG > check the Firmware version under Device Overview, or SSH to USG and run `cat /var/etc/version`
    Affected if USG firmware version is earlier than 4.4.34
  5. Verify network segmentation of management interfaces
    Review network configuration to confirm controller HTTPS port (8080/8443) and device management ports are not exposed to untrusted VLANs or directly to the internet. Check firewall rules and VLAN assignments.
    Affected if Controller or device management interfaces are accessible from untrusted/adjacent network segments without proper access controls

Environment is affected if any UniFi controller version is below 5.10.12 OR any device firmware is below the respective minimum (4.0.6 for UAP/USW, 3.8.17 for UAP-AC, 4.4.34 for USG) AND management interfaces are exposed to adjacent networks.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade UniFi Network Controller to 5.10.12+ and update all device firmware (UAP/USW to 4.0.6+, UAP-AC variants to 3.8.17+, USG to 4.4.34+). Ensure network segmentation limits adjacent access.

Recommended fix Moderate confidence

UniFi Network Controller 5.10.12 or later; UAP firmware 4.0.6 or later; UAP-AC firmware 3.8.17 or later; USW firmware 4.0.6 or later; USG firmware 4.4.34 or later

  1. Backup the UniFi Network Controller configuration before starting the upgrade
  2. Download UniFi Network Controller version 5.10.12 or later from the official Ubiquiti downloads page
  3. Stop the UniFi Network Controller service
  4. Install the upgraded Controller version (5.10.12+)
  5. Start the UniFi Network Controller service and verify it runs correctly
  6. For affected access points (UAP, UAP-AC, UAP-AC v2, UAP-AC Outdoor), upgrade firmware to 4.0.6 (UAP) or 3.8.17 (UAP-AC variants) or later via the Controller
  7. For affected switches (USW), upgrade firmware to 4.0.6 or later via the Controller
  8. For affected gateways (USG), upgrade firmware to 4.4.34 or later via the Controller
Caveat Review UniFi release notes for 5.10.12; some older devices or features may have compatibility changes; ensure backups are verified before production upgrade

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation4.0 h
  • Implementation12.0 h
  • Testing6.0 h
  • Review / QA3.0 h
25.0 hours of engineering $4,400
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,040.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2019-25651 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2019-25651 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data