Unsafe Dependency Resolution Affecting @pnpm/config package, versions <1004.11.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.13% (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-JS-PNPMCONFIG-17875561
  • published7 Jul 2026
  • disclosed25 Jun 2026
  • creditUnknown

Introduced: 25 Jun 2026

NewCVE-2026-55697  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

Upgrade @pnpm/config to version 1004.11.3 or higher.

Overview

Affected versions of this package are vulnerable to Unsafe Dependency Resolution in the handling of configDependencies from pnpm-workspace.yaml, where installDeps.ts resolves and spawns a repository-selected native install engine without verifying that the repository is authorized to choose one. An attacker can execute a registry-selected native binary with the victim's filesystem, environment, registry and git or SSH credentials, and network access by publishing a repository that declares pacquet or @pnpm/pacquet in configDependencies, which is then run from node_modules/.pnpm-config. Exploitation requires the victim to run a dependency-management command such as pnpm install in the malicious repository.

CVSS Base Scores

version 4.0
version 3.1