SB2026080360 - Path traversal in pnpm
Published: August 3, 2026
Breakdown by Severity
- 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: 6.8 [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]
The vulnerability allows a remote attacker to modify files outside the intended project directory.
The vulnerability exists due to path traversal in pacquet trust-lockfile install handling when processing a crafted lockfile alias during installation. A remote attacker can supply a crafted lockfile that causes dependency symlinks to be created outside the intended project or node_modules boundary to modify files outside the intended project directory.
User interaction is required to run installation with --trust-lockfile or a frozen lockfile.
Remediation
Install update from vendor's website.