CVE-2025-10060

MEDIUM
Published Sep 5, 2025 Modified Sep 18, 2025 CWE-672

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

Is your site exposed to CVE-2025-10060?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

6.5
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness Type (CWE)

CWE-672 CWE-672

Affected Products

Vendor Product
mongodb mongodb
mongodb mongodb
mongodb mongodb

References

Frequently Asked 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. 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 It has a CVSS v3.1 base score of 6.5 (MEDIUM).
How severe is CVE-2025-10060? +
CVE-2025-10060 has a CVSS v3.1 score of 6.5 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2025-10060? +
CVE-2025-10060 affects products from mongodb, specifically: mongodb. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-10060? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-10060 — free, no signup required.