{"cve":"CVE-2026-23888","nvd":{"published":"2026-01-26T22:15:56.047","modified":"2026-06-17T10:22:15.717","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5},"cwes":["CWE-22","CWE-23","CWE-426"],"references":["https://github.com/pnpm/pnpm/commit/5c382f0ca3b7cc49963b94677426e66539dcb3f5","https://github.com/pnpm/pnpm/releases/tag/v10.28.1","https://github.com/pnpm/pnpm/security/advisories/GHSA-6pfh-p556-v868"],"products":["pnpm:pnpm"],"source":"nvd","synced_at":"2026-10-19T22:21:16.563232421+00:00"},"epss":{"cve":"CVE-2026-23888","score":0.0045,"percentile":0.39133,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-6pfh-p556-v868","url":"https://osv.dev/vulnerability/GHSA-6pfh-p556-v868","summary":"pnpm: Binary ZIP extraction allows arbitrary file write via path traversal (Zip Slip)","modified":"2026-02-03T03:06:45.887995Z","packages":[{"ecosystem":"npm","name":"pnpm","purl":"pkg:npm/pnpm","ranges":["<10.28.1"],"fixed":["10.28.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}