pnpm versions 10.0.0 through 10.25 contain a vulnerability that allows git-hosted dependencies to execute arbitrary code during installation by bypassing the default disablement of dependency lifecycle scripts. This occurs because git dependencies can run prepare, prepublish, and prepack scripts during the fetch phase. The issue is fixed in pnpm version 10.26.0.