CVE-2026-5170 PUBLISHED

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

Assigner: mongodb
Reserved: 30.03.2026 Published: 30.03.2026 Updated: 30.03.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6

Product Status

Vendor MongoDB
Product MongoDB Server
Versions Default: unaffected
  • affected from 8.2 to 8.2.2 (excl.)
  • affected from 8.0 to 8.0.18 (excl.)
  • affected from 7.0 to 7.0.31 (excl.)

References

Problem Types

  • CWE-617: Reachable Assertion CWE