Vulnerability · Published Jun 25, 2026 · Assigned by GitHub_M
CVE-2026-55699pnpm: reserved bin name deletes PNPM_HOME during global remove
Medium 6.5
In plain English
A medium-severity path traversal in pnpm from pnpm. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | pnpm | 10.34.2 | GHSA-4gxm-v5v7-fqc4 |
| npm | pnpm | 11.5.3 | GHSA-4gxm-v5v7-fqc4 |
Affected products (as reported)
Weakness: CWE-22, CWE-73 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-4gxm-v5v7-fqc4 x_refsource_CONFIRM