Vulnerability details

CVE-2026-59196

pnpm pnpm

pnpm: hoisted install imports lockfile alias outside node_modules

CVSS 3.1
7.1High

Official 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.

CVSS scores

ScoreVersionSourceVector
7.1High 3.1 CVEProject cvelistV5 (CNA) (GitHub_M) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L

Affected products

VendorProductVersionsSource
pnpm pnpm < 10.34.4 CVEProject cvelistV5 (CNA)
pnpm pnpm >= 11.0.0, < 11.7.0 CVEProject cvelistV5 (CNA)

References and advisories

1
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-07-06
Last updated
2026-07-06
State
Published
Assigner (CNA)
GitHub_M

Exploit prediction (EPSS)

0.4%
Probability of exploitation in 30 days
34.5%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Partial

Weaknesses (CWE)

  • CWE-22
    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-73
    External Control of File Name or Path