CVE-2025-10060

published 5 Sep 2025 · updated 5 Sep 2025

MongoDB may be susceptible to Invariant Failure in Transactions due Upsert Operation

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Server 6.0.25, Server 7.0.22 and Server 8.0.12.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=6.0 <6.0.25, >=7.0 <7.0.22, >=8.0 <8.0.126.0.25, 7.0.22, 8.0.12

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-10060 severity on Zeptric[![CVE-2025-10060](https://zeptric.io/badge/cve/CVE-2025-10060.svg)](https://zeptric.io/cve/CVE-2025-10060)