Skip to main content
← All vulnerabilities
CVE-2025-10060

MongoDB may be susceptible to Invariant Failure in Transactions due Upsert Operation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.0.25, 7.0.22, 8.0.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MongoDB Inc MongoDB Server

    From 6.0 · fixed in 6.0.25; From 7.0 · fixed in 7.0.22; From 8.0 · fixed in 8.0.12

References 1

jira.mongodb.org