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

- Severity: Medium 6.0 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-02)
- Published: 2026-03-30T15:28:57.572Z
- Modified: 2026-09-08T08:48:14.435Z
- Also known as: BIT-MONGODB-2026-5170
- Weaknesses: CWE-617
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB MongoDB Server: from 8.2 before 8.2.2; from 8.0 before 8.0.18; from 7.0 before 7.0.31
- mongodb mongodb: from 7.0.0 before 7.0.31; from 8.0.0 before 8.0.18; from 8.2.0 before 8.2.2
- mongodb (Bitnami): from 7.0.0 before 7.0.31; from 8.0.0 before 8.0.18; from 8.2.0 before 8.2.2

## Every score

- mongodb: CVSS:4.0 6.0 Medium `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`
- mongodb: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://jira.mongodb.org/browse/SERVER-101758> (advisory, patch, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5170> (web)

## Sources

- CVE List: [CVE-2026-5170](https://www.cve.org/CVERecord?id=CVE-2026-5170), CVE Terms of Use, modified 2026-03-30
- NVD: [CVE-2026-5170](https://nvd.nist.gov/vuln/detail/CVE-2026-5170), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MONGODB-2026-5170](https://osv.dev/vulnerability/BIT-MONGODB-2026-5170), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-5170 · Whole record: https://cve.day/CVE-2026-5170.json · Rebuilt by cve.day 2026-11-25T22:59:17.513Z
