Uncontrolled Search Path Element Affecting mongodb package, versions [5.0.0, 5.0.27)[6.0.0, 6.0.16)[7.0.0, 7.0.12)[7.3.0, 7.3.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-MONGODB-14606794
  • published25 Dec 2025
  • disclosed7 Aug 2024
  • creditUnknown

Introduced: 7 Aug 2024

CVE-2024-7553  (opens in a new tab)
CWE-427  (opens in a new tab)

How to fix?

Upgrade mongodb to version 5.0.27, 6.0.16, 7.0.12, 7.3.3 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Search Path Element due to incorrect validation of files loaded from a local untrusted directory on Windows systems. An attacker can exploit this by placing crafted files in the untrusted directory, causing the application to execute attacker-controlled behavior and potentially escalate privileges on the local system.

CVSS Base Scores

version 4.0
version 3.1