CVE-2026-5170: A user with access to the cluster with a limited set of privilege actions can trigger a crash of a mongod proc
CVE-2026-5170 is a medium-severity flaw (CVSS 5.3) affecting mongodb. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A user with access to the cluster with a limited set of privilege actions can trigger a crash of a mongod process during the limited and unpredictable window when the cluster is being promoted from a replica set to a sharded cluster. This may cause a denial of service by taking down the primary of the replica set. This issue affects MongoDB Server v8.2 versions prior to 8.2.2, MongoDB Server v8.0 versions between 8.0.18, MongoDB Server v7.0 vers
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 89%) |
| CISA exploited list | No |
| Weakness | CWE-617 |
| Published | 2026-03-30 |
| 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-2026-5170?
mongodb: upgrade to 7.0.31, 8.0.18, 8.2.2. Exact commands for each OS are on this page.
Is CVE-2026-5170 being exploited?
CVE-2026-5170 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-2026-5170 affect?
CVE-2026-5170 affects mongodb. Severity is medium (CVSS 5.3). A user with access to the cluster with a limited set of privilege actions can trigger a crash of a mongod process during the limited and unpredictable window when the cluster is being promoted from a replica set to a sharded cluster. This m
How urgent is CVE-2026-5170?
Priority 21/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-8063 MEDIUM 6.5 UPGRADE An authenticated user can crash mongod when running $rankFusion or $scoreFusion with an empty pipeline on a vi
- CVE-2026-6914 MEDIUM 6.5 UPGRADE Computing the MD5 checksum of a malformed BSON object under specific conditions may cause loss of availability
- CVE-2026-6915 MEDIUM 6.3 UPGRADE An authorization flaw in the user management command could allow an authenticated user to make limited changes
- CVE-2026-8053 HIGH 8.8 UPGRADE An issue in MongoDB Server's time-series collection implementation allows an authenticated user with database
- CVE-2026-8336 HIGH 7.5 UPGRADE After invoking $_internalJsEmit, which is not intended to be directly accessible, or mapreduce command’s map f