Improper Authorization in MongoDB - CVE-2025-6713
Published: July 11, 2025 / Updated: August 30, 2025
Vulnerability identifier: #VU112851
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-6713
CWE-ID: CWE-285
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a remote attacker to bypass authorization checks.
The vulnerability exists due to improper handling of the $mergeCursors stage. A remote user can use a specially crafted aggregation pipeline to access data on the target system.
Affected software
MongoDB
How to mitigate CVE-2025-6713
Install updates from vendor's website.
MongoDB - addressed in versions 6.0.22, 7.0.20, 8.0.7