# CVE-2026-59195: pnpm: Path traversal in configDependencies env lockfile allows symlink creation outside node_modules/.pnpm-config

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L`
- 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.29%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-27T00:13:18.000Z
- Modified: 2026-07-08T08:26:43.572Z
- Also known as: GHSA-qrv3-253h-g69c
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- pnpm pnpm: < 10.34.4; >= 11.0.0, < 11.8.0; before 10.34.4; from 11.0.0 before 11.8.0
- pnpm (npm): before 10.34.4; from 11.0.0 before 11.8.0

## Every score

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

## References

- <https://github.com/pnpm/pnpm/security/advisories/GHSA-qrv3-253h-g69c> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/pnpm/pnpm> (package)

## Sources

- CVE List: [CVE-2026-59195](https://www.cve.org/CVERecord?id=CVE-2026-59195), CVE Terms of Use, modified 2026-07-07
- GitHub Advisory Database: [GHSA-qrv3-253h-g69c](https://github.com/advisories/GHSA-qrv3-253h-g69c), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2026-59195](https://nvd.nist.gov/vuln/detail/CVE-2026-59195), Public domain, modified 2026-07-07

---

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