CVE-2025-6713

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

State
Published
Severity
7.7 High
Published
Jul 7, 2025
Updated
Jul 18, 2025
Reserved
Jun 26, 2025

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
3.17.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:Nmongodb

Weaknesses

Affected Products

ProductVersions
MongoDB ServerMongoDB Inc
  • 6.0 to before 6.0.22Affected
  • 7.0 to before 7.0.19Affected
  • 8.0 to before 8.0.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.