CVE-2026-55699
MEDIUM 6.5CVSS 3.1pnpm: Reserved bin name deletes PNPM_HOME during global remove
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.
- Published
- 25 Jun 2026
- Last modified
- 29 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22CWE-73
- Also known as
- GHSA-4gxm-v5v7-fqc4
- Sources
- NVDJSONOSV GHSA-4gxm-v5v7-fqc4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pnpm | pnpmcpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:* |
< 10.34.2 | 10.34.2 |
| NVD | pnpm | pnpmcpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:* |
>= 11.0.0, < 11.5.3 | 11.5.3 |
| OSV | npm | pnpm | < 10.34.2 | 10.34.2 |
| OSV | npm | pnpm | >= 11.0.0, < 11.5.3 | 11.5.3 |
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-4gxm-v5v7-fqc4 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-55699 · ADVISORY
- https://github.com/pnpm/pnpm · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 26 Jun 2026)