CVE-2025-69262
pnpm vulnerable to Command Injection via environment variable substitution
CVSS Score
7.6
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-78 CWE-94 |
| Vendor | pnpm |
| Product | pnpm |
| Published | Jan 7, 2026 |
| Last Updated | Feb 26, 2026 |
Stay Ahead of the Next One
Get instant alerts for pnpm pnpm
Be the first to know when new high vulnerabilities affecting pnpm pnpm are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
pnpm / pnpm
>=6.25.0, < 10.27.0