{"id":"CVE-2026-23888","published":"2026-01-26T21:37:17Z","modified":"2026-01-27T21:41:06Z","title":"pnpm: Binary ZIP extraction allows arbitrary file write via path traversal (Zip Slip)","vendor":"pnpm","product":"pnpm","tier":"tail","description":{"text":"pnpm is a package manager. Prior to version 10.28.1, a path traversal vulnerability in pnpm's binary fetcher allows malicious packages to write files outside the intended extraction directory. The vulnerability has two attack vectors: (1) Malicious ZIP entries containing `../` or absolute paths that escape the extraction root via AdmZip's `extractAllTo`, and (2) The `BinaryResolution.prefix` field is concatenated into the extraction path without validation, allowing a crafted prefix like `../../evil` to redirect extracted files outside `targetDir`. The issue impacts all pnpm users who install packages with binary assets, users who configure custom Node.js binary locations and CI/CD pipelines that auto-install binary dependencies. It can lead to overwriting config files, scripts, or other sensitive files leading to RCE. Version 10.28.1 contains a patch.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00574,"percentile":0.41272,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-23","name":"Relative Path Traversal"},{"id":"CWE-426","name":"Untrusted Search Path"}],"references":[{"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-6pfh-p556-v868","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pnpm/pnpm/commit/5c382f0ca3b7cc49963b94677426e66539dcb3f5","tags":["x_refsource_MISC"]},{"url":"https://github.com/pnpm/pnpm/releases/tag/v10.28.1","tags":["x_refsource_MISC"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":8.25},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"pnpm","affectedVersions":[{"vendor":"pnpm","product":"pnpm","versions":["< 10.28.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-27T21:40:56.936224Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"pnpm","vulnerableRanges":["<10.28.1"],"patched":["10.28.1"],"from":["GHSA-6pfh-p556-v868"],"provenance":"source"}],"summary":{"text":"The pnpm package manager's binary fetcher contains a path traversal flaw (Zip Slip) that lets crafted ZIP entries or a malicious BinaryResolution.prefix value write files outside the intended extraction directory. An attacker who can get a malicious package with binary assets installed, or who controls a custom Node.js binary configuration, can cause arbitrary file writes over the network with user interaction required (such as the victim installing the package), and no authentication is needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:59Z"},"euvd":{"id":"EUVD-2026-4655","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-69263","published":"2026-01-07","fixed":"10.26.0","kev":false},{"cve":"CVE-2025-69264","published":"2026-01-07","fixed":"10.26.0","kev":false},{"cve":"CVE-2025-69262","published":"2026-01-07","fixed":"10.27.0","kev":false,"link":{"from":"CVE-2025-69262","to":"CVE-2026-23888","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:pnpm","fromFixed":"10.27.0","toFixed":"10.28.1","daysApart":19}]}},{"cve":"CVE-2026-23888","published":"2026-01-26","fixed":"10.28.1","kev":false},{"cve":"CVE-2026-23889","published":"2026-01-26","fixed":"10.28.1","kev":false},{"cve":"CVE-2026-23890","published":"2026-01-26","fixed":"10.28.1","kev":false},{"cve":"CVE-2026-24056","published":"2026-01-26","fixed":"10.28.2","kev":false}],"package":"npm:pnpm"}}