{"id":"CVE-2026-55699","published":"2026-06-25T16:44:32Z","modified":"2026-06-25T17:54:16Z","title":"pnpm: reserved bin name deletes PNPM_HOME during global remove","vendor":"pnpm","product":"pnpm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0045,"percentile":0.39991,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-4gxm-v5v7-fqc4","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":8.0},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"pnpm","affectedVersions":[{"vendor":"pnpm","product":"pnpm","versions":["< 10.34.2",">= 11.0.0, < 11.5.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-25T17:54:13.594963Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"pnpm","vulnerableRanges":["<10.34.2",">=11.0.0, <11.5.3"],"patched":["10.34.2","11.5.3"],"from":["GHSA-4gxm-v5v7-fqc4"],"provenance":"source"}],"summary":{"text":"pnpm, the JavaScript package manager, has a flaw in its bin-name guard that lets reserved names such as \"\", \".\", and \"..\" pass validation, so that when a malicious package is installed globally, later global remove, update, or add-replacement operations can delete files at the global bin directory or its parent. An attacker who can get a malicious package installed globally can cause this deletion, but it requires user interaction, since a user must perform a later global remove, update, or replacement flow.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:08Z"},"euvd":{"id":"EUVD-2026-39485","exploited":false,"provenance":"source"}}