Path traversal in pnpm - #VU153389

 

Path traversal in pnpm - #VU153389

Published: October 6, 2026


Vulnerability identifier: #VU153389
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to include files from outside a package directory through bundled dependencies.

The vulnerability exists due to improper restriction of file paths in bundled dependency file collection when packing, publishing, or installing git and local directory dependencies. A remote attacker can supply a package with a bundleDependencies entry pointing outside its directory to include files from outside a package directory through bundled dependencies.


Affected software

pnpm

Remediation

Install security update from vendor's website.

pnpm - addressed in versions 11.28.5, 12.10.0

External References

Related Security Bulletins