CVE-2026-5170: Users could trigger a crash of mongod primaries during promotion to sharded

Published Mar 30, 2026
·
Updated

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.

Affected Software

6 affected components
MongoDB MongoDB Server 8.2<8.2.2
MongoDB MongoDB Server 8.0
MongoDB MongoDB Server 7.0
MongoDB MongoDB>=7.0.0<7.0.31
MongoDB MongoDB>=8.0.0<8.0.18
MongoDB MongoDB>=8.2.0<8.2.2

Event History

Mar 30, 2026
CVE Published
via MITRE·03:28 PM
Data Sourced
via MITRE·03:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 6, 58230
Event
via FIRST·10:12 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-5170?

CVE-2026-5170 is classified as a medium severity vulnerability due to its potential to crash the mongod process during critical operations.

2

How do I fix CVE-2026-5170?

To fix CVE-2026-5170, upgrade your MongoDB Server to version 8.2.2 or later to address the vulnerability.

3

Which versions of MongoDB are affected by CVE-2026-5170?

CVE-2026-5170 affects MongoDB Server versions 8.0, 7.0, and earlier versions up to 8.2.1.

4

Can a low-privileged user exploit CVE-2026-5170?

Yes, a user with limited privileges could potentially exploit CVE-2026-5170 to trigger a crash during cluster promotion.

5

What operations are compromised by CVE-2026-5170?

CVE-2026-5170 compromises the process of promoting a MongoDB cluster from a replica set to a sharded configuration.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203