CVE-2025-69262 Details
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.
A command injection vulnerability has been identified in pnpm, a package manager, affecting versions 6.25.0 prior to 10.27.0. The issue arises when environment variable substitution is used in .npmrc files with tokenHelper settings. An attacker who can manipulate environment variables during pnpm operations could execute arbitrary code in build environments.
Users can update to pnpm version 10.27.0 or later, where this vulnerability has been patched. Alternatively, tokenHelper settings can be disabled or replaced with direct authentication tokens for npm registries.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/pnpm/pnpm/security/advisories/GHSA-2phv-j68v-wwqx | CISA-ADP | ExploitVendor Advisory |
| https://github.com/pnpm/pnpm/releases/tag/v10.27.0 | [email protected] | ProductRelease Notes |
| https://github.com/pnpm/pnpm/security/advisories/GHSA-2phv-j68v-wwqx | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pnpm pnpm | >= 6.25.0, < 10.27.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Translated | [email protected] |
| Jun 22, 2026 | Modified Analysis | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 12, 2026 | Initial Analysis | [email protected] |
| Jan 8, 2026 | CVE Modified | CISA-ADP |
| Jan 7, 2026 | New CVE Received | [email protected] |