CVE-2026-9751 Sensitive data could be written to mongod.log

Medium 6.8 Published Updated

Attackers with runtime command access can expose LDAP passwords in plain text within MongoDB server logs.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-9751?

CVE-2026-9751 is a medium-severity vulnerability in Mongodb Mongodb, published on 9 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The ldapQueryPassword parameter, when set through the runtime setParameter command, will log the new password to the mongod.log file in plain text.

Weakness: CWE-532

Which versions are affected by CVE-2026-9751?

1 open source package ship an affected version, including mongodb. It affects 1 product.

PackageAffectedFixed in
mongodb BitnamiFrom 7.0.07.0.35, 8.0.24, 8.2.10, 8.3.3

Products include Mongodb Mongodb.

How do I fix CVE-2026-9751?

Upgrade mongodb to a fixed version for your release line: 7.0.35, 8.0.24, 8.2.10 or 8.3.3.

Is CVE-2026-9751 being exploited?

There is no known exploitation of CVE-2026-9751 in the wild and no public exploit code.

All Mongodb Mongodb vulnerabilities

Sources

Also known as BIT-mongodb-2026-9751, GHSA-52qm-pr2g-7h6x, MINI-28xq-g5qf-vc8x, MINI-85xh-g6gm-mc26, MINI-jx4m-p7hv-v6vx, MINI-vxvp-wrc4-5qpj and 1 more.

Is CVE-2026-9751 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free