What’s Vulnerable › Vulnerabilities
CVE-2026-59196: pnpm: hoisted install imports lockfile alias outside node_modules
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-07-06 · updated 2026-07-07
- Weakness: CWE-22
Description
pnpm is a package manager. Prior to 10.34.4 and 11.7.0, a crafted lockfile alias could be joined directly under a hoisted node_modules directory. Traversal aliases could escape that directory, while reserved aliases such as .bin or .pnpm could overwrite pnpm-owned layout. This vulnerability is fixed in 10.34.4 and 11.7.0.
Affected products
- pnpm: before 10.34.4; from 11.0.0 before 11.7.0 — fixed in 10.34.4, 11.7.0
How to fix
Upgrade to a fixed version: pnpm 10.34.4, 11.7.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-59196 or the next vulnerability affects your stack