High severity8.8NVD Advisory· Published Jun 25, 2026· Updated Jun 29, 2026
CVE-2026-50016
CVE-2026-50016
Description
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pnpmnpm | < 10.34.0 | 10.34.0 |
pnpmnpm | >= 11.0.0, < 11.4.0 | 11.4.0 |
Affected products
3- Package: https://www.npmjs.com/package/pnpm
Patches
Vulnerability mechanics
References
3- github.com/pnpm/pnpm/security/advisories/GHSA-hwx4-2j3j-g496nvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-hwx4-2j3j-g496ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-50016ghsaADVISORY
News mentions
1- Pnpm: Thirteen Vulnerabilities Disclosed Together, Posing Risks of ACE and Supply Chain CompromiseVypr Intelligence · Jun 25, 2026