What’s Vulnerable › Vulnerabilities
CVE-2026-9751: Sensitive data could be written to mongod.log
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-09 · updated 2026-07-23
- Weakness: CWE-532
Description
The ldapQueryPassword parameter, when set through the runtime setParameter command, will log the new password to the mongod.log file in plain text.
Affected products
- MongoDB: from 7.0.0 before 7.0.35; from 8.0.0 before 8.0.24; from 8.2.0 before 8.2.10; from 8.3.0 before 8.3.3 — fixed in 7.0.35, 8.0.24, 8.2.10, 8.3.3
How to fix
Upgrade to a fixed version: MongoDB 7.0.35, 8.0.24, 8.2.10, 8.3.3. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-9751 or the next vulnerability affects your stack