Path traversal in pnpm - CVE-2026-59196
Published: June 23, 2026
Vulnerability details
The vulnerability allows a remote attacker to overwrite files within the hoisted node_modules layout.
The vulnerability exists due to path traversal in hoisted lockfile alias handling when processing a crafted lockfile during a hoisted install. A remote attacker can supply a specially crafted lockfile alias to overwrite files within the hoisted node_modules layout.
User interaction is required to process the crafted lockfile.