{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-82393","id":"CVE-2026-82393","title":"pnpm: A tarball dependency's manifest `name` escapes node_modules → arbitrary file write/overwrite on install","description":"pnpm is a package manager. Prior to 10.34.5 and 11.11.0, pnpm accepts a scoped path traversal in a tarball dependency's package.json manifest name because pnpm11/resolving/npm-resolver/src/pickPackage.ts rejects slash characters only for unscoped names. During pnpm install, the unvalidated name reaches raw path joins in pnpm11/installing/deps-resolver/src/resolvePeers.ts, pnpm11/installing/deps-re","descriptionLong":"pnpm is a package manager. Prior to 10.34.5 and 11.11.0, pnpm accepts a scoped path traversal in a tarball dependency's package.json manifest name because pnpm11/resolving/npm-resolver/src/pickPackage.ts rejects slash characters only for unscoped names. During pnpm install, the unvalidated name reaches raw path joins in pnpm11/installing/deps-resolver/src/resolvePeers.ts, pnpm11/installing/deps-resolver/src/index.ts, and pnpm11/deps/graph-builder/src/lockfileToDepGraph.ts, causing package extraction outside node_modules and allowing attacker-controlled files to overwrite arbitrary filesystem paths even when --ignore-scripts is used. The overwrite can replace shell startup files, Git hooks, or installed package code and lead to code execution. This issue is fixed in versions 10.34.5, and 11.11.0.","published":"2026-08-31T21:12:09.196Z","updated":"2026-11-05T02:31:05.125265821Z","reserved":"2026-08-28T22:00:43.511Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","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-vq4v-j7r6-jq4m"}],"cwes":["CWE-22","CWE-73","CWE-94"],"aliases":["GHSA-vq4v-j7r6-jq4m"],"references":[{"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4m","tags":["x_refsource_CONFIRM","exploit","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-82393.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82393","tags":["advisory"]},{"url":"https://github.com/pnpm/pnpm","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00626,"epssPercentile":0.50835,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-82393","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82393","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-82393","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vq4v-j7r6-jq4m","ok":true,"note":"GHSA-vq4v-j7r6-jq4m"},{"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-82393","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}