Path traversal in pnpm - #VU134555
Published: June 15, 2026
pnpm
Detailed vulnerability description
The vulnerability allows a remote attacker to overwrite files outside the selected download directory.
The vulnerability exists due to path traversal in pnpm stage download when deriving a local filename from registry-controlled package name and version fields. A remote attacker can supply a crafted manifest to overwrite files outside the selected download directory.
User interaction is required to run the stage download command on the crafted package.