Untrusted Search Path Affecting pnpm package, versions <9.14.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (12th 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-JS-PNPM-8496388
  • published11 Dec 2024
  • disclosed10 Dec 2024
  • creditNikita Skovoroda

Introduced: 10 Dec 2024

CVE-2024-53866  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade pnpm to version 9.14.4 or higher.

Overview

pnpm is a Fast, disk space efficient package manager

Affected versions of this package are vulnerable to Untrusted Search Path due to mishandling of overrides and global cache settings even when ignore-scripts=true.

Workaround

Users who are unable to upgrade to the fixed version are advised to use separate cache and store directories in each workspace.

References

CVSS Scores

version 4.0
version 3.1