Ubiquiti
CVE-2026-22558
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to UniFi Network Application
-
ExploitInject NoSQL payload in authenticated request
-
ExecutionBypass authorization checks
-
ImpactEscalate privileges to administrative access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
|
| Exploitation Conditions | Attacker requires authenticated access to UniFi Network Application with any user account. No victim interaction needed. Exploits NoSQL injection in authenticated endpoints to escalate privileges from standard user to administrator. |
| Impact | The CVSS 3.1 score of 7.7 reflects network-accessible attack vector (AV:N), low complexity (AC:L), low privileges required (PR:L), no user interaction (UI:N), and changed scope (S:C) with high confidentiality impact but no integrity or availability impact. However, the EPSS probability of 0.03% (7th percentile) indicates extremely low likelihood of exploitation in the wild based on current threat intelligence. No public exploit code exists and the vulnerability is not listed in CISA KEV, suggesting attackers have not yet weaponized this technique against UniFi deployments. The requirement for authenticated access and the confidentiality-only impact (no code execution or system compromise) reduce immediate operational risk. This represents a medium-priority issue requiring timely patching during normal maintenance windows rather than emergency response, particularly for deployments with strong credential management and network segmentation already limiting insider threat potential. |
| Exploit ScenarioDerived | An attacker with legitimate low-privilege credentials to the UniFi Network Application (such as a read-only operator account) crafts malicious NoSQL query operators in API requests or web interface parameters. By injecting MongoDB operators like $ne, $gt, or $where into user-controlled fields, the attacker bypasses authorization logic and retrieves configuration data, credentials, or network topology information belonging to administrator accounts or other isolated network segments managed by the same controller. The low attack complexity enables exploitation without specialized tools once the injection point is identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 20, 2026
UniFi Network Application allows authenticated attackers to escalate privileges via NoSQL injection with high confidentiality impact. The vulnerability enables network-accessible attackers holding low-privilege credentials to exploit database queries and access sensitive information belonging to higher-privileged users or contexts. With an EPSS score of 0.03% (7th percentile) and no public exploit identified at time of analysis, real-world exploitation probability is currently assessed as low despite the 7.7 CVSS severity rating.
RemediationAI
Consult the official Ubiquiti security advisory at https://community.ui.com/releases/Security-Advisory-Bulletin-062-062/c29719c0-405e-4d4a-8f26-e343e99f931b for patch availability and specific upgrade instructions for UniFi Network Application. Until patching is completed, implement compensating controls including restricting administrative interface access to trusted IP ranges via firewall rules, enforcing strong authentication policies with multi-factor authentication for all UniFi accounts, conducting regular privilege audits to ensure least-privilege principles, and monitoring database query logs for suspicious NoSQL injection patterns such as unusual operators or conditional logic. Network segmentation should isolate UniFi management traffic from general user networks to reduce the attack surface available to low-privileged authenticated users.
Affected ProductsAI
Ubiquiti UniFi Network Application versions are affected by this authenticated NoSQL injection vulnerability. The vendor security advisory is published at https://community.ui.com/releases/Security-Advisory-Bulletin-062-062/c29719c0-405e-4d4a-8f26-e343e99f931b, though specific vulnerable version ranges have not been independently confirmed from the available data. The vulnerability was reported through HackerOne (support@hackerone.com), suggesting responsible disclosure through Ubiquiti's bug bounty program. Organizations running UniFi Network Application for managing UniFi switches, access points, gateways, and security appliances should consult the vendor advisory for precise version identification.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability stems from CWE-943 (Improper Neutralization of Special Elements in Data Query Logic), commonly affecting applications using NoSQL databases such as MongoDB, CouchDB, or similar document stores prevalent in network management platforms. UniFi Network Application, Ubiquiti's centralized management software for UniFi networking equipment, fails to properly sanitize or validate user-controlled input before incorporating it into NoSQL database queries. Authenticated users can inject malicious query operators or conditions that alter the intended logic, potentially bypassing authorization checks or extracting data from collections they should not access. The scope change (S:C) in the CVSS vector indicates the vulnerability affects resources beyond its security scope, suggesting cross-tenant or cross-privilege-boundary data disclosure is possible.
Know when Ubiquiti gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
An Authenticated NoSQL Injection vulnerability found in UniFi Network Application could allow a malicious actor with authenticated access to the network to escalate privileges.
Executive ViewAI
UniFi Network Application contains a NoSQL injection vulnerability that allows authenticated users with low-privilege access to escalate privileges and view sensitive data from higher-privileged accounts or administrative contexts. Organizations deploying UniFi for network management face a confidentiality risk if account credentials are compromised or shared among staff; however, the requirement for valid authentication credentials significantly limits exposure compared to unauthenticated vulnerabilities.
Enforce strict network segmentation to limit UniFi administrative access to trusted administrative networks only; implement Web Application Firewall rules to detect and block NoSQL injection syntax; conduct regular access reviews to minimize low-privilege account creation; enable comprehensive audit logging of database queries and privilege changes within UniFi; restrict authentication to administrative accounts only and disable unused low-privilege user roles until patch becomes available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.
Unauthenticated command injection in Ubiquiti UniFi OS devices allows remote attackers with network access to execute ar
Path traversal in Ubiquiti UniFi OS devices allows network-adjacent attackers to read sensitive files from the underlyin
Unauthorized system modification on Ubiquiti UniFi OS devices allows network-adjacent attackers to alter device configur
Unauthenticated access to the UniFi Access management API in application versions 3.3.22 through 3.4.31 allows anyone wh
Buffer overflow in the ubnt-streamer RTSP service on the Ubiquiti UBNT AirCam with airVision firmware before 1.1.6 allow
A critical path traversal vulnerability exists in the UniFi Network Application that allows unauthenticated remote attac
A vulnerability has been found in Ubiquiti EdgeRouter X 2.0.9-hotfix.6 and classified as critical. Rated critical severi
Ubiquiti Networks UniFi Dream Machine Pro v7.2.95 allows attackers to bypass domain restrictions via crafted packets. Ra
Ubiquiti Networks UniFi 5.2.7 does not restrict access to the database, which allows remote attackers to modify the data
A vulnerability, found in EdgeRouters Version 2.0.9-hotfix.5 and earlier and UniFi Security Gateways (USG) Version 4.4.5
A weakness has been identified in Ubiquiti EdgeRouter X up to 2.0.9-hotfix.6. Rated high severity (CVSS 7.3), this vulne
A security flaw has been discovered in Ubiquiti EdgeRouter X up to 2.0.9-hotfix.6. Rated high severity (CVSS 7.3), this
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB