CVE-2026-5170
published medium CVSS 4.0 · 6.0Users could trigger a crash of mongod primaries during promotion to sharded
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | MongoDB Server8.2 to < 8.2.2 · 8.0 to < 8.0.18 · 7.0 to < 7.0.31 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | mongodb · cna | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | MongoDB Server | 8.2 to < 8.2.2 (affected · custom)8.0 to < 8.0.18 (affected · custom)7.0 to < 7.0.31 (affected · custom)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-617 CWE-617: Reachable Assertion
References
1Provider assertions
2mongodb · cna
Users could trigger a crash of mongod primaries during promotion to sharded
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- eb19ae5e3cd18c5ece7888b1afff68a3384e27c00f87ea5b1ef1139f86126a9c
- Ingested
- 23 Sep 2026, 09:23:13 UTC
- Source record
- Official CVE record