CVE-2026-23890 json
pnpm scoped bin name Path Traversal allows arbitrary file creation outside node_modules/.bin
published 2026-01-26 9 mo ago modified 2026-06-17 4 mo ago also GHSA-xpqm-wm3m-f34h , EUVD-2026-4656
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm pnpm 10.28.1
- pnpm pnpm 10.28.1
- pnpm Alpine 3.23 10.33.4-r0
alpine advisories ALPINE-CVE-2026-23890
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-23890 updated cvss 6.5
pnpm: pnpm: Arbitrary code execution via path traversal in bin linking
-
Red Hat JBoss Enterprise Application Platform 8 org.keycloak-keycloak-parent Red Hat JBoss Enterprise Application Platform Expansion Pack org.keycloak-keycloak-parentaffected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 9 mo ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/pnpm/pnpm/security/advisories/GHSA-xpqm-wm3m-f34h referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | pnpm | <10.28.1 |
10.28.1 |
Affected products
- pnpm pnpm
Classification
- Weakness
-
- CWE-23 Relative Path Traversal
References
-
github.com
/pnpm/pnpm/commit/8afbb1598445d37985d91fda18abb4795ae5062d
web, patch
-
github.com
/pnpm/pnpm/security/advisories/GHSA-xpqm-wm3m-f34h
web, exploit, vendor-advisory
-
github.com
/pnpm/pnpm/releases/tag/v10.28.1
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-23890
advisory
-
github.com
/pnpm/pnpm
package
Sources
- CVE List CVE-2026-23890
- GitHub Advisory GHSA-xpqm-wm3m-f34h
- NVD CVE-2026-23890
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.