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

Published Sep 5, 2025
·
Updated

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

6 affected components
MongoDB MongoDB Server<6.0.25
MongoDB MongoDB Server<7.0.22
MongoDB MongoDB Server<8.0.12
MongoDB MongoDB>=6.0.0<6.0.25
MongoDB MongoDB>=7.0.0<7.0.22
MongoDB MongoDB>=8.0.0<8.0.12

Event History

Sep 5, 2025
CVE Published
via MITRE·08:39 PM
Data Sourced
via MITRE·08:39 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeaknessAffected Software
Aug 6, 57685
Event
via NVD·08:07 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203