CVE-2026-55699: pnpm: Reserved bin name deletes PNPM_HOME during global remove
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.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-55699 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →