Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2026-34909: Unauthenticated Path Traversal in Ubiquiti UniFi OS

Published May 22, 2026 · Updated 2 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS10.0Critical · v3.1
EPSS1.8%79th percentile
CISA KEVYesAdded Jun 23, 2026
In the wildActivePer CISA KEV
Vendor
Ui
IdentifiersCVE-2026-34909CWE-22 · Improper Limitation of a Pathname…

CVE-2026-34909 is a critical path traversal vulnerability in Ubiquiti UniFi OS that allows an unauthenticated attacker with network access to read files outside intended application directories. Insufficient restriction of attacker-controlled file paths exposes underlying system files, including authentication signing material and account metadata. Disclosure of these values can enable authentication-token forgery and account takeover. In exploit chains with CVE-2026-34908, inconsistent handling of raw and normalized request URIs allows traversal-bearing requests to pass public-route authentication checks and reach protected backend services. Chaining these vulnerabilities with CVE-2026-34910 enables unauthenticated root-level command execution; that outcome is not attributable to path traversal alone. Affected deployments include UniFi OS Server 5.0.6 and earlier and multiple UniFi appliance families. The vulnerability has a reported CVSS score of 10.0 and was added to CISA's Known Exploited Vulnerabilities catalog on June 23, 2026.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Direct exploitation compromises confidentiality by exposing sensitive host files. Recovered JWT signing secrets and administrator account metadata can permit forged authentication tokens, administrative account access, and unauthorized user creation. Administrative compromise may expose additional credentials and network configuration and enable unauthorized changes to managed infrastructure. When combined with CVE-2026-34908 and CVE-2026-34910, exploitation can result in root-level remote code execution and complete device compromise, including malware deployment, persistence, service disruption, and lateral movement.

Mitigation

If you can’t patch tonight, do this now.

Remove public exposure of UniFi OS management interfaces and restrict access to dedicated administrative networks, controlled jump hosts, or trusted VPN users. Enforce segmentation to prevent access from untrusted network segments. Monitor for encoded traversal requests, unexpected access to protected backend services, unauthorized administrator accounts, configuration changes, suspicious processes, and anomalous outbound connections. Prioritize compromise assessment for previously exposed vulnerable devices. No vendor-provided configuration-only workaround is identified.

Remediation

Patch, then assume compromise.

Apply the product-specific updates released under Ubiquiti Security Advisory Bulletin 064 or newer supported releases. Fixed versions include UniFi OS Server 5.0.8; UCG-Industrial, UDM/UDM-Pro/UDM-SE/UDM-Pro-Max, EFG, UDW, UDR/UDR7/UDR-5G, Express 7, affected UNVR and ENVR models, UCG-Ultra/UCG-Max/UCG-Fiber, and affected Cloud Key models at 5.1.12; UNAS-2/UNAS-4/UNAS-Pro/UNAS-Pro-4/UNAS-Pro-8 at 5.1.10; UDM-Beast at 5.1.11; and Express at 4.0.14. Verify the exact model against the vendor advisory. Patching does not remove an existing compromise. For confirmed compromised devices, isolate and preserve evidence, rebuild from clean firmware, rotate stored credentials and signing keys, and invalidate existing sessions.

Public exploits

Exploits

1 exploit validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2026-34910-PoCRepository contains two security artifacts and supporting documentation: a Python exploit script (CVE-2026-34910.py) and a Nuclei template (CVE-2026-34908-unifi-auth-bypass.yaml), plus README and license. Because this repository includes a framework artifact, the main exploit logic is split between a Nuclei detection template for CVE-2026-34908 and a standalone Python PoC for CVE-2026-34910/CVE-2026-34909. The Python script is the primary offensive component. It disables TLS verification, accepts a target URL, and exposes three modes: `--check` to verify the auth bypass by requesting the internal `latest_package` handler through `/api/auth/validate-sso/..%2f..%2f..%2f`, direct command execution by injecting `evil;<command>` into the `pkg_name` query parameter with `by_cmd=true`, and `--read <path>` to retrieve arbitrary files through a traversal path under `/app-assets/users/`. The script treats HTTP 200 responses from the internal handler as success and includes a proof helper that attempts to create `/tmp/PWNED_34910` on the target. The Nuclei YAML is a detection-only template for CVE-2026-34908. It sends a single crafted GET request to `/api/auth/validate-sso/..%2f..%2f..%2fproxy/users/api/v2/ucs/update/latest_package` and matches on HTTP 200 plus response markers such as `pkg_name` and `required`, confirming unauthorized reachability of the internal handler without executing a payload. Overall purpose: demonstrate and operationalize a chain of UniFi OS vulnerabilities affecting pre-SAB-064 systems: CVE-2026-34908 auth bypass, CVE-2026-34909 arbitrary file read, and CVE-2026-34910 unauthenticated command injection RCE. The repository is not just a detector; it contains working exploit code capable of unauthenticated remote command execution and file disclosure against vulnerable UniFi OS Server targets.Boreas37 · Disclosed Aug 9, 2026 · Framework: nuclei · yaml · python · web · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
UiEnterprise Fortress Gateway Firmwareoperating_system
UiEnterprise Network Video Recorder Core Firmwareoperating_system
UiEnterprise Network Video Recorder Firmwareoperating_system
UiUnas 2 Firmwareoperating_system
UiUnas 4 Firmwareoperating_system
UiUnas Pro 4 Firmwareoperating_system
UiUnas Pro 8 Firmwareoperating_system
UiUnas Pro Firmwareoperating_system
UiUnifi Cloud Gateway Fiber Firmwareoperating_system
UiUnifi Cloud Gateway Industrial Firmwareoperating_system
UiUnifi Cloud Gateway Max Firmwareoperating_system
UiUnifi Cloud Gateway Ultra Firmwareoperating_system
UiUnifi Cloud Key Plus Firmwareoperating_system
UiUnifi Cloudkey Enterprise Firmwareoperating_system
UiUnifi Cloudkey Firmwareoperating_system
UiUnifi Dream Machine Beast Firmwareoperating_system
UiUnifi Dream Machine Firmwareoperating_system
UiUnifi Dream Machine Pro Firmwareoperating_system
UiUnifi Dream Machine Pro Max Firmwareoperating_system
UiUnifi Dream Machine Special Edition Firmwareoperating_system
UiUnifi Dream Router 5G Max Firmwareoperating_system
UiUnifi Dream Router 7 Firmwareoperating_system
UiUnifi Dream Router Firmwareoperating_system
UiUnifi Dream Wall Firmwareoperating_system
UiUnifi Express 7 Firmwareoperating_system
UiUnifi Express Firmwareoperating_system
UiUnifi Network Video Recorder Firmwareoperating_system
UiUnifi Network Video Recorder G2 Firmwareoperating_system
UiUnifi Network Video Recorder G2 Pro Firmwareoperating_system
UiUnifi Network Video Recorder Instant Firmwareoperating_system
UiUnifi Network Video Recorder Pro Firmwareoperating_system
UiUnifi Os Serverapplication
FAQ

Frequently asked questions

Is CVE-2026-34909 exploited in the wild?
Yes. As of Nov 26, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jun 23, 2026.
Is there a public exploit for CVE-2026-34909?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-34909, the earliest disclosed Aug 9, 2026.
Is there a patch for CVE-2026-34909?
Apply the product-specific updates released under Ubiquiti Security Advisory Bulletin 064 or newer supported releases. Fixed versions include UniFi OS Server 5.0.8; UCG-Industrial, UDM/UDM-Pro/UDM-SE/UDM-Pro-Max, EFG, UDW, UDR/UDR7/UDR-5G, Express 7, affected UNVR and ENVR models, UCG-Ultra/UCG-Max/UCG-Fiber, and affected Cloud Key models at 5.1.12; UNAS-2/UNAS-4/UNAS-Pro/UNAS-Pro-4/UNAS-Pro-8 at 5.1.10; UDM-Beast at 5.1.11; and Express at 4.0.14.
What products are affected by CVE-2026-34909?
Ui Unifi Os Server, Ui Enterprise Fortress Gateway Firmware, Ui Enterprise Network Video Recorder Core Firmware, Ui Enterprise Network Video Recorder Firmware, Ui Unas 2 Firmware, and at least 27 more.
How severe is CVE-2026-34909?
CVE-2026-34909 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 1.8% (79th percentile) as of Nov 26, 2026.
Activity feed

Recent activity

76 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+38 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence4Every report linking this CVE to a named adversary.
Associated malware7Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity30Community discussion across Reddit, Mastodon, and other social sources.