Path Traversal in Pnpm
CVE-2026-55699
pnpm is a package manager. Prior to 10.34.2 and 11.5.3, Manifest bin object keys such as "", ".", and ".." passed pnpm's bin-name guard. When a malicious package was installed globally, later global remove, update, or add-replacement flows could re-derive those names from the installed manifest and pass path.join(globalBinDir, binName) to removeBin. For "." this targets the global bin directory; for ".." this targets its parent. This vulnerability is fixed in 10.34.2 and 11.5.3.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.004, 39.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Pnpm — versions < 10.34.2, >= 11.0.0, < 11.5.3
Weakness classification (CWE)
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-4gxm-v5v7-fqc4 (Exploit, Vendor Advisory)