Path traversal in pnpm - CVE-2026-24131
Published: April 27, 2026
pnpm
Detailed vulnerability description
The vulnerability allows a remote attacker to modify file permissions for arbitrary files.
The vulnerability exists due to path traversal in pkg-manager/package-bins/src/index.ts when processing a package's directories.bin field. A remote attacker can supply a specially crafted package to modify file permissions for arbitrary files.
Only Unix, Linux, and macOS systems are affected. Dotfiles are excluded by the default tinyglobby behavior.