Vulnerability
CVE-2026-55180
pnpm is a package manager. Prior to 10.34.2 and 11.5.3, pnpm and pacquet expanded ${ENV_VAR} placeholders from repository-controlled .npmrc and pnpm-workspace.yaml into registry request destinations and registry credentials. A malicious repository could cause dependency resolution to send victim environment secrets to an attacker-selected registry before lifecycle scripts run. This vulnerability is fixed in 10.34.2 and 11.5.3.
5 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-4wxh-fqq6-r9c3
- CGA-q2x9-2565-98vq
- CGA-qcxq-65jw-36xg
- CGA-qfxr-2rc5-r4xj
-
GHSA-3qhv-2rgh-x77r
pnpm: Repository config can expand victim environment secrets into registry requests before scripts run