CVE-2026-5170: MongoDB Server · Reachable Assertion
Affects MongoDB ServerSource CVE Database V5
Not known to be exploited · CVSS 6.0 Medium · fixed in 8.2.2 : update MongoDB Server when convenient.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.2.2, 8.0.18, 7.0.31
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade MongoDB Server to 8.2.2, 8.0.18 or 7.0.31.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MongoDBMongoDB Server | Affected
| Fixed in
|
| MongoDBMongoDB Server | Affected
| Fixed in
|
| MongoDBMongoDB Server | Affected
| Fixed in
|
AI-suggested
Organizations should upgrade affected MongoDB Server versions to the fixed releases: 8.2.2 or later, 8.0.19 or later, and 7.0.32 or later. Until patching is possible, administrators should minimize the frequency of cluster promotions or reconfigurations that trigger the vulnerable code path. Restrict network access to MongoDB cluster management interfaces to trusted administrators and limit privileges to only necessary users to reduce the risk of exploitation. Implement monitoring and alerting for unexpected mongod process crashes or replica set failovers to detect potential exploitation attempts promptly. Consider scheduling cluster promotions during maintenance windows with reduced load and increased operational oversight. Review and harden MongoDB security configurations, including authentication and role-based access control, to ensure that only authorized users can perform cluster management actions. Finally, maintain regular backups and test failover procedures to mitigate the impact of unexpected outages.
Description
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 versions between 7.0.31.