Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-31997: UniFi OS 3.1 introduces a misconfiguration on consoles running UniFi Network that allows users on a local netw

36
This month
CRITICAL 9.0MITIGATE

CVE-2023-31997 is a critical-severity flaw (CVSS 9.0) affecting unifi os. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity

No fix is published yet: follow the downgrade or mitigation steps.

Risk facts

CVSS score9.0 (Critical)
Attack vectorAdjacent network
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.3% (top 83%)
CISA exploited listNo
WeaknessCWE-863
Published2023-07-01
Last modified2026-06-17
Publisher (CNA): HackerOne · Vendor: ui

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

ui unifi os MITIGATE
Affected: 3.1
Fixed in: no fixed release known
Safe to downgrade to: a release before 3.1
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2023-31997?

unifi os: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2023-31997 being exploited?

CVE-2023-31997 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2023-31997 affect?

CVE-2023-31997 affects unifi os. Severity is critical (CVSS 9.0). 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.

How urgent is CVE-2023-31997?

Priority 36/100. Critical severity

Software pages

MongoDB vulnerabilities · Ubiquiti vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.