{"id":"CVE-2026-145650","summary":"pnpm from 12.0.0 before 12.10.0 Path Traversal via Global Virtual Store Version","details":"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.","aliases":["GHSA-jg5c-8mvg-5wph"],"modified":"2026-12-06T02:02:36.083894523Z","published":"2026-12-06T00:16:47.442Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145650.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145650.json"},{"type":"ADVISORY","url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-jg5c-8mvg-5wph"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145650"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/pnpm-from-12.0.0-before-12.10.0-path-traversal-via-global-virtual-store-version"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pnpm/pnpm","events":[{"introduced":"677a3e11d0b9576a0536d62bb54c310c8cd1326f"},{"fixed":"68112bada403c589d360a22ae0f1c50f8b7ab576"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"12.0.0"},{"fixed":"12.10.0"}],"source":"AFFECTED_FIELD"}]}}],"versions":["v12.9.1","v11.28.4","v12.9.0","v11.28.3","v12.8.2","v12.8.1","v11.28.2","v12.8.0","v11.28.1","pnpr@0.1.0-alpha.14","pnpm@12.8.0","pnpm@11.28.1","v12.7.0","v11.28.0","pnpr@0.1.0-alpha.13","v12.6.0","v11.27.1","v12.5.1","pnpm@12.5.1","v12.5.0","pnpr@0.1.0-alpha.12","v12.4.2","v11.27.0","v12.4.1","pnpr@0.1.0-alpha.11","v12.4.0","v11.26.0","v12.3.4","v12.3.3","v12.3.2","v12.3.1","v12.3.0","v12.2.1","v12.2.0","pnpr@0.1.0-alpha.10","v12.1.0","v11.25.0","pnpr@0.1.0-alpha.9","v12.0.0","pnpr@0.1.0-alpha.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145650.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"}]}