p PatchFirst

CVE-2026-59196

CVE-2026-59196 · pnpm: hoisted install imports lockfile alias outside node_modules

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

pnpm is a package manager. Prior to 10.34.4 and 11.7.0, a crafted lockfile alias could be joined directly under a hoisted node_modules directory. Traversal aliases could escape that directory, while reserved aliases such as .bin or .pnpm could overwrite pnpm-owned layout. This vulnerability is fixed in 10.34.4 and 11.7.0.

CVSS 7.1 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • pnpm

    Versions
    • < 10.34.4: Affected
    • >= 11.0.0, < 11.7.0: Affected

    No fix published

  • pnpm npm

    Affected ranges
    • SEMVER: < 10.34.4

    Update to 10.34.4

  • pnpm npm

    Affected ranges
    • SEMVER: ≥ 11.0.0, < 11.7.0

    Update to 11.7.0

Original sources

Check your server →