CVE-2025-10060
published medium CVSS 3.1 · 6.5MongoDB may be susceptible to Invariant Failure in Transactions due Upsert Operation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB Inc | — | MongoDB Server6.0 to < 6.0.25 · 7.0 to < 7.0.22 · 8.0 to < 8.0.12 · Other versions: unaffected | Affected | Not stated | mongodb |
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
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
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB Inc | MongoDB Server | 6.0 to < 6.0.25 (affected · custom)7.0 to < 7.0.22 (affected · custom)8.0 to < 8.0.12 (affected · custom)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-672 CWE-672 Operation on a Resource after Expiration or Release
References
1Provider assertions
2mongodb · cna
MongoDB may be susceptible to Invariant Failure in Transactions due Upsert Operation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1c2b887be76bb3b1cb47f0ce8a000254366ae108b648dc55e204a75d449fa199
- Ingested
- 23 Sep 2026, 08:35:30 UTC
- Source record
- Official CVE record