Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. pnpm
  4. ›
  5. CVE-2026-55699

CVE-2026-55699: pnpm: Reserved bin name deletes PNPM_HOME during global remove

June 26, 2026

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

  • github.com/advisories/GHSA-4gxm-v5v7-fqc4
  • github.com/pnpm/pnpm/security/advisories/GHSA-4gxm-v5v7-fqc4
  • nvd.nist.gov/vuln/detail/CVE-2026-55699

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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 10.34.2, all versions starting from 11.0.0 before 11.5.3

Fixed versions

  • 10.34.2
  • 11.5.3

Solution

Upgrade to versions 10.34.2, 11.5.3 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-73: External Control of File Name or Path

Source file

npm/pnpm/CVE-2026-55699.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:25 +0000.