CVE-2026-145650: Vulnerability in Pnpm
Critical. 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.
CWE-22
- Exploitation
- None confirmed
- Severity
- 10 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-385w-h9pq-mg7q
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-22
- Published
- 6 Dec 2026
- Last change
- 6 Dec 2026
Affected products
Affected versions and the first fixed release
- Pnpm From 12.0.0 before 12.10.0. Fixed in 12.10.0
Advisories
Vendor and security advisories
- github.com/pnpm/pnpm/security/advisories/GHSA-jg5c-8mvg-5wph
- vulncheck.com/advisories/pnpm-from-12.0.0-before-12.10.0-path-traversal-via-global-virt...
Related
- Pnpm vulnerabilities Recent advisories, watch this product