Description
pnpm is a package manager. Versions 6.25.0 through 10.26.2 have a Command Injection vulnerability when using environment variable substitution in .npmrc configuration files with tokenHelper settings. An attacker who can control environment variables during pnpm operations could achieve Remote Code Execution (RCE) in build environments. This issue is fixed in version 10.27.0.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| pnpm | pnpm | >=6.25.0, < 10.27.0 |
References
- https://github.com/pnpm/pnpm/releases/tag/v10.27.0Product, Release Notes
- https://github.com/pnpm/pnpm/security/advisories/GHSA-2phv-j68v-wwqxExploit, Vendor Advisory
- https://github.com/pnpm/pnpm/security/advisories/GHSA-2phv-j68v-wwqxExploit, Vendor Advisory
Timeline
- Published
- Jan 7, 2026
- Last modified
- Oct 14, 2026
- NVD status
- Analyzed