Inclusion of Functionality from Untrusted Control Sphere in pnpm - #VU134552
Published: June 15, 2026
pnpm
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to inclusion of functionality from an untrusted control sphere in pnpm configDependencies / pacquet delegation when processing a repository-controlled pnpm-workspace.yaml and running dependency-management commands. A remote attacker can declare pacquet or @pnpm/pacquet as a config dependency so that pnpm resolves and spawns a platform-specific native binary to execute arbitrary code.
User interaction is required to run a dependency-management command such as pnpm install in the repository.