{"id":"CVE-2026-59196","state":"PUBLISHED","title":"pnpm: hoisted install imports lockfile alias outside node_modules","description":"pnpm is a package manager. Prior to 10.34.4 and 11.7.0, a crafted lockfile alias could be joined directly under a hoisted node_modules directory. Traversal aliases could escape that directory, while reserved aliases such as .bin or .pnpm could overwrite pnpm-owned layout.  This vulnerability is fixed in 10.34.4 and 11.7.0.","publishedAt":"2026-07-06T15:18:53.881Z","updatedAt":"2026-07-06T15:40:34.708Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["pnpm pnpm"],"affected":[{"vendor":"pnpm","product":"pnpm","versions":[{"version":"< 10.34.4","status":"affected"},{"version":">= 11.0.0, < 11.7.0","status":"affected"}]}],"references":["https://github.com/pnpm/pnpm/security/advisories/GHSA-fr4h-3cph-29xv"],"weaknesses":["CWE-22","CWE-73"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59196.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59196","state":"PUBLISHED","datePublished":"2026-07-06T15:18:53.881Z","dateUpdated":"2026-07-06T15:40:34.708Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-02T19:53:48.831Z"},"containers":{"cna":{"title":"pnpm: hoisted install imports lockfile alias outside node_modules","descriptions":[{"lang":"en","value":"pnpm is a package manager. Prior to 10.34.4 and 11.7.0, a crafted lockfile alias could be joined directly under a hoisted node_modules directory. Traversal aliases could escape that directory, while reserved aliases such as .bin or .pnpm could overwrite pnpm-owned layout.  This vulnerability is fixed in 10.34.4 and 11.7.0."}],"affected":[{"vendor":"pnpm","product":"pnpm","versions":[{"version":"< 10.34.4","status":"affected"},{"version":">= 11.0.0, < 11.7.0","status":"affected"}]}],"references":[{"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-fr4h-3cph-29xv","name":"https://github.com/pnpm/pnpm/security/advisories/GHSA-fr4h-3cph-29xv","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-73","lang":"en","description":"CWE-73: External Control of File Name or Path","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-06T15:18:53.881Z"},"source":{"advisory":"GHSA-fr4h-3cph-29xv","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-06T15:40:26.718598Z","id":"CVE-2026-59196","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-06T15:40:34.708Z"}}]}}}