MongoDB may be susceptible to Invariant Failure in Transactions due Upsert Operation (MongoDB Inc MongoDB Server)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.38 % · percentile 32 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mongodb
- NVD status
- Analyzed
Description
MongoDB Server may allow upsert operations retried within a transaction to violate unique index constraints, potentially causing an invariant failure and server crash during commit. This issue may be triggered by improper WriteUnitOfWork state management. This issue affects MongoDB Server v6.0 versions prior to 6.0.25, MongoDB Server v7.0 versions prior to 7.0.22 and MongoDB Server v8.0 versions prior to 8.0.12
Weaknesses (CWE)
- CWE-672 — Operation on a Resource after Expiration or Release
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | mongodb |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · cna@mongodb.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2025-27035
- GCVE · GCVE-0-2025-10060
Affected configurations (NVD CPE)
cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*≥ 6.0.0 < 6.0.25cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*≥ 7.0.0 < 7.0.22cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*≥ 8.0.0 < 8.0.12
Affected products
| Product | Versions |
|---|---|
| MongoDB Inc · MongoDB Server | affected 6.0 < 6.0.25 ; affected 7.0 < 7.0.22 ; affected 8.0 < 8.0.12 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |