CVE-2023-31997: UniFi OS 3.1 introduces a misconfiguration on consoles running UniFi Network that allows users on a local network to access MongoDB.

CVE-2023-31997 affects 1 listed version of Ubiquiti UniFi OS in the Dawnsentry catalogue.

9.0CVSS critical
None knownexploitation
under 1%EPSS (next 30 days)
1 July 2023published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Ubiquiti UniFi OS

1 of 29 listed versions are affected. Fixed in 3.1.13. The newest release, 6.0.19, is not affected.

3.1

What it is

UniFi OS 3.1 introduces a misconfiguration on consoles running UniFi Network that allows users on a local network to access MongoDB. Applicable Cloud Keys that are both (1) running UniFi OS 3.1 and (2) hosting the UniFi Network application. "Applicable Cloud Keys" include the following: Cloud Key Gen2 and Cloud Key Gen2 Plus.

CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (NVD)

Published by Hackerone on 1 July 2023. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2023-31997 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.