CVE-2025-10060

Source
https://cve.org/CVERecord?id=CVE-2025-10060
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-10060.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-10060
Aliases
Downstream
Published
2025-09-05T20:39:14.188Z
Modified
2026-07-15T02:13:35.813309905Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
MongoDB may be susceptible to Invariant Failure in Transactions due Upsert Operation
Details

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/10xxx/CVE-2025-10060.json",
    "cna_assigner": "mongodb",
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "6.0"
                },
                {
                    "fixed": "6.0.25"
                },
                {
                    "introduced": "7.0"
                },
                {
                    "fixed": "7.0.22"
                },
                {
                    "introduced": "8.0"
                },
                {
                    "fixed": "8.0.12"
                }
            ]
        }
    ],
    "cwe_ids": [
        "CWE-672"
    ]
}
References

Affected packages

Git / github.com/mongodb/mongo

Affected ranges

Type
GIT
Repo
https://github.com/mongodb/mongo
Events
Database specific
{
    "cpe": "cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*",
    "source": "CPE_RANGE",
    "extracted_events": [
        {
            "introduced": "6.0.0"
        },
        {
            "fixed": "6.0.25"
        },
        {
            "introduced": "7.0.0"
        },
        {
            "fixed": "7.0.22"
        },
        {
            "introduced": "8.0.0"
        },
        {
            "fixed": "8.0.12"
        }
    ]
}

Affected versions

r6.*
r6.0.0
r6.0.1
r6.0.1-rc0
r6.0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.2
r8.0.3
r8.0.4
r8.0.4-rc0
r8.0.5
r8.0.5-rc0
r8.0.5-rc1
r8.0.5-rc2
r8.0.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-10060.json"