Path traversal in pnpm - #VU140784

 

Path traversal in pnpm - #VU140784

Published: August 3, 2026


Vulnerability identifier: #VU140784
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/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 execute arbitrary code.

The vulnerability exists due to path traversal in the isolated-linker import target when processing a tarball dependency with a crafted manifest name during installation. A remote attacker can supply a specially crafted tarball dependency to overwrite files outside node_modules and execute arbitrary code.

User interaction is required to run pnpm install, and exploitation can occur even when installation is performed with --ignore-scripts.


Affected software

pnpm

Remediation

Install security update from vendor's website.

pnpm - addressed in versions 10.34.5, 11.11.0

External References

Related Security Bulletins