CVE-2025-10060
MongoDB vulnerability analysis and mitigation

Overview

MongoDB Server vulnerability (CVE-2025-10060) was discovered that allows upsert operations retried within a transaction to violate unique index constraints. This vulnerability affects MongoDB Server versions prior to 6.0.25, 7.0.22, and 8.0.12. The issue was disclosed on September 5, 2025 (NVD).

Technical details

The vulnerability stems from improper WriteUnitOfWork state management during transaction processing. When upsert operations are retried within a transaction, the system may incorrectly allow violations of unique index constraints. The vulnerability has received a CVSS v3.1 base score of 7.5 (HIGH) from NVD and 6.5 (MEDIUM) from MongoDB, Inc. The weakness is classified as CWE-672 (Operation on a Resource after Expiration or Release) (NVD).

Impact

When exploited, this vulnerability can potentially cause an invariant failure and server crash during commit. This affects the availability of the MongoDB server, potentially disrupting database operations and services (NVD).

Mitigation and workarounds

Users should upgrade to MongoDB Server versions 6.0.25, 7.0.22, or 8.0.12 or later, depending on their current version branch. These releases contain fixes for the vulnerability (NVD).

Additional resources


SourceThis report was generated using AI

Related MongoDB vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-11695HIGH8
  • MongoDBMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesOct 13, 2025
CVE-2025-10491HIGH7.8
  • MongoDBMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesSep 15, 2025
CVE-2025-10060HIGH7.5
  • MongoDBMongoDB
  • mongodb
NoYesSep 05, 2025
CVE-2025-10061MEDIUM6.5
  • MongoDBMongoDB
  • mongod-8.0
NoYesSep 05, 2025
CVE-2025-10059MEDIUM6.5
  • MongoDBMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesSep 05, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management