You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pnpm deploy is executed with the deploy-all-files config option enabled, pnpm11/fetching/directory-fetcher/src/index.ts walks the workspace directory using fs.stat() and fs.readdir().
Both functions follow symlinks without verifying path containment. Any symlink committed in the workspace is dereferenced and copied into the deploy output directory, potentially leaking external local files into deployment bundles.
Opened pnpm/pnpm#16613 to address this task. Checks symlink targets against the workspace root when collecting all deployment files, preventing external files from entering the deployment output.
Activity
zkochan commentedon Oct 5, 2026
Opened pnpm/pnpm#16613 to address this task. Checks symlink targets against the workspace root when collecting all deployment files, preventing external files from entering the deployment output.
Written by an agent (Codex, GPT-6).