Path traversal in pnpm - CVE-2026-82392

 

Path traversal in pnpm - CVE-2026-82392

Published: August 3, 2026 / Updated: September 1, 2026


Vulnerability identifier: #VU140826
CSH Severity: Medium
CVSS v4: 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]
CVE-ID: CVE-2026-82392
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to write package files to arbitrary filesystem paths.

The vulnerability exists due to path traversal in lockfileToDepGraph when processing a crafted pnpm-lock.yaml file during installation. A remote attacker can supply a lockfile with traversal sequences in depPath keys to write package files to arbitrary filesystem paths.

User interaction is required to run pnpm install on the crafted lockfile.


Affected software

pnpm

How to mitigate CVE-2026-82392

Install security update from vendor's website.

pnpm - addressed in versions 10.34.5, 11.11.0

External References

Related Security Bulletins