{"id":"CVE-2026-23890","published":"2026-01-26T21:53:40Z","modified":"2026-01-27T21:39:57Z","title":"pnpm scoped bin name Path Traversal allows arbitrary file creation outside node_modules/.bin","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 bin linking allows malicious npm packages to create executable shims or symlinks outside of `node_modules/.bin`. Bin names starting with `@` bypass validation, and after scope normalization, path traversal sequences like `../../` remain intact. This issue affects all pnpm users who install npm packages and CI/CD pipelines using pnpm. It can lead to overwriting config files, scripts, or other sensitive files. 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.00498,"percentile":0.4361,"provenance":"source"},"cwes":[{"id":"CWE-23","name":"Relative Path Traversal"}],"references":[{"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-xpqm-wm3m-f34h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pnpm/pnpm/commit/8afbb1598445d37985d91fda18abb4795ae5062d","tags":["x_refsource_MISC"]},{"url":"https://github.com/pnpm/pnpm/releases/tag/v10.28.1","tags":["x_refsource_MISC"]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":8.72},{"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:39:49.236417Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"pnpm","vulnerableRanges":["<10.28.1"],"patched":["10.28.1"],"from":["GHSA-xpqm-wm3m-f34h"],"provenance":"source"}],"summary":{"text":"The pnpm package manager has a path traversal flaw in its bin linking logic, where scoped bin names beginning with \"@\" bypass validation and retain \"../\" sequences after scope normalization. An attacker who gets a malicious npm package installed can exploit this, with no privileges needed but a user having to install the package, to create executable shims or symlinks outside node_modules/.bin, potentially overwriting config files, scripts, or other sensitive files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:24Z"},"euvd":{"id":"EUVD-2026-4656","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pnpm-cve-2026-23890","children":[{"from":"CVE-2026-23890","to":"CVE-2026-24131","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:pnpm","fromFixed":"10.28.1","toFixed":"10.28.2","daysApart":0},{"kind":"same-code","provenance":"machine","files":["pkg-manager/package-bins/src/index.ts"],"commits":["https://github.com/pnpm/pnpm/commit/8afbb1598445d37985d91fda18abb4795ae5062d","https://github.com/pnpm/pnpm/commit/17432ad5bbed5c2e77255ca6d56a1449bbcfd943"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-69262","published":"2026-01-07","fixed":"10.27.0","kev":false,"link":{"from":"CVE-2025-69262","to":"CVE-2026-23890","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,"link":{"from":"CVE-2026-23890","to":"CVE-2026-24056","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:pnpm","fromFixed":"10.28.1","toFixed":"10.28.2","daysApart":0}]}},{"cve":"CVE-2026-24131","published":"2026-01-26","fixed":"10.28.2","kev":false},{"cve":"CVE-2026-48995","published":"2026-06-25","fixed":"11.0.7","kev":false}],"package":"npm:pnpm"}}