# CVE-2026-82393: pnpm: A tarball dependency's manifest `name` escapes node_modules → arbitrary file write/overwrite on install

Status: published. Published: 2026-08-31. Updated: 2026-11-03.

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.

## Remediation

- fix: pnpm (npm): OSV reports a fixed version 10.34.5. Check the advisory for supported release branches. (source: OSV GHSA-vq4v-j7r6-jq4m) — https://github.com/advisories/GHSA-vq4v-j7r6-jq4m
- fix: pnpm (npm): OSV reports a fixed version 11.11.0. Check the advisory for supported release branches. (source: OSV GHSA-vq4v-j7r6-jq4m) — https://github.com/advisories/GHSA-vq4v-j7r6-jq4m

## Affected products and versions

- pnpm / pnpm: < 10.34.5 (affected); >= 11.0.0, < 11.11.0 (affected). Source: CNA: GitHub_M
-  / pnpm (pnpm): ≥ 0; < 10.34.5 (affected, semver); OSV events: introduced 0; fixed 10.34.5. Source: OSV GHSA-vq4v-j7r6-jq4m
-  / pnpm (pnpm): ≥ 11.0.0; < 11.11.0 (affected, semver); OSV events: introduced 11.0.0; fixed 11.11.0. Source: OSV GHSA-vq4v-j7r6-jq4m

## Severity and prioritization

- CVSS 3.1: 7.5 (high); CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H; source: CNA: GitHub_M

- CVSS 3.1: 7.5 (high); CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 0.63% as of 2026-11-03; percentile 50.08%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-22, CWE-73, CWE-94

## Exploit evidence

- exploit: https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4m (ADP: CISA-ADP)

## References

- https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4m (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/pnpm/pnpm/pull/12872 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/pnpm/pnpm/pull/12890 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/pnpm/pnpm/commit/51300fd41c5e4c8f47635108e373cc3d1f324fa7 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/pnpm/pnpm/commit/78e29fe5583a1e5d69ea05e414eff310f78d5ed9 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/pnpm/pnpm/releases/tag/v10.34.5 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/pnpm/pnpm/releases/tag/v11.11.0 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4m (ADP: CISA-ADP; exploit)

- https://github.com/pnpm/pnpm/commit/51300fd41c5e4c8f47635108e373cc3d1f324fa7 (security-advisories@github.com)

- https://github.com/pnpm/pnpm/commit/78e29fe5583a1e5d69ea05e414eff310f78d5ed9 (security-advisories@github.com)

- https://github.com/pnpm/pnpm/pull/12872 (security-advisories@github.com)

- https://github.com/pnpm/pnpm/pull/12890 (security-advisories@github.com)

- https://github.com/pnpm/pnpm/releases/tag/v10.34.5 (security-advisories@github.com)

- https://github.com/pnpm/pnpm/releases/tag/v11.11.0 (security-advisories@github.com)

- https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4m (security-advisories@github.com)

- https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4m (134c704f-9b21-4f2e-91b3-4a467353bcc0)

- https://github.com/advisories/GHSA-vq4v-j7r6-jq4m (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-vq4v-j7r6-jq4m (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-82393; retrieved 2026-11-03; source updated 2026-11-03

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-82393; retrieved 2026-11-04; source updated 2026-11-03

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-vq4v-j7r6-jq4m; retrieved 2026-11-03; source updated 2026-09-02

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-82393; retrieved 2026-11-03; source updated Not reported

Revision: 5852bf37fbb717254dc9401f3482908649ac2ef85be28aae37ab0a65640c8962

Canonical: https://y2.dev/cve/CVE-2026-82393

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.