CVE-2025-69262: pnpm vulnerable to Command Injection via environment variable substitution
(updated )
A command injection vulnerability exists in pnpm 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.
References
Code Behaviors & Features
Detect and mitigate CVE-2025-69262 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →