CVE-2025-69262
HIGH 7.8CVSS 3.1pnpm vulnerable to Command Injection via environment variable substitution
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.
- Published
- 7 Jan 2026
- Last modified
- 14 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-78CWE-94
- Also known as
- GHSA-2phv-j68v-wwqx
- Sources
- NVDJSONOSV GHSA-2phv-j68v-wwqxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pnpm | pnpmcpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:* |
>= 6.25.0, < 10.27.0 | 10.27.0 |
| OSV | npm | pnpm | >= 6.25.0, < 10.27.0 | 10.27.0 |
References
- https://github.com/pnpm/pnpm/releases/tag/v10.27.0 · Product, Release Notes, WEB
- https://github.com/pnpm/pnpm/security/advisories/GHSA-2phv-j68v-wwqx · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-69262 · ADVISORY
- https://github.com/pnpm/pnpm · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 7 Jan 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 7 Jan 2026)