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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-31T21:12:09.196Z
- Modified: 2026-11-03T23:17:57.270Z
- Also known as: GHSA-vq4v-j7r6-jq4m
- Weaknesses: CWE-22, CWE-73, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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-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.

(As written by CVE List.)

## Affected

- pnpm pnpm: < 10.34.5; >= 11.0.0, < 11.11.0
- pnpm (npm): before 10.34.5; from 11.0.0 before 11.11.0

## Every score

- 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`
- GitHub: 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`

## References

- <https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4m> (exploit, web)
- <https://github.com/pnpm/pnpm/pull/12872> (web)
- <https://github.com/pnpm/pnpm/pull/12890> (web)
- <https://github.com/pnpm/pnpm/commit/51300fd41c5e4c8f47635108e373cc3d1f324fa7> (web)
- <https://github.com/pnpm/pnpm/commit/78e29fe5583a1e5d69ea05e414eff310f78d5ed9> (web)
- <https://github.com/pnpm/pnpm/releases/tag/v10.34.5> (web)
- <https://github.com/pnpm/pnpm/releases/tag/v11.11.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-82393> (advisory)
- <https://github.com/pnpm/pnpm> (package)

## Sources

- CVE List: [CVE-2026-82393](https://www.cve.org/CVERecord?id=CVE-2026-82393), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-vq4v-j7r6-jq4m](https://github.com/advisories/GHSA-vq4v-j7r6-jq4m), CC-BY-4.0, modified 2026-09-02
- NVD: [CVE-2026-82393](https://nvd.nist.gov/vuln/detail/CVE-2026-82393), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-82393 · Whole record: https://cve.day/CVE-2026-82393.json · Rebuilt by cve.day 2026-11-25T22:59:35.891Z
