RCE in Pnpm

CVE-2025-69262

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.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.011 (63.1th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 63rd percentile — 63.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-69262: held from 0.010 to 0.011.

EPSS over last 30 days · oldest: 0.010 · newest: 0.011 · change: +0.001

Affected products

  • Pnpm — versions >=6.25.0, < 10.27.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-69262?
CVE-2025-69262 is a high-severity vulnerability in Pnpm, classified under OS Command Injection. CVSS score: 7.5/10. Published 2026-01-07.
How severe is CVE-2025-69262?
High severity. CVSS v3 base score is 7.5 out of 10.