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

- Severity: High 7.7 (CVSS:3.1, scored by mongodb) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2025-07-07T14:46:36.201Z
- Modified: 2026-09-10T16:01:43.320Z
- Also known as: BIT-MONGODB-2025-6713
- Weaknesses: CWE-285
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## 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

(As written by CVE List.)

## Affected

- MongoDB Inc MongoDB Server: from 6.0 before 6.0.22; from 7.0 before 7.0.19; from 8.0 before 8.0.7
- mongodb mongodb: from 6.0.0 before 6.0.22; from 7.0.0 before 7.0.19; from 8.0.0 before 8.0.7
- mongodb (Bitnami): from 6.0.0 before 6.0.22; from 7.0.0 before 7.0.19; from 8.0.0 before 8.0.7

## Every score

- mongodb: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://jira.mongodb.org/browse/SERVER-106752> (advisory, issue-tracking, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-6713> (web)

## Sources

- CVE List: [CVE-2025-6713](https://www.cve.org/CVERecord?id=CVE-2025-6713), CVE Terms of Use, modified 2025-07-18
- NVD: [CVE-2025-6713](https://nvd.nist.gov/vuln/detail/CVE-2025-6713), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MONGODB-2025-6713](https://osv.dev/vulnerability/BIT-MONGODB-2025-6713), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2025-6713 · Whole record: https://cve.day/CVE-2025-6713.json · Rebuilt by cve.day 2026-11-25T22:59:00.728Z
