☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Ubiquiti logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 10 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H 🐛 CWE-22
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2026-34909

CVE-2026-34909 Path Traversal in hackerone
📅 PUBLISHED: 2026-05-22 00:00 UTC 🔄 UPDATED: 2026-10-08 19:48 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix ⏳ Vendor-claimed fix: v5.0.8 — source: hackerone. UNVERIFIED · pending independent confirmation. how verification works →
[ DEFENSE PATCH ↓ ]
🚨 ACTIVELY EXPLOITED (KEV) 💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 1.79%
👁️
1.79% probability
44.8× above the median CVE
Tier: HIGH
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: United States License: Commercial
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 10.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: C Scope Changed
C: H Confidentiality High
I: H Integrity High
A: H Availability High
10.0
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2026-34909 is a critical Path Traversal vulnerability (CWE-22) affecting UniFi OS devices, disclosed through the HackerOne platform. A malicious actor with network access can exploit this flaw to read arbitrary files on the underlying operating system, and in certain scenarios, manipulate those files to gain access to an underlying account. With a CVSS score of 10.0, this vulnerability is rated Critical and poses an immediate and severe risk to enterprise networks deploying UniFi OS-based infrastructure. No patch or vendor fix has been identified at the time of this report.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Technical Analysis

The vulnerability is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory — 'Path Traversal'). The NVD description states that 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."

The core mechanism of this flaw resides in insufficient input sanitization within UniFi OS's file access or web-serving components. The operating system fails to properly validate user-supplied file paths, permitting directory traversal sequences (e.g., ../) to escape the intended application sandbox or web root. This allows an unauthenticated or low-privileged attacker to request files outside the designated application directory.

Key technical characteristics inferred from the description and vulnerability class:

  1. Path Traversal (CWE-22): The application accepts a file path input without properly neutralizing special elements such as ../ sequences or absolute path separators. This permits navigation to arbitrary locations on the filesystem.

  2. Network Accessibility: The attack vector is network-based (AV:N), meaning the attacker does not require physical access or a pre-existing foothold on the device. Access to the management interface or network services exposed by the UniFi OS is sufficient.

  3. Impact on Underlying System Files: The attacker can retrieve files such as configuration files, credential stores, encryption keys, or user databases residing on the underlying Linux-based system running UniFi OS.

  4. Account Manipulation Potential: The description notes that accessed files "could be manipulated to access an underlying account." This suggests that the traversal enables not only information disclosure (confidentiality impact) but also a pathway to privilege escalation — potentially by overwriting or modifying authentication-related files, injecting credentials, or altering system configuration to grant administrative access.

The vulnerability's CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H) confirms:

  • Attack Vector: Network (N) — Exploitable remotely.
  • Attack Complexity: Low (L) — No special conditions or race conditions required.
  • Privileges Required: None (N) — No authentication needed to trigger the flaw.
  • User Interaction: None (N) — No victim action required.
  • Scope: Changed (S) — Compromise extends beyond the vulnerable component to the underlying system.
  • Confidentiality/Integrity/Availability: High (H) — Full compromise of all security properties.

With an EPSS score of 0.62767 (99.1st percentile), this vulnerability is already being actively discussed or exploited in the wild, making urgent remediation essential.

Exploitation Scenarios

Given the vulnerability class (Path Traversal) and the description that files "could be manipulated to access an underlying account," the following detailed attack chain is plausible:

Step 1 — Reconnaissance and Target Identification The attacker scans the network (or internet) for devices exposing UniFi OS management interfaces. UniFi OS devices typically expose their web management interface on ports 8080 (HTTP), 8443 (HTTPS), or 443 in cloud-managed deployments. Shodan can be used with queries such as product:"UniFi OS" or http.title:"UniFi" to locate vulnerable devices. The attacker identifies targets running UniFi OS via HTTP response headers (e.g., Server: UniFi), page titles, or TLS certificate common names containing "UniFi".

Step 2 — Trigger/Weaponization — Path Traversal Probe The attacker sends crafted HTTP requests to the device's file-serving endpoints. The request may look like:

GET /api/../../../../etc/passwd HTTP/1.1
Host: <target>

or alternatively using URL-encoded traversal sequences to bypass potential filters:

GET /assets/..%2f..%2f..%2f..%2fetc%2fshadow HTTP/1.1

The attacker iterates through various parameters (static file paths, download endpoints, backup URLs, API parameters that reference file names) to identify which endpoint is vulnerable to directory traversal.

Step 3 — Payload/Execution — File Confidentiality Compromise Once a traversal vector is confirmed, the attacker retrieves sensitive files:

  • /etc/passwd — to enumerate users
  • /etc/shadow — to retrieve password hashes (if readable)
  • UniFi application configuration files containing database credentials (e.g., MongoDB connection strings)
  • TLS/SSL private keys
  • Backup vault files or system state archives
  • Environment variables or service configuration containing API tokens

If the traversal allows write operations (a property sometimes present in traversal flaws where file upload/archive extraction endpoints are affected), the attacker could:

  • Overwrite the /etc/passwd file to add a new root user with a known password hash.
  • Modify SSH authorized_keys files (/root/.ssh/authorized_keys) to implant an attacker-controlled public key for persistent SSH access.
  • Replace service configuration files to disable authentication or inject rogue credentials.

Step 4 — Post-Exploitation — Account Takeover and Persistence With the ability to read and potentially modify system files, the attacker gains access to an underlying account (root or a service account). This permits:

  • Full administrative control over the UniFi OS device via SSH or the management interface.
  • Lateral movement within the network by leveraging the compromised device as a pivot point.
  • Exfiltration of network configuration, VPN credentials, and client device data managed by the UniFi controller.
  • Deployment of persistent backdoors (e.g., cron jobs, modified system services) ensuring continued access.
  • Potential disruption of network management operations (reconfiguring firewall rules, disabling access controls).

Impact Assessment

The impact of CVE-2026-34909 is profound, with a CVSS v3.1 base score of 10.0 (Critical):

  • Confidentiality Impact: High — Full read access to arbitrary files on the underlying system exposes credentials, encryption keys, network topology data, and client information managed by UniFi OS.
  • Integrity Impact: High — The ability to manipulate files enables the attacker to alter authentication mechanisms, implant backdoors, and modify system configurations.
  • Availability Impact: High — An attacker with root-level access can disable the device, reflash firmware, or render the UniFi controller inoperable, disrupting network management across the entire organization.

Business impact considerations:

  • UniFi OS devices serve as central controllers for Wi-Fi networks, network switches, and security gateways in SMB and enterprise deployments.
  • Compromise of a UniFi controller exposes hashed user credentials, network keys, and potentially sensitive information about connected clients (MAC addresses, device types, usage patterns).
  • The underlying account access achieved through this flaw provides a launching point for deeper network infiltration, as UniFi controllers often possess privileged network management capabilities (VLAN configuration, firewall rules, VPN endpoints).
  • The device frequently holds cloud connectivity credentials (SSO tokens to Unifi.ui.com cloud portal), potentially enabling account takeover of the organization's cloud-managed network infrastructure.

Given the lack of patch availability and high EPSS score, all UniFi OS deployments must be considered at imminent risk.

Detection Guidance

Sigma Rule

title: UniFi OS Path Traversal Attempt (CVE-2026-34909)
id: f8c2a9b4-6e3d-4f7a-9c1e-5a2f8b7d3e10
status: experimental
description: Detects path traversal attempts targeting UniFi OS devices, indicating exploitation of CVE-2026-34909
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2026-34909
author: Valters IT Security Team
date: 2026/01/15
logsource:
    category: webserver
    product: unifi
    definition: 'Web server access logs from UniFi OS (Nginx or similar)'
detection:
    selection_traversal:
        cs-uri-query|contains:
            - '..%2f'
            - '..%2F'
            - '%2e%2e%2f'
            - '%2e%2e%5c'
            - '..\\'
            - '/../../../'
            - '/..%2f'
    selection_sensitive_files:
        cs-uri-query|contains:
            - '/etc/passwd'
            - '/etc/shadow'
            - '/etc/ssh/'
            - '/root/.ssh/'
            - '/data/'
            - '/mnt/'
            - '/usr/lib/'
    condition: selection_traversal and selection_sensitive_files
    timeframe: 5m
level: critical
falsepositives:
    - Legitimate administrative tools may include traversal patterns in rare maintenance cases
fields:
    - clientip
    - cs-uri-query
    - sc-status
    - c-ip
tags:
    - attack.t1190
    - attack.initial-access
    - cve.2026-34909

YARA Rule

rule UniFi_OS_Path_Traversal_CVE_2026_34909
{
    meta:
        author = "Valters IT Security Team"
        description = "Detects HTTP request patterns targeting UniFi OS path traversal vulnerability CVE-2026-34909"
        date = "2026-01-15"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2026-34909"
        severity = "critical"
        cve = "CVE-2026-34909"
    strings:
        $traversal1 = "..%2f" ascii wide nocase
        $traversal2 = "..%2F" ascii wide nocase
        $traversal3 = "%2e%2e%2f" ascii wide nocase
        $traversal4 = "/../../../" ascii wide nocase
        $traversal5 = "/..%2f/" ascii wide nocase
        $traversal6 = "..\\" ascii wide nocase
        $sensitive1 = "/etc/passwd" ascii wide nocase
        $sensitive2 = "/etc/shadow" ascii wide nocase
        $sensitive3 = "/etc/ssh/" ascii wide nocase
        $sensitive4 = "/root/" ascii wide nocase
        $sensitive5 = ".ssh" ascii wide nocase
        $sensitive6 = "/usr/lib/" ascii wide nocase
        $sensitive7 = "/data/" ascii wide nocase
        $sensitive8 = "system.properties" ascii wide nocase
        $useragent = "curl" ascii wide nocase
        $useragent2 = "python-requests" ascii wide nocase
        $useragent3 = "wget" ascii wide nocase
        $useragent4 = "Go-http-client" ascii wide nocase
    condition:
        ( any of ($traversal*) ) and ( any of ($sensitive*) )
        or ( any of ($traversal*) and (any of ($useragent*) ) )
}

Suricata IDS Rule

alert http any any -> any any (msg:"ET EXPLOIT UniFi OS Path Traversal Attempt (CVE-2026-34909)"; flow:established,to_server; content:"GET"; http_method; content:"..%2f"; http_uri; nocase; content:"..%2F"; http_uri; nocase; content:"%2e%2e%2f"; http_uri; nocase; pcre:"/(\.\.(\/|%2f|%5c)){2,}/Ui"; reference:cve,2026-34909; classtype:attempted-admin; sid:2026014901; rev:1;)

Elastic Detection

sequence by source.ip with maxspan=30s
  [ network where event.category == "web" and network.protocol == "http" and
    url.path like~ "*..%2f*" or url.path like~ "*%2e%2e%2f*" or url.path like~ "*/../../../*" ]
  [ file where event.action == "read" and 
    file.path like~ "*/etc/passwd" or file.path like~ "*/etc/shadow" or 
    file.path like~ "*/root/.ssh/*" or file.path like~ "*/data/*" ]

Alternative broader EQL detecting traversal in URL:

any where event.category == "web" and network.protocol == "http"
  and (
    url.path like~ "*..%2f*" or
    url.path like~ "*..%2F*" or
    url.path like~ "*%2e%2e%2f*" or
    url.path like~ "*%2e%2e%5c*" or
    url.path like~ "*/..%5c*" or
    url.path like~ "*..%5c..%5c*"
  )
  and ( url.path like~ "*etc/passwd*" or url.path like~ "*etc/shadow*" or url.path like~ "*root/*" )

Splunk SPL Query

index=webserver sourcetype=access_combined
| where match(uri_path, "(?i)(\.\.(%2f|%5c|/|\\))") 
  AND match(uri_path, "(?i)(/etc/passwd|/etc/shadow|/root/|/usr/lib/|/data/)")
| table _time, clientip, method, uri_path, uri_query, status, useragent, host
| stats count by clientip, uri_path, host
| sort - count

Additional query for broader detection:

index=proxy OR index=firewall
| search (uri_path="*..%2f*" OR uri_path="*..%2F*" OR uri_path="*%2e%2e%2f*" OR uri_path="*%2e%2e%5c*")
| search dest_port=8443 OR dest_port=8080 OR dest_port=443
| table _time, src_ip, dest_ip, dest_port, uri_path, http_user_agent
| eval threat = "CVE-2026-34909 Path Traversal Attempt"

Wazuh OSSEC Rule

<group name="unifi,">
  <rule id="100401" level="15">
    <decoded_as>web</decoded_as>
    <description>UniFi OS Path Traversal Attempt Detected (CVE-2026-34909)</description>
    <match>\.\.%2f</match>
    <match>\.\.%2F</match>
    <match>%2e%2e%2f</match>
    <match>/\.\./\.\./</match>
    <match>/etc/passwd</match>
    <match>/etc/shadow</match>
    <regex>\.\.(/|%2f|%5c)</regex>
    <group>attack.t1190</group>
    <info type="cve">CVE-2026-34909</info>
    <mitre>
      <id>T1190</id>
    </mitre>
  </rule>

  <rule id="100402" level="12">
    <decoded_as>web</decoded_as>
    <description>UniFi OS Web Server Returned Error on Path Traversal Probe</description>
    <match>404</match>
    <regex>\.\.(%2f|%2F|%5c|/)</regex>
    <group>attack.t1190</group>
    <info type="cve">CVE-2026-34909</info>
  </rule>
</group>

Mitigation & Patch Guidance

Patch Confidence: 0/4 — UNPATCHED

No patch evidence exists from any tracked source. The vendor has not yet issued a fix. Until an official patch is released, organizations must rely on compensating controls and active monitoring.

1. Immediate Mitigations (to implement now)

  • Network Segmentation: Isolate UniFi OS management interfaces behind VPN or restricted access lists. Do not expose the UniFi controller (ports 8080, 8443) directly to the internet or untrusted network segments.
  • Firewall/Rate Limiting: Implement strict firewall rules allowing only trusted administrative IP ranges to reach UniFi OS management ports.
  • Reverse Proxy Validation: If a reverse proxy is placed in front of the UniFi OS device, configure it to:
    • Block requests containing traversal sequences (.., %2e%2e, %2f, %5c) in the URI.
    • Normalize and reject malformed URI encoding.
  • WAF Rules: Deploy Web Application Firewall rules to detect and block path traversal patterns targeting the UniFi application.
  • Monitor Logs: Enable detailed HTTP access logging on the UniFi OS device and validate that logs are shipped to a centralized SIEM for real-time alerting.
  • Restrict Outbound Traffic: Limit outbound connections from UniFi devices to reduce exfiltration channels in case of compromise.
  • Review Accounts: Audit all local OS accounts and SSH keys; rotate any credentials stored on the device.
  • Disable SSH If Unnecessary: If remote SSH access to the UniFi OS underlying system is not required, disable it.

2. Patch/Upgrade Steps

  • Monitor vendor advisories (Ubiquiti/HackerOne disclosure channels) continuously for a security fix.
  • When a patched firmware or OS version becomes available, schedule an accelerated maintenance window for deployment.
  • Back up all UniFi OS configuration and site data before applying any fix.
  • Validate patch integrity via checksum and apply via the official vendor update channel only.
  • After patching, perform a regression test to verify that file access restrictions are properly enforced.

3. Long-Term Hardening

  • Inventory: Maintain a complete inventory of all UniFi OS devices in the environment with firmware versions, hostnames, and responsible administrators.
  • Least Privilege: Restrict management interface access to a dedicated management VLAN with strict ACLs.
  • Multi-Factor Authentication: Enforce MFA for all administrative access to UniFi OS, both via the web UI and SSH.
  • Regular Audits: Periodically review file integrity on the underlying OS to detect unauthorized modifications (e.g., using AIDE or Tripwire).
  • Patch Management Process: Integrate Ubiquiti/UniFi OS into the enterprise vulnerability management and patch cycle.
  • Network Monitoring: Deploy continuous network monitoring for unusual outbound connections or file access patterns from network management devices.

References

  1. NVD Entry: https://nvd.nist.gov/vuln/detail/CVE-2026-34909 — Official National Vulnerability Database entry for CVE-2026-34909.
  2. HackerOne Disclosure: https://hackerone.com/ubiquiti — HackerOne platform where the vulnerability was disclosed. The coordinated disclosure page may contain additional technical details or vendor responses.
  3. CWE-22 (Path Traversal): https://cwe.mitre.org/data/definitions/22.html — MITRE Common Weakness Enumeration entry describing the vulnerability class.
  4. EPSS Data: https://www.first.org/epss/ — FIRST Exploit Prediction Scoring System showing EPSS score of 0.62767 (99.1% percentile), indicating active exploitation potential.
  5. Ubiquiti UniFi OS Security Advisory: Monitor https://community.ui.com/releases for official release notes and security advisories from Ubiquiti.

Threat Actor Campaigns / Exploit-in-the-Wild Evidence: No verified threat actor campaigns have been publicly documented at the time of this writing. However, the EPSS score (0.62767, 99.1st percentile) strongly suggests active exploitation or high likelihood of imminent exploitation. Enterprise teams should treat this as an actively exploited zero-day until proven otherwise. No CISA KEV listing exists for this CVE at this time.

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

product:"UniFi OS"
http.title:"UniFi"
product:"Ubiquiti UniFi" port:8443,8080
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2026-34909/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.