Skip to main content
← All vulnerabilities
CVE-2026-50016GHSA-HWX4-2J3J-G496

pnpm: Transitive dependency alias path traversal allows project path override via symlink replacement

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 10.33.4, 11.4.0, 10.34.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm allows a transitive dependency alias from registry package metadata to contain path traversal segments. During install, pnpm later uses that alias as a filesystem path when linking dependency nodes. As a result, a registry package can cause `pnpm install --ignore-scripts` to replace paths in the current project with symlinks to attacker-controlled dependency package directories. This vulnerability is fixed in 10.34.0 and 11.4.0.

Timeline

  1. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  2. CVE published
  3. Record last updated

Affected versions

  • pnpm pnpm

    fixed in 10.33.4; From 11.0.0 · fixed in 11.4.0

  • pnpmnpm

    fixed in 10.34.0

  • pnpmnpm

    From 11.0.0 · fixed in 11.4.0

References 1

GitHub · pnpm/pnpm