{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-82392","id":"CVE-2026-82392","title":"pnpm: Virtual store linker path traversal via unvalidated depPath name in lockfileToDepGraph","description":"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, a","descriptionLong":"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.","published":"2026-08-31T21:03:25.652Z","updated":"2026-10-28T02:31:13.469613244Z","reserved":"2026-08-28T22:00:43.511Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["pnpm"],"affectedProducts":[{"vendor":"pnpm","product":"pnpm","defaultStatus":null,"versions":[{"version":"< 10.34.5","status":"affected"},{"version":">= 11.0.0, < 11.11.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"pnpm","purl":"pkg:npm/pnpm","ranges":["<10.34.5",">=11.0.0 <11.11.0"],"fixed":["10.34.5","11.11.0"],"advisory":"GHSA-c59q-g84q-2gj5"}],"cwes":["CWE-22"],"aliases":["GHSA-c59q-g84q-2gj5"],"references":[{"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-c59q-g84q-2gj5","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/pnpm/pnpm/pull/12872","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/pnpm/pnpm/pull/12890","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/pnpm/pnpm/commit/51300fd41c5e4c8f47635108e373cc3d1f324fa7","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/pnpm/pnpm/commit/78e29fe5583a1e5d69ea05e414eff310f78d5ed9","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/pnpm/pnpm/releases/tag/v10.34.5","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/pnpm/pnpm/releases/tag/v11.11.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82392.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82392","tags":["advisory"]},{"url":"https://github.com/pnpm/pnpm","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00615,"epssPercentile":0.50402,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-82392","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82392","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-82392","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c59q-g84q-2gj5","ok":true,"note":"GHSA-c59q-g84q-2gj5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-82392","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}