PT-2026-84039 · Pnpm · Pnpm

CVE-2026-82392

·

Published

2026-08-31

·

Updated

2026-09-02

CVSS v3.1

7.1

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
Name of the Vulnerable Software and Affected Versions pnpm versions prior to 10.34.5 pnpm versions 11.0.0 through 11.10.0
Description pnpm improperly parses package names from the pnpm-lock.yaml file using the dp.parse(depPath).name function without sufficient validation. This occurs within deps/graph-builder/src/lockfileToDepGraph.ts and pnpm11/deps/graph-builder/src/lockfileToDepGraph.ts. The unvalidated name is passed to path.join(modules, pkgName), storeController.importPackage, and pnpm11/lockfile/to-pnp/src/index.ts, which allows an attacker to write package contents outside the node modules directory during a pnpm install operation. If the dangerouslyAllowAllBuilds setting is enabled or a matching allowBuilds entry permits lifecycle scripts, the escaped package can execute arbitrary code with the privileges of the user.
Recommendations Update to version 10.34.5 or later. Update to version 11.11.0 or later.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-82392
GHSA-C59Q-G84Q-2GJ5

Affected Products

Pnpm