CVE-2025-69262 json
pnpm vulnerable to Command Injection via environment variable substitution
published 10mo ago modified 26d ago also EUVD-2026-1159 , GHSA-2phv-j68v-wwqx
- cvss
- 7.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm pnpm 10.27.0
- pnpm pnpm 10.27.0
- pnpm Alpine 3.23 10.33.4-r0
alpine advisories ALPINE-CVE-2025-69262
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2025-69262 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-69262 updated cvss 7.5
pnpm: pnpm: Remote code execution via command injection in tokenHelper environment variable substitution
-
Red Hat JBoss Enterprise Application Platform 8 org.keycloak-keycloak-parent Red Hat JBoss Enterprise Application Platform Expansion Pack org.keycloak-keycloak-parentnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 10mo ago
Exploit prediction
1.04% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/pnpm/pnpm/security/advisories/GHSA-2phv-j68v-wwqx referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.6 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | pnpm | >=6.25.0, <10.27.0 |
10.27.0 |
Affected products
- pnpm pnpm
Classification
References
-
github.com
/pnpm/pnpm/security/advisories/GHSA-2phv-j68v-wwqx
exploit, web, vendor-advisory
-
github.com
/pnpm/pnpm/releases/tag/v10.27.0
web, product, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2025-69262
advisory
-
github.com
/pnpm/pnpm
package
Sources
- CVE List CVE-2025-69262
- GitHub Advisory GHSA-2phv-j68v-wwqx
- NVD CVE-2025-69262
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.