A vulnerability in pnpm prior to versions 10.34.2 and 11.5.3 allows malicious packages using reserved bin names such as "." or ".." to cause deletion of the PNPM_HOME directory during global package removal. This occurs because these reserved names bypass pnpm's bin-name guard, leading to unintended directory removal. The issue is fixed in versions 10.34.2 and 11.5.3.