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

MongoDB Server may be susceptible to privilege escalation due to $mergeCursors stage

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.0.22, 7.0.19, 8.0.7
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

An unauthorized user may leverage a specially crafted aggregation pipeline to access data without proper authorization due to improper handling of the $mergeCursors stage in MongoDB Server. This may lead to access to data without further authorisation. This issue affects MongoDB Server MongoDB Server v8.0 versions prior to 8.0.7, MongoDB Server v7.0 versions prior to 7.0.19 and MongoDB Server v6.0 versions prior to 6.0.22

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.22; From 7.0 · fixed in 7.0.19; From 8.0 · fixed in 8.0.7

References 2

jira.mongodb.org

GitHub · c137req/CVE-2025-6713