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

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

Published: 2025-07-07 Last update: 2025-10-03 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-6713 is rated Moderate Risk (52.8/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.43%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-6713

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-13 0.32% 0.43% +0.11%
2 2026-05-03 0.06% 0.32% +0.26%
3 2025-12-28 0.06%

Full EPSS history (10 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-6713

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.7 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
3.1 4.0 [email protected]
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 3.6 [email protected]

Weakness enumeration for CVE-2025-6713

OS Trackers for CVE-2025-6713

vendor priority summary link
ubuntu medium CVE-2025-6713 medium priority: Ubuntu including 1 source packages (mongodb), 10 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 5, deferred 4, released 1. https://ubuntu.com/security/CVE-2025-6713

Affected software / configurations for CVE-2025-6713

Vendor Product Version Raw CPE
mongodb mongodb >= 6.0.0, < 6.0.22 cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*
mongodb mongodb >= 7.0.0, < 7.0.19 cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*
mongodb mongodb >= 8.0.0, < 8.0.7 cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*

References for CVE-2025-6713

URL Tags
https://jira.mongodb.org/browse/SERVER-106752 Issue Tracking Vendor Advisory
cvelogic Threat Intelligence