CVE-2025-10060 in Mongodb
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mongodb | Mongodb | ≥ 6.0.0, < 6.0.25 ≥ 7.0.0, < 7.0.22 ≥ 8.0.0, < 8.0.12 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-10060 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-228349-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2025-09-05 |
| Last modified | 2026-09-30 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-672: CWE-672
Analysis AI-written, not human-reviewed
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 due to improper WriteUnitOfWork state management.
The vulnerability arises from improper handling of WriteUnitOfWork state during transaction retries, which can lead to upsert operations violating unique index constraints, resulting in server crashes.
Questions
What is CVE-2025-10060?
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 due to improper WriteUnitOfWork state management.
What is the CVSS score for CVE-2025-10060?
CVE-2025-10060 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.9%.
Is CVE-2025-10060 actively exploited?
No confirmed active exploitation of CVE-2025-10060 as of 2026-10-01.
How do I remediate CVE-2025-10060?
Priority: HIGH. Advisory: https://jira.mongodb.org/browse/SERVER-95524 PSIRT: [email protected]
What systems are affected by CVE-2025-10060?
CVE-2025-10060 affects Mongodb Mongodb.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mongodb","product":"Mongodb","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-09-30.