SB2026061551 - Path traversal in pnpm



SB2026061551 - Path traversal in pnpm

Published: June 15, 2026

Security Bulletin ID SB2026061551
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Path traversal (CVE-ID: N/A)

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote attacker to overwrite files outside the selected download directory.

The vulnerability exists due to path traversal in pnpm stage download when deriving a local filename from registry-controlled package name and version fields. A remote attacker can supply a crafted manifest to overwrite files outside the selected download directory.

User interaction is required to run the stage download command on the crafted package.


Remediation

Install update from vendor's website.