CVE 6.5 MEDIUM

pnpm: reserved bin name deletes PNPM_HOME during global remove_CVE-2026-55699

6.5 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

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.

Basic Information

ID CVE-2026-55699
Source GitHub_M
Published Jun 25, 2026 at 16:44
Modified Jun 25, 2026 at 17:54

Affected Product

Vendor pnpm
Product pnpm
Version < 10.34.2
Affected Versions pnpm pnpm < 10.34.2
pnpm pnpm >= 11.0.0, < 11.5.3

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.