Vulnerability record · brew
pnpm from 12.0.0 before 12.10.0 Path Traversal via Global Virtual Store Version
brew
What it fixes
pnpm from 12.0.0 before 12.10.0 contains a path traversal vulnerability that allows malicious dependencies to write files outside the store via a crafted manifest version string. When enable-global-virtual-store is enabled, fresh or resolving installs build slot paths from the unvalidated version, letting attackers overwrite files such as git hooks for code execution.
Manual fix · brew
Sources