CVE-2026-59196
published high CVSS 3.1 · 7.1pnpm: hoisted install imports lockfile alias outside node_modules
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pnpm | — | pnpm< 10.34.4 · >= 11.0.0, < 11.7.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pnpm | pnpm | < 10.34.4 (affected)>= 11.0.0, < 11.7.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-73 CWE-73: External Control of File Name or Path
References
1Provider assertions
2GitHub_M · cna
pnpm: hoisted install imports lockfile alias outside node_modules
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a8b330b1357575f7b7c6a91392c6b965837ecbca2e0d5eca8e21369322e0cca1
- Ingested
- 23 Sep 2026, 09:22:29 UTC
- Source record
- Official CVE record