Description
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.
Affected products
pnpm: pnpm
References2
- github.com/pnpm/pnpm/security/advisories/GHSA-3qhv-2rgh-x77r ExploitVendor Advisory
- github.com/pnpm/pnpm/security/advisories/GHSA-3qhv-2rgh-x77r ExploitVendor Advisory
Metrics
- CVSS 3.1
-
6.5
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - EPSS — exploit probability
- 0% percentile: 31 · as of 16 November 2026
- CWE
- CWE-200CWE-201CWE-522
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.