Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Pnpm | Pnpm | >= 6.25.0, < 10.27.0 |
Related Weaknesses (CWE)
References
- https://github.com/pnpm/pnpm/releases/tag/v10.27.0ProductRelease Notes
- https://github.com/pnpm/pnpm/security/advisories/GHSA-2phv-j68v-wwqxExploitVendor Advisory
- https://github.com/pnpm/pnpm/security/advisories/GHSA-2phv-j68v-wwqxExploitVendor Advisory
FAQ
What is CVE-2025-69262?
CVE-2025-69262 is a vulnerability with a CVSS score of 7.5 (HIGH). 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. ...
How severe is CVE-2025-69262?
CVE-2025-69262 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-69262?
Check the references section above for vendor advisories and patch information. Affected products include: Pnpm Pnpm.