Unsafe Dependency Resolution The advisory has been revoked - it doesn't affect any version of package pnpm  (opens in a new tab)


Threat Intelligence

EPSS
0.3% (22nd 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-17661055
  • published28 Jun 2026
  • disclosed26 Jun 2026
  • creditUnknown

Introduced: 26 Jun 2026

CVE-2026-55698  (opens in a new tab)
CWE-345  (opens in a new tab)
CWE-494  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

Upgrade pnpm to version 10.34.2, 11.5.3 or higher.

Amendment

This was deemed not a vulnerability.

Overview

pnpm is a Fast, disk space efficient package manager

Affected versions of this package are vulnerable to Unsafe Dependency Resolution via the switchCliVersion process. An attacker can execute arbitrary code with the privileges of the victim user by committing a crafted env lockfile in a malicious repository, which is then trusted and executed during automatic package-manager version switching.