# CVE-2026-50016: pnpm: Transitive dependency alias path traversal allows project path override via symlink replacement

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-25T16:53:16.350Z
- Modified: 2026-06-29T23:57:03.630Z
- Also known as: GHSA-hwx4-2j3j-g496
- Weaknesses: CWE-23
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pnpm pnpm: < 10.33.4; >= 11.0.0, < 11.4.0; before 10.34.0; from 11.0.0 before 11.4.0
- pnpm (npm): before 10.34.0; from 11.0.0 before 11.4.0

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/pnpm/pnpm/security/advisories/GHSA-hwx4-2j3j-g496> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50016> (advisory)
- <https://github.com/pnpm/pnpm> (package)

## Sources

- CVE List: [CVE-2026-50016](https://www.cve.org/CVERecord?id=CVE-2026-50016), CVE Terms of Use, modified 2026-06-26
- GitHub Advisory Database: [GHSA-hwx4-2j3j-g496](https://github.com/advisories/GHSA-hwx4-2j3j-g496), CC-BY-4.0, modified 2026-06-26
- NVD: [CVE-2026-50016](https://nvd.nist.gov/vuln/detail/CVE-2026-50016), Public domain, modified 2026-06-29

---

Page: https://cve.day/CVE-2026-50016 · Whole record: https://cve.day/CVE-2026-50016.json · Rebuilt by cve.day 2026-11-25T22:59:26.396Z
