CVE-2026-82393
pnpm: A tarball dependency's manifest `name` escapes node_modules → arbitrary file write/overwrite on install
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.
Fixes and workarounds
Fix
pnpm (npm): OSV reports a fixed version 10.34.5. Check the advisory for supported release branches.
Source: OSV GHSA-vq4v-j7r6-jq4mFix
pnpm (npm): OSV reports a fixed version 11.11.0. Check the advisory for supported release branches.
Source: OSV GHSA-vq4v-j7r6-jq4mAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| pnpm pnpm |
< 10.34.5 (affected) >= 11.0.0, < 11.11.0 (affected) |
CNA: GitHub_M |
pnpmpnpm
npm |
≥ 0; < 10.34.5 (affected, semver); OSV events: introduced 0; fixed 10.34.5Source events (semver)
Other versions: unaffected |
OSV GHSA-vq4v-j7r6-jq4m |
pnpmpnpm
npm |
≥ 11.0.0; < 11.11.0 (affected, semver); OSV events: introduced 11.0.0; fixed 11.11.0Source events (semver)
Other versions: unaffected |
OSV GHSA-vq4v-j7r6-jq4m |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 7.5 high |
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | CNA: GitHub_M |
| 3.1 / 7.5 high |
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD: [email protected] |
Exploit evidence
- https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4m
exploit · ADP: CISA-ADP
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4mCNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/pnpm/pnpm/pull/12872CNA: GitHub_M · x_refsource_MISC
- https://github.com/pnpm/pnpm/pull/12890CNA: GitHub_M · x_refsource_MISC
- https://github.com/pnpm/pnpm/commit/51300fd41c5e4c8f47635108e373cc3d1f324fa7CNA: GitHub_M · x_refsource_MISC
- https://github.com/pnpm/pnpm/commit/78e29fe5583a1e5d69ea05e414eff310f78d5ed9CNA: GitHub_M · x_refsource_MISC
- https://github.com/pnpm/pnpm/releases/tag/v10.34.5CNA: GitHub_M · x_refsource_MISC
- https://github.com/pnpm/pnpm/releases/tag/v11.11.0CNA: GitHub_M · x_refsource_MISC
- https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4mADP: CISA-ADP · exploit
- https://github.com/pnpm/pnpm/commit/51300fd41c5e4c8f47635108e373cc3d1f324fa7[email protected]
- https://github.com/pnpm/pnpm/commit/78e29fe5583a1e5d69ea05e414eff310f78d5ed9[email protected]
- https://github.com/pnpm/pnpm/pull/12872[email protected]
- https://github.com/pnpm/pnpm/pull/12890[email protected]
- https://github.com/pnpm/pnpm/releases/tag/v10.34.5[email protected]
- https://github.com/pnpm/pnpm/releases/tag/v11.11.0[email protected]
- https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4m[email protected]
- https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4m134c704f-9b21-4f2e-91b3-4a467353bcc0
- https://github.com/advisories/GHSA-vq4v-j7r6-jq4mOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-vq4v-j7r6-jq4mOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.