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

- Severity: Medium 6.5 (CVSS:3.1, scored by mongodb) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.89%, higher than 57% of CVEs (2026-11-30)
- Published: 2025-09-05T20:39:14.188Z
- Modified: 2026-09-30T23:10:00.237Z
- Also known as: BIT-MONGODB-2025-10060
- Weaknesses: CWE-672
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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

(As written by CVE List.)

## Affected

- MongoDB Inc MongoDB Server: from 6.0 before 6.0.25; from 7.0 before 7.0.22; from 8.0 before 8.0.12
- mongodb mongodb: from 6.0.0 before 6.0.25; from 7.0.0 before 7.0.22; from 8.0.0 before 8.0.12
- mongodb (Bitnami): from 6.0.0 before 6.0.25; from 7.0.0 before 7.0.22; from 8.0.0 before 8.0.12

## Every score

- mongodb: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://jira.mongodb.org/browse/SERVER-95524> (advisory, issue-tracking, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-10060> (web)

## Sources

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

---

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