# CVE-2026-23890: pnpm scoped bin name Path Traversal allows arbitrary file creation outside node_modules/.bin

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-26T21:02:39.000Z
- Modified: 2026-06-17T10:22:15.927Z
- Also known as: GHSA-xpqm-wm3m-f34h
- Weaknesses: CWE-23
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pnpm pnpm: < 10.28.1; before 10.28.1
- pnpm (npm): before 10.28.1

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `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> (exploit, vendor-advisory, web)
- <https://github.com/pnpm/pnpm/commit/8afbb1598445d37985d91fda18abb4795ae5062d> (patch, web)
- <https://github.com/pnpm/pnpm/releases/tag/v10.28.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-23890> (advisory)
- <https://github.com/pnpm/pnpm> (package)

## Sources

- CVE List: [CVE-2026-23890](https://www.cve.org/CVERecord?id=CVE-2026-23890), CVE Terms of Use, modified 2026-01-27
- GitHub Advisory Database: [GHSA-xpqm-wm3m-f34h](https://github.com/advisories/GHSA-xpqm-wm3m-f34h), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2026-23890](https://nvd.nist.gov/vuln/detail/CVE-2026-23890), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23890 · Whole record: https://cve.day/CVE-2026-23890.json · Rebuilt by cve.day 2026-11-25T22:59:13.197Z
