CVE-2026-82392
Published:August 31, 2026
Updated:September 24, 2026
pnpm is a package manager. Prior to 10.34.5 and from 11.0.0 until 11.11.0, pnpm parses the package name from attacker-controlled pnpm-lock.yaml packages keys with dp.parse(depPath).name and uses it without validation in deps/graph-builder/src/lockfileToDepGraph.ts and pnpm11/deps/graph-builder/src/lockfileToDepGraph.ts. The name reaches path.join(modules, pkgName), storeController.importPackage, and pnpm11/lockfile/to-pnp/src/index.ts, allowing package contents to be written outside node_modules when a user runs pnpm install. When dangerouslyAllowAllBuilds or a matching allowBuilds entry permits lifecycle scripts, the escaped package can execute code with the user's privileges. This issue is fixed in versions 10.34.5 and 11.11.0.
Affected Packages
https://github.com/pnpm/pnpm.git (GITHUB):
Affected version(s) >=v0.20.0 <v10.34.5Fix Suggestion:
Update to version v10.34.5https://github.com/pnpm/pnpm.git (GITHUB):
Affected version(s) >=v11.0.0 <v11.11.0Fix Suggestion:
Update to version v11.11.0pnpm (NPM):
Affected version(s) >=11.0.0 <11.11.0Fix Suggestion:
Update to version 11.11.0pnpm (NPM):
Affected version(s) >=0.0.0-pr4475.1 <10.34.5Fix Suggestion:
Update to version 10.34.5pnpm (NPM):
Affected version(s) >=0.0.1 <10.34.5Fix Suggestion:
Update to version 10.34.5Related Resources (10)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.40