Skip to content

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

MediumCVSS 6.0 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
MongoDB Server >= 7.0, < 7.0.31; >= 8.0, < 8.0.18; >= 8.2, < 8.2.2 7.0.31, 8.0.18, 8.2.2 Fixed
mongodb/mongodb >= 7.0.0, < 7.0.31; >= 8.0.0, < 8.0.18; >= 8.2.0, < 8.2.2 7.0.31, 8.0.18, 8.2.2 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Server >= 8.2, < 8.2.2 8.2.2
MongoDB Server >= 8.0, < 8.0.18 8.0.18
MongoDB Server >= 7.0, < 7.0.31 7.0.31
mongodb/mongodb >= 7.0.0, < 7.0.31 7.0.31
mongodb/mongodb >= 8.0.0, < 8.0.18 8.0.18
mongodb/mongodb >= 8.2.0, < 8.2.2 8.2.2

References