Skip to content

MongoDB Server

Accessing Untrusted Directory May Allow Local Privilege Escalation

CVE-2024-7553Published 7 Aug 2024, 09:57 UTC

Real-world risk

3.0/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.3

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from mongodb)

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

Am I affected?

ProductAffected versions (from the sources)Fixed in
MongoDB ServerWidespread>= 5.0, < 5.0.27; >= 6.0, < 6.0.16; >= 7.0, < 7.0.12; >= 7.3, < 7.3.35.0.27, 6.0.16, 7.0.12, 7.3.3
C DriverCommon< 1.26.21.26.2
PHP DriverNiche< 1.18.11.18.1

What to do

Update to a fixed version: 5.0.27, 6.0.16, 7.0.12, 7.3.3, 1.26.2, 1.18.1.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.3% chance of exploitation in 30 days (percentile 19), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.350
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.35 × threat 0.852.975
  4. Rounded to one decimal between 0.1 and 103.0

How the score works

Exploitation and evidence timeline

  1. 7 Aug 2024 Published
  2. 3 Dec 2026 Risk 3.0 (cvss fallback)

Weakness

CWE-284

References

Get alerts for MongoDB Server

Free email or text alerts when a vulnerability in MongoDB Server reaches risk 8 or higher. Nothing else.