CVE-2025-6711
Medium
Description
An issue has been identified in MongoDB Server where unredacted queries may inadvertently appear in server logs when certain error conditions are encountered. This issue affects MongoDB Server v8.0 versions prior to 8.0.5, MongoDB Server v7.0 versions prior to 7.0.18 and MongoDB Server v6.0 versions prior to 6.0.21.
SeverityMedium
CVSS4.4
Exploit probability—
Product
Mongodb
PublishedJul 7, 2025
First seenJul 7, 2025
Weakness typeCWE-532CWE-532
How to fix
Update
- mongodb mongodb6.0.21, 7.0.18, 8.0.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mongodb mongodb | 6.0.0 ≤ v < 6.0.21, 7.0.0 ≤ v < 7.0.18, 8.0.0 ≤ v < 8.0.5 | 6.0.21, 7.0.18, 8.0.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.