CVE-2024-7553 Accessing Untrusted Directory May Allow Local Privilege Escalation

High 7.3 Published Updated

Local attackers on Windows can escalate privileges by placing malicious files in an untrusted directory loaded by MongoDB.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-7553?

CVE-2024-7553 is a high-severity vulnerability in Mongodb Mongodb, published on 7 Aug 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Incorrect validation of files loaded from a local untrusted directory may allow local privilege escalation if the underlying operating systems is Windows. This may result in the application executing arbitrary behaviour determined by the contents of untrusted files. This issue affects MongoDB Server v5.0 versions prior to 5.0.27, MongoDB Server v6.0 versions prior to 6.0.16, MongoDB Server v7.0 versions prior to 7.0.12, MongoDB Server v7.3 versions prior 7.3.3, MongoDB C Driver versions prior to 1.26.2 and MongoDB PHP Driver versions prior to 1.18.1.

Required Configuration:

Only environments with Windows as the underlying operating system is affected by this issue

Weakness: CWE-284

Which versions are affected by CVE-2024-7553?

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

PackageAffectedFixed in
mongodb BitnamiFrom 5.0.05.0.27, 6.0.16, 7.0.12

Products include Mongodb C Driver, Mongodb Mongodb, Mongodb Php Driver.

How do I fix CVE-2024-7553?

Upgrade mongodb to a fixed version for your release line: 5.0.27, 6.0.16 or 7.0.12.

Is CVE-2024-7553 being exploited?

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

All Mongodb Mongodb vulnerabilities

Sources

Also known as BIT-mongodb-2024-7553, GHSA-5m47-pw5x-gvrc, JLSEC-2026-180, UBUNTU-CVE-2024-7553.

Is CVE-2024-7553 in your software?

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

Check your SBOMs for free