Skip to main content

Ubiquiti CVE-2026-22558

HIGH
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-03-19 support@hackerone.com
7.7
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to UniFi Network Application
  2. Exploit
    Inject NoSQL payload in authenticated request
  3. Execution
    Bypass authorization checks
  4. Impact
    Escalate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 7.7 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.0%
Top 93% exploitable
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-34910 CRITICAL POC
10.0 May 22

Unauthenticated command injection in Ubiquiti UniFi OS devices allows remote attackers with network access to execute ar

CVE-2026-34909 CRITICAL POC
10.0 May 22

Path traversal in Ubiquiti UniFi OS devices allows network-adjacent attackers to read sensitive files from the underlyin

CVE-2026-34908 CRITICAL POC
10.0 May 22

Unauthorized system modification on Ubiquiti UniFi OS devices allows network-adjacent attackers to alter device configur

CVE-2025-52665 CRITICAL POC
10.0 Oct 31

Unauthenticated access to the UniFi Access management API in application versions 3.3.22 through 3.4.31 allows anyone wh

CVE-2013-1606 HIGH POC
7.5 Jul 18

Buffer overflow in the ubnt-streamer RTSP service on the Ubiquiti UBNT AirCam with airVision firmware before 1.1.6 allow

CVE-2026-22557 CRITICAL POC
10.0 Mar 19

A critical path traversal vulnerability exists in the UniFi Network Application that allows unauthenticated remote attac

CVE-2023-1458 CRITICAL POC
9.8 Mar 25

A vulnerability has been found in Ubiquiti EdgeRouter X 2.0.9-hotfix.6 and classified as critical. Rated critical severi

CVE-2023-24104 CRITICAL POC
9.8 Feb 23

Ubiquiti Networks UniFi Dream Machine Pro v7.2.95 allows attackers to bypass domain restrictions via crafted packets. Ra

CVE-2016-7792 HIGH POC
8.8 Jan 23

Ubiquiti Networks UniFi 5.2.7 does not restrict access to the database, which allows remote attackers to modify the data

CVE-2023-23912 HIGH POC
8.8 Feb 09

A vulnerability, found in EdgeRouters Version 2.0.9-hotfix.5 and earlier and UniFi Security Gateways (USG) Version 4.4.5

CVE-2023-2375 HIGH POC
7.3 Apr 28

A weakness has been identified in Ubiquiti EdgeRouter X up to 2.0.9-hotfix.6. Rated high severity (CVSS 7.3), this vulne

CVE-2023-2374 HIGH POC
7.3 Apr 28

A security flaw has been discovered in Ubiquiti EdgeRouter X up to 2.0.9-hotfix.6. Rated high severity (CVSS 7.3), this

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy