CVE-2025-10060: MongoDB
High severity, CVSS 7.5. EPSS: 0.4% chance of exploitation in the next 30 days.
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
- MongoDB MongoDB: from 6.0.0, before 6.0.25 (fixed in 6.0.25); from 7.0.0, before 7.0.22 (fixed in 7.0.22); from 8.0.0, before 8.0.12 (fixed in 8.0.12)
Published 2025-09-05. Last modified 2026-09-30.