CVE-2025-6713 is an authorization flaw in MongoDB Server that affects the aggregation framework’s handling of the $mergeCursors stage. An unauthorized user can submit a specially crafted aggregation pipeline that abuses improper authorization handling during cursor merging, allowing access to data without the required authorization checks being correctly enforced. The issue is described as a role-based access control bypass in distributed aggregation execution. Affected versions are MongoDB Server 8.0 before 8.0.7, 7.0 before 7.0.20, and 6.0 before 6.0.22.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a proof-of-concept exploit for CVE-2025-6713, a vulnerability in MongoDB (versions >6.0 <6.0.22, >7.0 <7.0.19, >8.0 <8.0.7) related to improper authorization handling in the $mergeCursors aggregation stage. The main file, CVE-2025-6713.py, demonstrates how an attacker can craft an aggregation pipeline to merge data from a restricted collection into a public collection, thereby bypassing access controls and reading sensitive data. The script sets up test data, connects to a MongoDB instance (defaulting to localhost:27017), and executes the malicious pipeline. The README provides setup and usage instructions, including how to configure the script for different database environments. The exploit requires network access to a vulnerable MongoDB instance and is written in Python, using the pymongo library. The repository is structured with a single exploit script, a README, a license, and a requirements file.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A critical MongoDB aggregation vulnerability that allows unauthorized data access by bypassing RBAC, mentioned as part of the broader MongoDB vulnerability trend.
An authorization bypass vulnerability in MongoDB's $mergeCursors aggregation stage that can allow unauthorized data access by bypassing role-based access controls during distributed query execution.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.