CVE-2025-10060

Medium

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

SeverityMedium
CVSS6.5
Exploit probability—
ProductMongodb
PublishedSep 5, 2025
First seenSep 5, 2025
Weakness typeCWE-672CWE-672

How to fix

Update
  • mongodb mongodb6.0.25, 7.0.22, 8.0.12 or later

Affected products

ProductAffected versionsFixed in
mongodb mongodb6.0.0 ≤ v < 6.0.25, 7.0.0 ≤ v < 7.0.22, 8.0.0 ≤ v < 8.0.126.0.25, 7.0.22, 8.0.12

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.