CVE-2026-50016: pnpm - Path Traversal
- Cve: CVE-2026-50016
- Name: pnpm - Path Traversal
- Description: pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm allows a transitive dependency alias from registry package metadata to contain path traversal segments. During install, pnpm later uses that alias as a filesystem path when linking dependency nodes. As a result, a registry package can cause `pnpm install --ignore-scripts` to replace paths in the current project with symlinks to attacker-controlled dependency package directories. This vulnerability is fixed in 10.34.0 and 11.4.0.
- Impact: Attackers can replace project paths with symlinks to malicious directories, potentially leading to code execution or data tampering.
- Remediation: Update to version 10.34.0 or 11.4.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: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00527
- Epss percentile: 0.45289
- Assignee: [email protected]
- Published at: 2026-06-25T18:16:39Z
- Age in days: 152
- Modified at: 2026-06-29T23:57:03Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-50016
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-23 | Relative Path Traversal |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/pnpm/pnpm/security/advisories/GHSA-hwx4-2j3j-g496 | nvd | 2026-06-25 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/pnpm/pnpm/security/advisories/GHSA-hwx4-2j3j-g496 | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| pnpm:pnpm | >= 11.0.0, < 11.4.0; < 10.34.0 | no | nvd | /v1/products/pnpm/pnpm |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pnpm/pnpm | package, security_advisory | yes | /v1/repositories/pnpm/pnpm |
Index
- Repositories: 11
- Repositories high signal: 9
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-06-25
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts