CVE-2025-10060: MongoDB may be susceptible to Invariant Failure in Transactions due Upsert Operation
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
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-10060?
CVE-2025-10060 is classified as a critical severity vulnerability due to its potential to cause server crashes.
How do I fix CVE-2025-10060?
To fix CVE-2025-10060, it's advised to upgrade to MongoDB Server version 6.0.26 or later, 7.0.23 or later, or 8.0.13 or later.
What versions of MongoDB Server are affected by CVE-2025-10060?
CVE-2025-10060 affects MongoDB Server versions up to but not including 6.0.25, 7.0.22, and 8.0.12.
What risks are associated with CVE-2025-10060?
The risks associated with CVE-2025-10060 include potential invariant failures and server crashes during transaction commits.
How does CVE-2025-10060 occur in MongoDB Server?
CVE-2025-10060 occurs due to improper WriteUnitOfWork state management that allows retried upsert operations to violate unique index constraints.