CVE-2024-7553 Accessing Untrusted Directory May Allow Local Privilege Escalation
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.
| Package | Affected | Fixed in |
|---|---|---|
mongodb Bitnami | From 5.0.0 | 5.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.
Other vulnerabilities in Mongodb Mongodb
- CVE-2026-93393 Heap overflow via oversized decrypted TLS record sequence in Windows Secure Channel stream
- CVE-2026-6691 MongoDB C Driver Cyrus SASL Canonicalization Buffer Overflow
- CVE-2026-84964 Heap corruption via OCSP request double free from crafted multi-URL certificate in TLS client
- CVE-2026-93395 Integer Underflow → Heap Out-of-Bounds Read in `bson_new_from_buffer()
- CVE-2025-12119 Bulk write with options may read invalid memory
Sources
Also known as BIT-mongodb-2024-7553, GHSA-5m47-pw5x-gvrc, JLSEC-2026-180, UBUNTU-CVE-2024-7553.