Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. pnpm
  4. ›
  5. CVE-2026-23890

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

January 26, 2026 (updated January 29, 2026)

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.

References

  • github.com/advisories/GHSA-xpqm-wm3m-f34h
  • github.com/pnpm/pnpm
  • github.com/pnpm/pnpm/commit/8afbb1598445d37985d91fda18abb4795ae5062d
  • github.com/pnpm/pnpm/releases/tag/v10.28.1
  • github.com/pnpm/pnpm/security/advisories/GHSA-xpqm-wm3m-f34h
  • nvd.nist.gov/vuln/detail/CVE-2026-23890

Code Behaviors & Features

Detect and mitigate CVE-2026-23890 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 10.28.1

Fixed versions

  • 10.28.1

Solution

Upgrade to version 10.28.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-23: Relative Path Traversal

Source file

npm/pnpm/CVE-2026-23890.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:34:49 +0000.