CVE-2025-69262Published Jan 7, 2026 · Jan 7Updated Oct 28
pnpm vulnerable to Command Injection via environment variable substitution
pnpm
High7.6Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pnpm npm |
|
|
Original 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.
From the CVE record · GitHub_M