CVE-2026-59196
HIGH 7.1CVSS 3.1pnpm: Hoisted install imports lockfile alias outside node_modules
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.
- Published
- 6 Jul 2026
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22CWE-73
- Also known as
- GHSA-fr4h-3cph-29xv
- Sources
- NVDJSONOSV GHSA-fr4h-3cph-29xvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pnpm | pnpmcpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:* |
< 10.34.4 | 10.34.4 |
| NVD | pnpm | pnpmcpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:* |
>= 11.0.0, < 11.7.0 | 11.7.0 |
| OSV | npm | pnpm | < 10.34.4 | 10.34.4 |
| OSV | npm | pnpm | >= 11.0.0, < 11.7.0 | 11.7.0 |
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-fr4h-3cph-29xv · Vendor Advisory, Exploit, WEB
- https://github.com/pnpm/pnpm · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 6 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Jun 2026)