Cloudanix VulnDB

CVE-2026-34909

Critical · 10.0 CISA KEV

CVSS

10.0

EPSS

1.8%

Published

May 22, 2026

CISA due date

Jun 26, 2026

Cloudanix analysis

Act now SSVC: Attend

Attackers can break out of a UniFi device’s normal file access controls to steal or alter sensitive files and potentially take over the device.

Active In The Wild
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Full Compromise
Component
Firmware
Class
Path Traversal
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

This is an unauthenticated, network-exploitable path traversal vulnerability in UniFi OS devices and servers. A remote attacker can craft requests that escape the intended application path and access files on the underlying operating system. Because the flaw can expose or allow manipulation of files tied to local accounts and device state, exploitation can lead to credential or token disclosure, unauthorized account access, configuration compromise, device takeover, and potentially full loss of confidentiality, integrity, and availability on affected UniFi gateways, routers, consoles, and NVR appliances.

Why it matters to the business

Affected UniFi OS systems often sit at critical network control points, including gateways, routers, security appliances, and video recording infrastructure. Successful exploitation can disrupt internet connectivity, expose network configuration, compromise administrative access, disable security monitoring, or provide a foothold for broader intrusion. The vulnerability is rated critical, has active in-the-wild exploitation, has a high EPSS likelihood, and is listed in CISA KEV with a remediation deadline of 2026-06-26, making it an urgent operational risk even though it is not currently flagged as ransomware-associated.

How an attack unfolds

An attacker with network reachability to an affected UniFi OS management interface or exposed service sends specially crafted requests containing path traversal sequences. The vulnerable component resolves the supplied path incorrectly and accesses files outside the intended web or application directory. The attacker uses this access to read sensitive system, application, or account-related files and may manipulate files that influence authentication or local account access. With those credentials, tokens, keys, or account artifacts, the attacker attempts to authenticate to the UniFi OS device, change configuration, create persistence, pivot through trusted network paths, or disrupt device operations. Public reporting and KEV inclusion indicate this is not a theoretical issue and should be treated as actively exploited in the wild.

How to fix it

Upgrade all affected UniFi OS servers and UniFi firmware-based appliances to a vendor-fixed release as soon as available. The provided fixed-version data does not list exact per-product versions, so administrators should consult the latest Ubiquiti/UI security advisories and release notes for the specific fixed UniFi OS, Cloud Gateway Industrial, Dream Machine, Dream Machine Pro, Dream Machine Special Edition, Dream Machine Pro Max, Enterprise Fortress Gateway, Dream Wall, Dream Router, Dream Router 7, UniFi Express 7, UniFi Network Video Recorder, and UniFi Network Video Recorder Pro firmware versions. Where immediate patching is not possible, restrict management access to trusted administrative networks or VPN only, block public internet access to UniFi OS management interfaces, enforce MFA where supported, rotate administrative credentials and API tokens, remove unauthorized accounts or SSH keys, disable unnecessary remote access, and monitor for traversal attempts. Because the issue is in KEV and actively exploited, mitigations should be considered temporary until patched.

How to confirm the fix worked

Confirm every affected UniFi OS device and UniFi OS server is inventoried and running a release identified by the vendor as fixed. Verify that UniFi management interfaces are not exposed to the public internet unless explicitly required and protected by strong access controls. From a controlled security testing host, send a benign traversal validation request designed not to disclose sensitive data and confirm the device returns a rejection, normalization failure, or generic not-found response rather than file contents. Review administrative users, SSH keys, remote access settings, recent configuration changes, firmware update history, and device logs for signs of pre-patch compromise. Re-run external attack surface scans and internal vulnerability scans after remediation to confirm the exposure is closed.

Typical attack path

  1. Identify internet-facing or internally reachable UniFi OS devices, gateways, Dream Machine appliances, Dream Routers, Dream Walls, Enterprise Fortress Gateways, or UniFi NVR systems.
  2. Probe reachable management or application endpoints for path traversal behavior using encoded or repeated directory traversal sequences.
  3. Use successful traversal to access sensitive operating system, UniFi OS, application, configuration, credential, token, or account-related files.
  4. Leverage exposed or modified account artifacts to gain unauthorized access to the underlying device or management plane.
  5. Change device configuration, add persistence such as keys or accounts, harvest additional secrets, or use the device as a pivot point into adjacent networks.
  6. Cover tracks by clearing logs, rotating access paths, or blending activity into normal administrative traffic.

How to detect it

Look for evidence of path traversal probing and successful file access before and after patching. Useful log sources include UniFi OS application logs, web access logs, reverse proxy logs, firewall and IDS logs, syslog, authentication logs, SSH logs, device configuration audit logs, firmware update records, and cloud remote-access events. Search HTTP request paths and query strings for raw or encoded directory traversal patterns, especially attempts to access Unix account files, SSH keys, UniFi configuration files, backups, tokens, or application databases. Investigate any successful 200/206 responses, unusually large responses, repeated 400/404 probes followed by a success, or requests from unfamiliar source IPs to management endpoints. Also hunt for post-exploitation artifacts such as newly created admin users, changed passwords, added SSH authorized keys, unexpected SSH logins, modified firewall/NAT rules, exported configuration backups, remote access enablement, abnormal outbound connections from the device, log deletion, or service restarts. Because exploitation is active in the wild, absence of traversal strings alone is not sufficient; correlate network telemetry with account and configuration changes.

  • ../
  • ..\\
  • %2e%2e%2f
  • %2e%2e/
  • ..%2f
  • %252e%252e%252f
  • %c0%ae%c0%ae%c0%af
  • ..%5c
  • %2e%2e%5c
  • /etc/passwd
  • /etc/shadow
  • /etc/hostname
  • /etc/hosts
  • /proc/self/environ
  • /root/.ssh/authorized_keys
  • /.ssh/authorized_keys
  • /home/
  • /data/unifi/
  • /data/unifi-core/
  • /data/system/
  • authorized_keys
  • shadow
  • passwd
  • GET .*\.\./
  • POST .*\.\./
  • GET .*%2e%2e%2f
  • POST .*%2e%2e%2f

What your security team should do

  • Treat this as an emergency patching item because it is critical severity, remotely exploitable without authentication, actively exploited in the wild, and listed in CISA KEV with a 2026-06-26 remediation deadline.
  • Immediately identify all UniFi OS servers and appliances across external and internal networks, including gateways, routers, Dream Machine variants, Dream Wall, Enterprise Fortress Gateway, UniFi Express, and UniFi NVR systems.
  • Patch or upgrade to vendor-fixed UniFi OS and firmware releases; if exact fixed versions are not yet mapped in asset tooling, verify directly against the latest UI/Ubiquiti advisory and release notes.
  • Remove public internet exposure from UniFi OS management services and require VPN or tightly scoped administrative allowlists.
  • Hunt for prior exploitation using HTTP access logs, reverse proxy logs, firewall logs, UniFi OS logs, syslog, authentication logs, and configuration change records.
  • Rotate UniFi administrative passwords, local device credentials, API keys, recovery tokens, SSH keys, and any secrets stored on affected appliances if exploitation cannot be confidently ruled out.
  • Audit for unauthorized admin users, SSH authorized keys, changed remote access settings, unexpected port forwards, altered firewall rules, and unusual outbound connections from UniFi devices.
  • Preserve logs and forensic images before reimaging or factory resetting systems where compromise indicators are found.

The record

A malicious actor with access to the network could exploit a Path Traversal vulnerability found in UniFi OS devices to access files on the underlying system that could be manipulated to access an underlying account.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities