CVE-2025-69262: pnpm vulnerable to Command Injection via environment variable substitution
Affects pnpmSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 10.27.0 soon.
Data as of 17 Nov 2026, 20:25 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 64% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 10.27.0
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.
What to do
Upgrade pnpm to 10.27.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewpnpmpkg:brew/pnpmOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade pnpm to version 10.27.0 or later to remediate this vulnerability. Since an official fix is available, applying this update is the recommended action.
Description
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.
References
- github.com/pnpm/pnpm/releases/tag/v10.27.0 (opens in a new tab)
- github.com/CVEProject/cvelistV5/tree/main/cves/2025/69xxx/CVE-2025-69262.json (opens in a new tab)
- github.com/pnpm/pnpm/security/advisories/GHSA-2phv-j68v-wwqx (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-69262 (opens in a new tab)