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

CVE-2026-23889: pnpm has Windows-specific tarball Path Traversal

January 26, 2026 (updated January 29, 2026)

A path traversal vulnerability in pnpm’s tarball extraction allows malicious packages to write files outside the package directory on Windows. The path normalization only checks for ./ but not .\. On Windows, backslashes are directory separators, enabling path traversal.

This vulnerability is Windows-only.

References

  • github.com/advisories/GHSA-6x96-7vc8-cm3p
  • github.com/pnpm/pnpm
  • github.com/pnpm/pnpm/commit/6ca07ffbe6fc0e8b8cdc968f228903ba0886f7c0
  • github.com/pnpm/pnpm/releases/tag/v10.28.1
  • github.com/pnpm/pnpm/security/advisories/GHSA-6x96-7vc8-cm3p
  • nvd.nist.gov/vuln/detail/CVE-2026-23889

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/pnpm/CVE-2026-23889.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:23 +0000.