Auth bypass in MongoDB
CVE-2025-6713
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
EPSS: 0.003 (26.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N.
Affected products
- Mongodb
- Mongodb Inc Server — versions 6.0, 7.0, 8.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cna@mongodb.com (Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2025-6713?
- CVE-2025-6713 is a high-severity vulnerability in MongoDB, classified under Improper Authorization. CVSS score: 7.7/10. Published 2025-07-07.
- How severe is CVE-2025-6713?
- High severity. CVSS v3 base score is 7.7 out of 10.
- Is CVE-2025-6713 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.