CVE-2025-6713
HIGHMongoDB 6.0.0-6.0.21 - Unauthenticated Data Access via $mergeCursors Stage
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2025-6713. PoCs published by c137req.
AI-analyzed exploit summary This PoC demonstrates an authorization bypass in MongoDB via improper handling of the `$mergeCursors` aggregation stage, allowing unauthorized access to restricted collections. The script sets up test data and executes a malicious aggregation pipeline to leak data from a restricted collection.
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
Exploits (1)
This PoC demonstrates an authorization bypass in MongoDB via improper handling of the `$mergeCursors` aggregation stage, allowing unauthorized access to restricted collections. The script sets up test data and executes a malicious aggregation pipeline to leak data from a restricted collection.
References (1)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N