CVE-2023-31997: UniFi OS 3.1 introduces a misconfiguration on consoles running UniFi Network that allows users on a local netw
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 score | 9.0 (Critical) |
| Attack vector | Adjacent network |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 83%) |
| CISA exploited list | No |
| Weakness | CWE-863 |
| Published | 2023-07-01 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
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
- CVE-2023-28361 MEDIUM 6.5 UPGRADE A Cross-site WebSocket Hijacking (CSWSH) vulnerability found in UniFi OS 2.5 and earlier allows a malicious ac