High severityOSV Advisory· Published Jan 7, 2026· Updated Feb 26, 2026
pnpm vulnerable to Command Injection via environment variable substitution
CVE-2025-69262
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pnpmnpm | >= 6.25.0, < 10.27.0 | 10.27.0 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-2phv-j68v-wwqxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-69262ghsaADVISORY
- github.com/pnpm/pnpm/releases/tag/v10.27.0ghsax_refsource_MISCWEB
- github.com/pnpm/pnpm/security/advisories/GHSA-2phv-j68v-wwqxghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.