Vulnerability · Published Jan 26, 2026 · Assigned by GitHub_M
CVE-2026-23890pnpm scoped bin name Path Traversal allows arbitrary file creation outside node_modules/.bin
Medium 6.5
In plain English
A medium-severity security flaw in pnpm from pnpm. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | pnpm | 10.33.4-r0 | ALPINE-CVE-2026-23890 |
| npm | pnpm | 10.28.1 | GHSA-xpqm-wm3m-f34h |
Affected products (as reported)
Weakness: CWE-23 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-xpqm-wm3m-f34h x_refsource_CONFIRM
- https://github.com/pnpm/pnpm/commit/8afbb1598445d37985d91fda18abb4795ae5062d x_refsource_MISC
- https://github.com/pnpm/pnpm/releases/tag/v10.28.1 x_refsource_MISC