Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| pnpm | pnpm | < 10.34.2; >= 11.0.0, < 11.5.3 |
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-4gxm-v5v7-fqc4Exploit, Vendor Advisory
- https://github.com/pnpm/pnpm/security/advisories/GHSA-4gxm-v5v7-fqc4Exploit, Vendor Advisory
Timeline
- Published
- Jun 25, 2026
- Last modified
- Jun 29, 2026
- NVD status
- Analyzed