CVE-2026-82393: pnpm - Path Traversal & Remote Code Execution
- Cve: CVE-2026-82393
- Name: pnpm - Path Traversal & Remote Code Execution
- 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.
- Impact: Attackers can overwrite arbitrary files on the filesystem, potentially leading to code execution and system compromise.
- Remediation: Update to versions 10.34.5 or 11.11.0 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00626
- Epss percentile: 0.50761
- Assignee: [email protected]
- Published at: 2026-08-31T22:17:22Z
- Age in days: 85
- Modified at: 2026-11-03T23:17:57Z
- Patch available: yes
- References total: 7
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-82393
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| pnpm:pnpm | >= 11.0.0, < 11.11.0; < 10.34.5 | no | cna_alias_text | /v1/products/pnpm/pnpm |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pnpm/pnpm | commit, fix, package, pull, releases, security_advisory | yes | /v1/repositories/pnpm/pnpm |
Index
- Repositories: 12
- Repositories high signal: 10
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts