{"id":"CVE-2026-59195","published":"2026-07-06T15:21:03Z","modified":"2026-07-07T14:06:17Z","title":"pnpm: Path traversal in configDependencies env lockfile allows symlink creation outside node_modules/.pnpm-config","vendor":"pnpm","product":"pnpm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00401,"percentile":0.25949,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-qrv3-253h-g69c","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":5.19},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"pnpm","affectedVersions":[{"vendor":"pnpm","product":"pnpm","versions":["< 10.34.4",">= 11.0.0, < 11.8.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-07T14:05:42.723792Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-41883","exploited":false,"provenance":"source"}}