pnpm versions prior to 10.28.2 contain a path traversal vulnerability in the handling of the directories.bin field of packages. This vulnerability allows a malicious package to specify a path outside the package root, causing pnpm to change file permissions (chmod 755) on arbitrary files on Unix-like systems. Windows systems are not affected. The issue is fixed in version 10.28.2.