The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2019-25651

CVE-2019-25651: Ubiquiti UniFi Encryption Vulnerability

CVE-2019-25651 is an information disclosure flaw in Ubiquiti UniFi Network Controller and devices using weak AES-CBC encryption. Attackers can recover encryption keys from captured traffic to gain unauthorized control.

Published: April 2, 2026

CVE-2019-25651 Overview

CVE-2019-25651 is a cryptographic weakness vulnerability affecting Ubiquiti UniFi Network Controller and various UniFi network devices. The vulnerability stems from the use of AES-CBC encryption for device-to-controller communication, which contains inherent cryptographic weaknesses that allow attackers to recover encryption keys from captured network 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.

Critical Impact

Successful exploitation allows attackers to recover encryption keys and gain unauthorized control over UniFi network infrastructure, potentially compromising all managed network devices.

Affected Products

  • Ubiquiti UniFi Network Controller prior to version 5.10.12 (excluding 5.6.42)
  • UAP Firmware prior to version 4.0.6
  • UAP-AC, UAP-AC v2, and UAP-AC Outdoor Firmware prior to version 3.8.17
  • USW Firmware prior to version 4.0.6
  • USG Firmware prior to version 4.4.34

Discovery Timeline

  • 2026-03-27 - CVE-2019-25651 published to NVD
  • 2026-03-30 - Last updated in NVD database

Technical Details for CVE-2019-25651

Vulnerability Analysis

This vulnerability falls under CWE-327 (Use of a Broken or Risky Cryptographic Algorithm). The Ubiquiti UniFi ecosystem relies on AES-CBC (Cipher Block Chaining) mode for encrypting communications between network devices and the central controller. While AES itself remains a strong encryption standard, the CBC mode of operation has known weaknesses when not implemented with proper countermeasures.

The attack requires adjacent network access, meaning an attacker must be on the same network segment to capture the encrypted traffic. The complexity of the attack is considered high due to the need to collect sufficient encrypted traffic and perform cryptanalysis to derive the encryption keys. However, once successful, the attacker gains complete control over the affected network infrastructure with no privileges required beforehand.

Root Cause

The root cause of this vulnerability is the selection and implementation of AES-CBC mode for device-to-controller encryption without adequate protections against known CBC-mode attacks. AES-CBC is susceptible to various cryptographic attacks including padding oracle attacks and chosen-ciphertext attacks when proper integrity verification and implementation safeguards are not in place. The vulnerability allows attackers who can capture encrypted traffic to eventually recover the encryption keys through cryptanalysis techniques.

Attack Vector

The attack vector is adjacent network access, requiring the attacker to be positioned on the same local network segment as the target UniFi devices. The attack proceeds as follows:

  1. The attacker gains access to the local network where UniFi devices communicate with the controller
  2. Network traffic between UniFi devices and the controller is passively captured
  3. The captured AES-CBC encrypted traffic is analyzed using cryptanalytic techniques
  4. Sufficient traffic volume allows the attacker to exploit CBC mode weaknesses
  5. Encryption keys are recovered from the cryptanalysis
  6. The attacker uses the recovered keys to decrypt communications and inject malicious commands
  7. Unauthorized control of network devices (access points, switches, security gateways) is achieved

The vulnerability mechanism exploits the mathematical properties of CBC mode encryption. For detailed technical information on the cryptographic weaknesses, refer to the Ubiquiti Security Advisory Bulletin and the VulnCheck Ubiquiti Advisory.

Detection Methods for CVE-2019-25651

Indicators of Compromise

  • Unusual network traffic patterns or increased volume of encrypted communications between UniFi devices and the controller
  • Unauthorized configuration changes to UniFi access points, switches, or security gateways
  • Unexpected device behavior such as reboots, firmware changes, or network policy modifications
  • Evidence of passive network sniffing tools or traffic capture on network segments

Detection Strategies

  • Monitor for unauthorized devices joining the network segment where UniFi controller communications occur
  • Implement network segmentation monitoring to detect lateral movement attempts
  • Deploy intrusion detection systems (IDS) to identify anomalous traffic patterns on management VLANs
  • Audit UniFi controller logs for unexpected device provisioning or configuration changes

Monitoring Recommendations

  • Enable comprehensive logging on the UniFi Network Controller and forward logs to a SIEM solution
  • Monitor network switches for port mirroring or SPAN configurations that could indicate traffic interception
  • Implement alerts for firmware version mismatches across UniFi device fleet
  • Conduct regular audits of device encryption settings and controller communication protocols

How to Mitigate CVE-2019-25651

Immediate Actions Required

  • Upgrade UniFi Network Controller to version 5.10.12 or later (or 5.6.42 for legacy deployments)
  • Update UAP firmware to version 4.0.6 or later
  • Update UAP-AC, UAP-AC v2, and UAP-AC Outdoor firmware to version 3.8.17 or later
  • Update USW firmware to version 4.0.6 or later
  • Update USG firmware to version 4.4.34 or later

Patch Information

Ubiquiti has released patched firmware versions that address the AES-CBC cryptographic weaknesses in device-to-controller communications. The patches implement stronger cryptographic protocols and additional security measures to prevent key recovery attacks. Organizations should prioritize updating all affected components as the vulnerability enables complete compromise of network infrastructure.

Refer to the Ubiquiti Security Advisory Bulletin for official patch information and download links.

Workarounds

  • Isolate UniFi management traffic on a dedicated VLAN with strict access controls
  • Implement 802.1X network access control to prevent unauthorized devices from joining management segments
  • Deploy physical network security measures to prevent unauthorized access to network infrastructure
  • Consider using VPN tunnels for controller-to-device communication as an additional encryption layer
bash
# Example: Verify UniFi Controller version
# Access the UniFi Controller web interface or use SSH
# Check Settings > System Settings > Controller Name/Version

# Verify firmware versions via UniFi Controller
# Navigate to Devices > Select Device > Properties > Version

# Network segmentation example (on Ubiquiti USG)
# Create dedicated management VLAN for UniFi device communication
# Restrict VLAN access to authorized management stations only

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechUnifi Network Controller

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-327
  • Technical References
  • Ubiquiti Security Advisory Bulletin

  • VulnCheck Ubiquiti Advisory
  • Related CVEs
  • CVE-2019-25652: UniFi Network Controller MITM Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English