CVE-2025-6713: MongoDB Server may be susceptible to privilege escalation due to $mergeCursors stage
Vulnerability summary
CVE-2025-6713 is a high (CVSS 7.7) Improper Authorization vulnerability in mongodb inc mongodb server. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 43.6% of scored vulnerabilities.
Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 07-07-2025PublishedVulnerability first disclosed.
- 18-07-2025Last modifiedVulnerability information updated.
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
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NDiffers
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
0.49%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.47% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Mongodb1 product
- mongodb≥ 6.0.0, < 6.0.22 | ≥ 7.0.0, < 7.0.19 | ≥ 8.0.0, < 8.0.7
Mongodb inc1 product
- mongodb server≥ 6.0, < 6.0.22 | ≥ 7.0, < 7.0.19 | ≥ 8.0, < 8.0.7
Ubuntu1 product
- mongodbAll versions (No fix recorded)
3 vendors · 3 products