CVE-2025-6707

published 26 Jun 2025 · updated 26 Feb 2026

Race condition in privilege cache invalidation cycle

4.2MediumCVSS 4.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Server 5.0.31, Server 6.0.24, Server 7.0.21 and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=5.0 <5.0.31, >=6.0 <6.0.24, >=7.0 <7.0.21, >=8.0 <8.0.55.0.31, 6.0.24, 7.0.21, 8.0.5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-6707 severity on Zeptric[![CVE-2025-6707](https://zeptric.io/badge/cve/CVE-2025-6707.svg)](https://zeptric.io/cve/CVE-2025-6707)