CVE Catalog

CVE-2026-145650

CriticalCVSS 10.0
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

Attackers can overwrite files such as git hooks, leading to code execution.

Recommendation

Upgrade pnpm to version 12.10.0 or later.

Other vulnerabilities in pnpm

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS