Path Traversal in Pnpm

CVE-2026-55700

pnpm is a package manager. From 11.3.0 until 11.5.3, `pnpm stage download` derived a local filename from registry-controlled package name and version fields. A crafted manifest could escape the selected download directory and overwrite another reachable file. The merged fix validates both fields, derives one safe filename, and verifies the final destination before writing. This vulnerability is fixed in 11.5.3.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L.

EPSS exploit prediction

EPSS 0.004, 36.5th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Pnpm — versions >= 11.3.0, < 11.5.3

Weakness classification (CWE)

References