pnpm versions 6.25.0 through 10.26.2 are affected by a command injection vulnerability via environment variable substitution in .npmrc configuration files with tokenHelper settings. This flaw allows an attacker with control over environment variables during pnpm operations to execute remote code in build environments. The vulnerability is fixed in version 10.27.0.