CVE-2026-59195 pnpm: Path traversal in configDependencies env lockfile allows symlink creation outside node_modules/.pnpm-config
HighCVSS 8.2
EPSS 0.40%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm pnpm(npm) | < 10.34.4; >= 11.0.0, < 11.8.0 | 10.34.4, 11.8.0 | Fixed |
| pnpm | < 10.34.4; = < 10.34.4; = >= 11.0.0, < 11.8.0; >= 11.0.0, < 11.8.0 | 10.34.4, 11.8.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pnpm | = < 10.34.4 | No fix listed |
| pnpm | = >= 11.0.0, < 11.8.0 | No fix listed |
| pnpm | < 10.34.4 | 10.34.4 |
| pnpm | >= 11.0.0, < 11.8.0 | 11.8.0 |
| npm pnpm(npm) | < 10.34.4 | 10.34.4 |
| npm pnpm(npm) | >= 11.0.0, < 11.8.0 | 11.8.0 |
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-qrv3-253h-g69c exploit mitigation vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2497370 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com product