Path Traversal in Pnpm

CVE-2026-50015

pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm's patch application pipeline (@pnpm/patch-package) performs no path validation on file paths extracted from .patch files. An attacker who contributes a malicious patch file via a…

Vulnerability class: Path Traversal (Directory Traversal)

CVSS v3 metric

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

Affected products

  • Pnpm — versions < 10.33.4, >= 11.0.0, < 11.4.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-50015?
CVE-2026-50015 is a high-severity vulnerability in Pnpm, classified under Path Traversal. CVSS score: 7.3/10. Published 2026-06-25.
How severe is CVE-2026-50015?
High severity. CVSS v3 base score is 7.3 out of 10.