# CVE-2025-10060: MongoDB may be susceptible to Invariant Failure in Transactions due Upsert Operation

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-09-05 · Modified: 2025-09-05
- Aliases: UBUNTU-CVE-2025-10060
- Record: https://cvemate.com/vulnerability/CVE-2025-10060 · JSON: https://cvemate.com/vulnerability/CVE-2025-10060/json

## Description

```text
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
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.441%, percentile 40.115%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu mongodb (Ubuntu): All versions (No fix recorded)
- mongodb inc mongodb server: ≥ 6.0, \< 6.0.25 \| ≥ 7.0, \< 7.0.22 \| ≥ 8.0, \< 8.0.12
- mongodb mongodb: ≥ 6.0.0, \< 6.0.25 \| ≥ 7.0.0, \< 7.0.22 \| ≥ 8.0.0, \< 8.0.12

## References

- <https://jira.mongodb.org/browse/SERVER-95524>
- <https://ubuntu.com/security/CVE-2025-10060>
- <https://www.cve.org/CVERecord?id=CVE-2025-10060>

---

Data as of 2026-12-05T05:10:43.122Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
