CVE-2026-5170

published 30 Mar 2026 · updated 30 Mar 2026

Users could trigger a crash of mongod primaries during promotion to sharded

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Server 7.0.31, Server 8.0.18 and Server 8.2.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=7.0 <7.0.31, >=8.0 <8.0.18, >=8.2 <8.2.27.0.31, 8.0.18, 8.2.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-5170 severity on Zeptric[![CVE-2026-5170](https://zeptric.io/badge/cve/CVE-2026-5170.svg)](https://zeptric.io/cve/CVE-2026-5170)