CVE-2026-50016 json
pnpm: Transitive dependency alias path traversal allows project path override via symlink replacement
published 2026-06-25 4 mo ago modified 2026-06-29 4 mo ago also EUVD-2026-39494 , GHSA-hwx4-2j3j-g496
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm pnpm 10.34.0, 11.4.0
- pnpm pnpm 10.33.4, 11.4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-50016 updated cvss 8.0
pnpm: pnpm: Arbitrary code execution due to path traversal in dependency aliases
-
Red Hat AMQ Broker 7 pnpmnot affected: vulnerable code not present
-
Red Hat Build of Keycloak pnpmnot affected: component not present
-
Red Hat JBoss Enterprise Application Platform 8 pnpm Red Hat JBoss Enterprise Application Platform Expansion Pack pnpmnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/pnpm/pnpm/security/advisories/GHSA-hwx4-2j3j-g496 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | pnpm | <10.34.0 >=11.0.0, <11.4.0 |
10.34.0 11.4.0 |
Affected products
- pnpm pnpm
Classification
- Weakness
-
- CWE-23 Relative Path Traversal
References
-
github.com
/pnpm/pnpm/security/advisories/GHSA-hwx4-2j3j-g496
exploit, web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-50016
advisory
-
github.com
/pnpm/pnpm
package
Sources
- CVE List CVE-2026-50016
- GitHub Advisory GHSA-hwx4-2j3j-g496
- NVD CVE-2026-50016
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.