Vulnerability Description
pnpm is a package manager. Prior to 10.34.4 and 11.8.0, pnpm accepts package names from the env lockfile configDependencies section and uses those names directly when creating config dependency symlinks under node_modules/.pnpm-config. A malicious repository can commit a crafted pnpm-lock.yaml whose env-lockfile document contains a traversal-shaped config dependency name. During pnpm install, pnpm installs the config dependency and creates a symlink at a path derived from that name. This vulnerability is fixed in 10.34.4 and 11.8.0.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Pnpm | Pnpm | < 10.34.4 |
Related Weaknesses (CWE)
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-qrv3-253h-g69cExploitMitigationVendor Advisory
- https://github.com/pnpm/pnpm/security/advisories/GHSA-qrv3-253h-g69cExploitMitigationVendor Advisory
FAQ
What is CVE-2026-59195?
CVE-2026-59195 is a vulnerability with a CVSS score of 8.2 (HIGH). pnpm is a package manager. Prior to 10.34.4 and 11.8.0, pnpm accepts package names from the env lockfile configDependencies section and uses those names directly when creating config dependency symlin...
How severe is CVE-2026-59195?
CVE-2026-59195 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-59195?
Check the references section above for vendor advisories and patch information. Affected products include: Pnpm Pnpm.