Skip to content

CVE-2025-6713 MongoDB Server may be susceptible to privilege escalation due to $mergeCursors stage

MediumCVSS 6.5 EPSS 0.59%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
mongodb/mongodb >= 6.0, < 6.0.22; >= 6.0.0, < 6.0.22; >= 7.0, < 7.0.19; >= 7.0.0, < 7.0.19 +2 more 6.0.22, 7.0.19, 8.0.7 Fixed

Affected products

ProductAffected versionsFixed in
mongodb/mongodb >= 6.0, < 6.0.22 6.0.22
mongodb/mongodb >= 7.0, < 7.0.19 7.0.19
mongodb/mongodb >= 8.0, < 8.0.7 8.0.7
mongodb/mongodb >= 6.0.0, < 6.0.22 6.0.22
mongodb/mongodb >= 7.0.0, < 7.0.19 7.0.19
mongodb/mongodb >= 8.0.0, < 8.0.7 8.0.7

References