CVE-2026-5170

Severity CVSS v4.0:
MEDIUM
Type:
Unavailable / Other
Publication date:
30/03/2026
Last modified:
02/04/2026

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.<br /> <br /> 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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:* 7.0.0 (including) 7.0.31 (excluding)
cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:* 8.0.0 (including) 8.0.18 (excluding)
cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:* 8.2.0 (including) 8.2.2 (excluding)


References to Advisories, Solutions, and Tools