Uncontrolled Search Path Element Affecting mongodb package, versions [6.0.0-alpha, 6.0.25-rc0)[7.0.0-alpha, 7.0.21-rc0)[8.0.0-alpha, 8.0.5-rc0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (3rd 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-14625440
  • published28 Dec 2025
  • disclosed15 Sept 2025
  • creditUnknown

Introduced: 15 Sep 2025

CVE-2025-10491  (opens in a new tab)
CWE-427  (opens in a new tab)

How to fix?

Upgrade mongodb to version 6.0.25-rc0, 7.0.21-rc0, 8.0.5-rc0 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Search Path Element. An attacker can exploit this by placing a malicious DLL in the affected directory, which may be loaded at startup, resulting in arbitrary code execution with the privileges of the service account.

CVSS Base Scores

version 4.0
version 3.1