Untrusted Search Path Affecting @pnpm/fetching.binary-fetcher package, versions <1005.0.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.4% (32nd 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 Learn

Learn about Untrusted Search Path vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-PNPMFETCHINGBINARYFETCHER-15116158
  • published27 Jan 2026
  • disclosed26 Jan 2026
  • creditmldangelo

Introduced: 26 Jan 2026

CVE-2026-23888  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-23  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade @pnpm/fetching.binary-fetcher to version 1005.0.2 or higher.

Overview

@pnpm/fetching.binary-fetcher is a fetcher for binary archives

Affected versions of this package are vulnerable to Untrusted Search Path via the extractZipToTarget function and the use of unvalidated prefix values. An attacker can overwrite arbitrary files on the file system by supplying malicious ZIP archives with crafted paths or by manipulating the prefix field to escape the intended extraction directory.

Note: Exploitation requires the attacker to publish and convince the user to install a malicious package.

CVSS Base Scores

version 4.0
version 3.1