HIGHCVSS 7.1Vulnerability

CVE-2026-82392

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.

Properties

summary
pnpm: Virtual store linker path traversal via unvalidated depPath name in lockfileToDepGraph
severity
HIGH
epss_score
0.00615
cvss_severity
HIGH
cvss_score
7.1
retrieved_at
2026-10-16T11:46:58+00:00
ghsa_published
2026-09-02T14:37:13Z
source_url
https://github.com/advisories/GHSA-c59q-g84q-2gj5
ghsa_updated
2026-09-02T14:37:14Z
ghsa_id
GHSA-c59q-g84q-2gj5
score
7.1
last_source
FIRST EPSS
cve_id
CVE-2026-82392
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
signal_observed_at
2026-09-11T17:55:57+00:00
is_ghsa_only
false
vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
published_at
2026-08-31T21:17:54.033
last_modified
2026-09-09T21:09:13.080
epss_percentile
0.48322

Related Entities (6)

DESCRIBED_BY (1)

→[Source]NVD

ENRICHED_BY (1)

→[Source]FIRST EPSS

REPORTED_BY (1)

→[Source]GitHub Advisory Database

VULNERABLE_TO (1)

←[Software]npm/pnpm

AFFECTS (1)

→[Software]npm/pnpm

HAS_WEAKNESS (1)

→[Weakness]Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Explore deeper with Ninja Signal's threat intelligence graph