CVE-2026-22557: Unauthenticated Path Traversal in Ubiquiti UniFi Network Application
CVE-2026-22557 is a critical unauthenticated path traversal vulnerability in the Ubiquiti UniFi Network Application. The flaw affects the guest captive portal handling in the application and allows a remote attacker with network access to traverse outside the intended portal resource directory and read files from the underlying system. Public technical analysis indicates the vulnerable code path uses attacker-controlled input from a guest portal error-page parameter as a relative filesystem path without adequate validation or canonicalization before opening and streaming the referenced file. The issue has been described in the guest portal servlet and associated failure-page rendering logic, where a crafted request can trigger arbitrary file disclosure from the controller host. The vulnerability is especially dangerous because exposed files may include application configuration, backups, database content, and credential material that can then be used to compromise accounts managed by or underlying the controller. The vulnerability has been assigned a CVSS v3.1 score of 10.0.
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.
Successful exploitation allows unauthenticated arbitrary file read from the host running the UniFi Network Application. Exposed data can include sensitive application files, configuration data, backups, database artifacts, keystores, and credential material. Access to such files can enable compromise of administrative accounts, takeover of the UniFi controller, theft of secrets used to manage downstream UniFi devices, and broader compromise of managed network infrastructure. Depending on the files obtained, the attacker may gain the ability to authenticate as privileged users, decrypt stored data, pivot to managed devices, and effectively assume administrative control over the environment.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict network access to the UniFi Network Application management and guest portal interfaces to trusted administrative networks only, and remove any direct internet exposure. Do not rely solely on blocking guest portal ports, because the vulnerable guest routes may also be reachable via the administrative web interface. Review whether customized guest portals are enabled and disable unnecessary guest portal customization where operationally feasible. Monitor application and web logs for traversal attempts against guest portal routes and investigate signs of unauthorized file access. Because sensitive backups and credential material may have been exposed prior to patching, rotate administrative credentials, device secrets, certificates, and other stored secrets that may have resided on the controller.
Remediation
Patch, then assume compromise.
Upgrade affected software to a fixed release. Reported fixed versions include UniFi Network Application 10.1.89 or later for the official release branch, 10.2.97 or later for the release candidate branch, and UniFi Express firmware 4.0.13 or later, which includes a fixed Network Application build. Affected versions include 10.1.85 and earlier, 10.2.93 and earlier, and UniFi Express builds using Network Application 9.0.114 and earlier. The vendor patch reportedly restricts the guest portal error-page parameter to expected filenames and adds canonicalization and containment checks to prevent traversal outside the intended directory.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 4 rejected by Mallory's analysis as not a working exploit.
Frequently asked questions
- Is CVE-2026-22557 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-22557 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-22557?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-22557, the earliest disclosed Apr 11, 2026.
- Is there a patch for CVE-2026-22557?
- Upgrade affected software to a fixed release. Reported fixed versions include UniFi Network Application 10.1.89 or later for the official release branch, 10.2.97 or later for the release candidate branch, and UniFi Express firmware 4.0.13 or later, which includes a fixed Network Application build.
- How severe is CVE-2026-22557?
- CVE-2026-22557 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 29.0% (98th percentile) as of Sep 25, 2026.
Recent activity
57 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.