CVE-2026-23890
Medium · 6.5pnpm scoped bin name Path Traversal allows arbitrary file creation outside node_modules/.bin
CVSS
6.5
EPSS
0.5%
Published
Jan 26, 2026
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | pnpm | 0 | 10.28.1 |
Related vulnerabilities
- GHSA-xpqm-wm3m-f34h pnpm scoped bin name Path Traversal allows arbitrary file creation outside… Same vulnerability
- GHSA-v253-rj99-jwpq pnpm has Path Traversal via arbitrary file permission modification Also affects pnpm
- GHSA-6pfh-p556-v868 pnpm: Binary ZIP extraction allows arbitrary file write via path traversal (Zip Slip) Also affects pnpm
- GHSA-6x96-7vc8-cm3p pnpm has Windows-specific tarball Path Traversal Also affects pnpm
- GHSA-m733-5w8f-5ggw pnpm has symlink traversal in file:/git dependencies Also affects pnpm
- CVE-2026-24056 pnpm has symlink traversal in file:/git dependencies Also affects pnpm
- CVE-2026-24131 pnpm has Path Traversal via arbitrary file permission modification Also affects pnpm
- CVE-2026-23888 pnpm: Binary ZIP extraction allows arbitrary file write via path traversal (Zip Slip) Also affects pnpm