MongoDB Inc MongoDB Server
MongoDB Server may be susceptible to privilege escalation due to $mergeCursors stage
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 6.0, < 6.0.22
- >= 7.0, < 7.0.19
- >= 8.0, < 8.0.7
Fixed in 6.0.22, 7.0.19, 8.0.7
Mitigation
Upgrade MongoDB Server to 6.0.22 or 7.0.19 or 8.0.7 or later.
Timeline
Days relative to CVE publicationFirst public PoC 47 days after publication; not in CISA KEV. First PoC: c137req/CVE-2025-6713 (created 23 Aug 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| c137req/CVE-2025-6713 | 23 Aug 2025 +47 d | 1 | PoC via PoC Index
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.