CVE-2025-6707 | Race condition in privilege cache invalidation cycle

Under certain conditions, an authenticated user request may execute with stale privileges following an intentional change by an authorized administrator. This issue affects MongoDB Server v5.0 version prior to 5.0.31, MongoDB Server v6.0 version prior to 6.0.24, MongoDB Server v7.0 version prior to 7.0.21 and MongoDB Server v8.0 version prior to 8.0.5.

Published: 2025-06-26 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-6707 is rated Low Risk (18.1/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.14%). Mandatory action: Low composite risk—no urgent action required; patch on your normal maintenance cycle and revisit priority if CVSS or EPSS increases.

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-6707

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-06-15 0.18% 0.14% -0.04%
2 2026-04-22 0.06% 0.18% +0.12%
3 2026-03-12 0.06%

Full EPSS history (8 records total)

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

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.2 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/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:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
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:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
1.6 2.5 [email protected]
5.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/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:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.5 [email protected]

Weakness enumeration for CVE-2025-6707

OS Trackers for CVE-2025-6707

vendor priority summary link
ubuntu medium CVE-2025-6707 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, not-affected 4, released 1. https://ubuntu.com/security/CVE-2025-6707

Affected software / configurations for CVE-2025-6707

Vendor Product Version Raw CPE
mongodb mongodb >= 5.0.0, < 5.0.31 cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
mongodb mongodb >= 6.0.0, < 6.0.24 cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
mongodb mongodb >= 7.0.0, < 7.0.21 cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
mongodb mongodb >= 8.0.0, < 8.0.5 cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*

References for CVE-2025-6707

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