CVE-2026-23890
published medium CVSS 3.1 · 6.5pnpm scoped bin name Path Traversal allows arbitrary file creation outside node_modules/.bin
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pnpm | — | pnpm< 10.28.1 | Affected | Not stated | GitHub_M |
| Alpine Linux | v3.23 | pnpm | Fixed | 10.33.4-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pnpm | pnpm | < 10.28.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-23 CWE-23: Relative Path Traversal
References
3Provider assertions
2GitHub_M · cna
pnpm scoped bin name Path Traversal allows arbitrary file creation outside node_modules/.bin
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 417bdcc2a469796ecad07800cc91339a1606de8cce78f102f933acf242a56375
- Ingested
- 23 Sep 2026, 09:06:03 UTC
- Source record
- Official CVE record