CVE-2025-6713

published 7 Jul 2025 · updated 18 Jul 2025

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

7.7HighCVSS 7.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Server 6.0.22, Server 7.0.19 and Server 8.0.7.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=6.0 <6.0.22, >=7.0 <7.0.19, >=8.0 <8.0.76.0.22, 7.0.19, 8.0.7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-6713 severity on Zeptric[![CVE-2025-6713](https://zeptric.io/badge/cve/CVE-2025-6713.svg)](https://zeptric.io/cve/CVE-2025-6713)