Skip to content
CVE PROGRAM SOURCE RECORD6.5 Medium

CVE-2025-10060

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

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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

MongoDB Inc MongoDB Server

Default version status: unaffected

  • 6.0 to < 6.0.25affected
  • 7.0 to < 7.0.22affected
  • 8.0 to < 8.0.12affected

References