p PatchFirst

CVE-2026-55699

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.5 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • pnpm

    Versions
    • < 10.34.2: Affected
    • >= 11.0.0, < 11.5.3: Affected

    No fix published

  • pnpm npm

    Affected ranges
    • SEMVER: < 10.34.2

    Update to 10.34.2

  • pnpm npm

    Affected ranges
    • SEMVER: ≥ 11.0.0, < 11.5.3

    Update to 11.5.3

Original sources

Check your server →