Command Injection Affecting @pnpm/npm-conf package, versions <3.0.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.08% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-PNPMNPMCONF-14897556
  • published8 Jan 2026
  • disclosed7 Jan 2026
  • creditJiyong Yang

Introduced: 7 Jan 2026

CVE-2025-69262  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade @pnpm/npm-conf to version 3.0.2 or higher.

Overview

@pnpm/npm-conf is a Get the npm config

Affected versions of this package are vulnerable to Command Injection via environment variable substitution in .npmrc configuration files with tokenHelper settings. An attacker can execute arbitrary code by controlling environment variables during operations in build environments.

CVSS Base Scores

version 4.0
version 3.1