p PatchFirst

CVE-2026-23889

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

pnpm is a package manager. Prior to version 10.28.1, 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. This issue impacts Windows pnpm users and Windows CI/CD pipelines (GitHub Actions Windows runners, Azure DevOps). It can lead to overwriting `.npmrc`, build configs, or other files. Version 10.28.1 contains a patch.

CVSS 6.5 · Medium · EPSS 0.5% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • pnpm

    Versions
    • < 10.28.1: Affected

    No fix published

  • pnpm npm

    Affected ranges
    • SEMVER: < 10.28.1

    Update to 10.28.1

Original sources

Check your server →