CVE-2026-59196 pnpm: hoisted install imports lockfile alias outside node_modules
HighCVSS 7.1
EPSS 0.40%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| pnpm | = < 10.34.4 | No fix listed |
| pnpm | = >= 11.0.0, < 11.7.0 | No fix listed |
| pnpm | < 10.34.4 | 10.34.4 |
| pnpm | >= 11.0.0, < 11.7.0 | 11.7.0 |
| npm pnpm(npm) | < 10.34.4 | 10.34.4 |
| npm pnpm(npm) | >= 11.0.0, < 11.7.0 | 11.7.0 |
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-fr4h-3cph-29xv exploit vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2497368 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com product