CVE-2026-145650

10.0Critical

Published Dec 6, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

10.0CVSS

Critical

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-22

What an attacker gets

Remote attackers can achieve code execution by overwriting files like git hooks. This requires the enable-global-virtual-store setting to be active.

Root cause

The package manager fails to validate version strings in manifests, allowing path traversal when building virtual store paths.

Affected versions

pnpm 12.0.0 through 12.9.x

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Fix & remediation

Upgrade to pnpm 12.10.0 or later. If you cannot upgrade immediately, set enable-global-virtual-store to false in your .npmrc file.

remediation — bash
$ npm install -g pnpm@12.10.0

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-145650

More fully triaged vulnerabilities you may want to check next.