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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.63% (percentile 44, 2026-11-28)
- **CWE:** CWE-22, CWE-73, CWE-94
- **Aliases:** GHSA-vq4v-j7r6-jq4m
- **Published:** 2026-08-31T21:12:09.196Z
- **Modified:** 2026-11-03T23:17:57.270Z

## Who should check

- Projects that depend on npm package pnpm (\< 10.34.5)
- Anyone running pnpm \< 10.34.5; \>= 11.0.0, \< 11.11.0

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

## Affected and fixed versions

- npm `pnpm`: affected \< 10.34.5; fixed 10.34.5, 11.11.0 (osv)
- pnpm: \< 10.34.5; \>= 11.0.0, \< 11.11.0 (cvelist)

## Mitigation

- Upgrade pnpm to one of 10.34.5, 11.11.0 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-82393. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-82393.md
Affected: pnpm < 10.34.5
Fixed in: 10.34.5, 11.11.0

Steps:
1. Search this machine and project for pnpm (npm), pnpm: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-82393 being exploited?

There is no confirmed exploitation: CVE-2026-82393 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.63% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-82393?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-82393?

pnpm \< 10.34.5.

### Is there a fix for CVE-2026-82393?

Yes. Fixed in 10.34.5, 11.11.0. Upgrade pnpm to one of 10.34.5, 11.11.0 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-82393?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4m>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-82393>
- patch: <https://github.com/pnpm/pnpm/pull/12872>
- patch: <https://github.com/pnpm/pnpm/pull/12890>
- patch: <https://github.com/pnpm/pnpm/commit/51300fd41c5e4c8f47635108e373cc3d1f324fa7>
- patch: <https://github.com/pnpm/pnpm/commit/78e29fe5583a1e5d69ea05e414eff310f78d5ed9>
- other: <https://github.com/pnpm/pnpm/releases/tag/v10.34.5>
- other: <https://github.com/pnpm/pnpm/releases/tag/v11.11.0>
- other: <https://github.com/pnpm/pnpm>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-82393>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-vq4v-j7r6-jq4m> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-82393> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-82393>
